Samba

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • psexec for Linux and svcctl.idl changes

    21 answers - 920 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I am not a regular samba developer, but I wanted to have psexec
    equivalent, so I wrote it, it works but still need some development.
    I do not know if patches of such sizes (about 30k) are welcome on
    this list so I've put it on web page, with some description:
    http://eol.ovh.org/winexe/
    Comments welcome.
    Hi, this is really great, you can get Windows command line (cmd) in your
    Linux shell:
    [tch@tomek Desktop]$ uname -r
    2.6.16-1mdk
    [tch@tomek Desktop]$ ./winexe -W LAPTK -U Administrator
    //192.168.151.11 "cmd.exe"
    Password for [LAPTK\Administrator]:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\WINDWS\system32>ver
    ver
    Microsoft Windows XP [Version 5.1.2600]
    C:\WINDWS\system32>
    I'm sending this also to samba list, this tool has been very often
    requested on various Samba groups.
  • No.1 | | 1269 bytes | |

    Thu, Jul 06, 2006 at 11:33:57AM +0200, Tomasz Chmielewski wrote:
    >I am not a regular samba developer, but I wanted to have psexec
    >equivalent, so I wrote it, it works but still need some development.
    >I do not know if patches of such sizes (about 30k) are welcome on
    >this list so I've put it on web page, with some description:
    >http://eol.ovh.org/winexe/
    >Comments welcome.


    Hi, this is really great, you can get Windows command line (cmd) in your
    Linux shell:

    [tch@tomek Desktop]$ uname -r
    2.6.16-1mdk
    [tch@tomek Desktop]$ ./winexe -W LAPTK -U Administrator
    //192.168.151.11 "cmd.exe"
    Password for [LAPTK\Administrator]:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\WINDWS\system32>ver
    ver

    Microsoft Windows XP [Version 5.1.2600]

    C:\WINDWS\system32>

    I'm sending this also to samba list, this tool has been very often
    requested on various Samba groups.

    Tomasz, can you please post this patch to the samba-technical
    list rather than leaving it on a web page. That way it's unambiguous
    that you want to donate it to Samba under the GPL.

    Thanks,

    Jeremy.
  • No.2 | | 376 bytes | |

    Thu, 2006-07-06 at 09:05 -0700, Jeremy Allison wrote:

    Tomasz, can you please post this patch to the samba-technical
    list rather than leaving it on a web page. That way it's unambiguous
    that you want to donate it to Samba under the GPL.

    Jeremy, the author is andrzej.hajda at wp.pl, you should probably ask
    him, not Thomas.

    See:

    Simo.
  • No.3 | | 577 bytes | |

    Jeremy Allison wrote:

    ()

    >I'm sending this also to samba list, this tool has been very often
    >requested on various Samba groups.


    Tomasz, can you please post this patch to the samba-technical
    list rather than leaving it on a web page. That way it's unambiguous
    that you want to donate it to Samba under the GPL.

    I meant (sending) the announcement (to samba list), because originally
    it was only sent to samba-technical.

    The author (Andrzej Hajda) sent the patch to samba-technical already:
  • No.4 | | 1280 bytes | |

    Thu, Jul 06, 2006 at 11:33:57AM +0200, Tomasz Chmielewski wrote:
    >I am not a regular samba developer, but I wanted to have psexec
    >equivalent, so I wrote it, it works but still need some development.
    >I do not know if patches of such sizes (about 30k) are welcome on
    >this list so I've put it on web page, with some description:
    >http://eol.ovh.org/winexe/
    >Comments welcome.


    Hi, this is really great, you can get Windows command line (cmd) in your
    Linux shell:

    [tch@tomek Desktop]$ uname -r
    2.6.16-1mdk
    [tch@tomek Desktop]$ ./winexe -W LAPTK -U Administrator
    //192.168.151.11 "cmd.exe"
    Password for [LAPTK\Administrator]:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\WINDWS\system32>ver
    ver

    Microsoft Windows XP [Version 5.1.2600]

    C:\WINDWS\system32>

    I'm sending this also to samba list, this tool has been very often
    requested on various Samba groups.

    Tomasz, can you please post this patch to the samba-technical
    list rather than leaving it on a web page. That way it's unambiguous
    that you want to donate it to Samba under the GPL.

    Thanks,

    Jeremy.
  • No.5 | | 930 bytes | |

    Thu, Jul 06, 2006 at 06:44:18PM +0200, Tomasz Chmielewski wrote:
    Jeremy Allison wrote:

    ()

    >>I'm sending this also to samba list, this tool has been very often
    >>requested on various Samba groups.

    >
    >Tomasz, can you please post this patch to the samba-technical
    >list rather than leaving it on a web page. That way it's unambiguous
    >that you want to donate it to Samba under the GPL.


    I meant (sending) the announcement (to samba list), because originally
    it was only sent to samba-technical.

    The author (Andrzej Hajda) sent the patch to samba-technical already:

    No, he sent a link to his web page to Samba technical already.
    I haven't seen the patch on samba-technical, that's what we need
    to see in order to be able to accept it.

    Thanks,

    Jeremy.
  • No.6 | | 919 bytes | |

    Thu, Jul 06, 2006 at 06:44:18PM +0200, Tomasz Chmielewski wrote:
    Jeremy Allison wrote:

    ()

    >>I'm sending this also to samba list, this tool has been very often
    >>requested on various Samba groups.

    >
    >Tomasz, can you please post this patch to the samba-technical
    >list rather than leaving it on a web page. That way it's unambiguous
    >that you want to donate it to Samba under the GPL.


    I meant (sending) the announcement (to samba list), because originally
    it was only sent to samba-technical.

    The author (Andrzej Hajda) sent the patch to samba-technical already:

    No, he sent a link to his web page to Samba technical already.
    I haven't seen the patch on samba-technical, that's what we need
    to see in order to be able to accept it.

    Thanks,

    Jeremy.
  • No.7 | | 1743 bytes | |

    Thu, 2006-07-06 at 10:10 -0700, Jeremy Allison wrote:
    Thu, Jul 06, 2006 at 06:44:18PM +0200, Tomasz Chmielewski wrote:
    Jeremy Allison wrote:

    ()

    >>I'm sending this also to samba list, this tool has been very often
    >>requested on various Samba groups.

    >
    >Tomasz, can you please post this patch to the samba-technical
    >list rather than leaving it on a web page. That way it's unambiguous
    >that you want to donate it to Samba under the GPL.


    I meant (sending) the announcement (to samba list), because originally
    it was only sent to samba-technical.

    The author (Andrzej Hajda) sent the patch to samba-technical already:

    No, he sent a link to his web page to Samba technical already.
    I haven't seen the patch on samba-technical, that's what we need
    to see in order to be able to accept it.
    He did send the diff to the IDL file, which I've just applied.

    However, I'm not too keen on putting in the winexe patch (at least not
    in the current state I think linking a Windows binary into Samba is a
    very very bad idea.

    Also, there are also other minor issues:

    * Code style
    * Use of // for comments
    * Use of manually written prototypes in the C files
    * Use of direct headers (<termios.h>, etc) instead of <system/xx.h>
    * CamelCasing
    * The Windows code should (imho) go in some different place
    * Even /if/ we did think including a .exe in Samba was ok, 'winexe'
    should be made optional because we don't want to require people to
    install MSVC in order to build Samba.

    Cheers,

    Jelmer
  • No.8 | | 1040 bytes | |

    Thu, Jul 06, 2006 at 07:30:06PM +0200, Jelmer Vernooij wrote:

    He did send the diff to the IDL file, which I've just applied.

    Yes I saw that.

    However, I'm not too keen on putting in the winexe patch (at least not
    in the current state I think linking a Windows binary into Samba is a
    very very bad idea.

    Indeed :-).

    Also, there are also other minor issues:

    * Code style
    * Use of // for comments
    * Use of manually written prototypes in the C files
    * Use of direct headers (<termios.h>, etc) instead of <system/xx.h>
    * CamelCasing
    * The Windows code should (imho) go in some different place
    * Even /if/ we did think including a .exe in Samba was ok, 'winexe'
    should be made optional because we don't want to require people to
    install MSVC in order to build Samba.

    These are minor things we can easily fix. I just don't want
    this to get lost as it looks to provide significant functionality
    for people.

    Jeremy.
  • No.9 | | 1743 bytes | |

    Thu, 2006-07-06 at 10:10 -0700, Jeremy Allison wrote:
    Thu, Jul 06, 2006 at 06:44:18PM +0200, Tomasz Chmielewski wrote:
    Jeremy Allison wrote:

    ()

    >>I'm sending this also to samba list, this tool has been very often
    >>requested on various Samba groups.

    >
    >Tomasz, can you please post this patch to the samba-technical
    >list rather than leaving it on a web page. That way it's unambiguous
    >that you want to donate it to Samba under the GPL.


    I meant (sending) the announcement (to samba list), because originally
    it was only sent to samba-technical.

    The author (Andrzej Hajda) sent the patch to samba-technical already:

    No, he sent a link to his web page to Samba technical already.
    I haven't seen the patch on samba-technical, that's what we need
    to see in order to be able to accept it.
    He did send the diff to the IDL file, which I've just applied.

    However, I'm not too keen on putting in the winexe patch (at least not
    in the current state I think linking a Windows binary into Samba is a
    very very bad idea.

    Also, there are also other minor issues:

    * Code style
    * Use of // for comments
    * Use of manually written prototypes in the C files
    * Use of direct headers (<termios.h>, etc) instead of <system/xx.h>
    * CamelCasing
    * The Windows code should (imho) go in some different place
    * Even /if/ we did think including a .exe in Samba was ok, 'winexe'
    should be made optional because we don't want to require people to
    install MSVC in order to build Samba.

    Cheers,

    Jelmer
  • No.10 | | 1051 bytes | |

    Thu, Jul 06, 2006 at 07:30:06PM +0200, Jelmer Vernooij wrote:

    He did send the diff to the IDL file, which I've just applied.

    Yes I saw that.

    However, I'm not too keen on putting in the winexe patch (at least not
    in the current state I think linking a Windows binary into Samba is a
    very very bad idea.

    Indeed :-).

    Also, there are also other minor issues:

    * Code style
    * Use of // for comments
    * Use of manually written prototypes in the C files
    * Use of direct headers (<termios.h>, etc) instead of <system/xx.h>
    * CamelCasing
    * The Windows code should (imho) go in some different place
    * Even /if/ we did think including a .exe in Samba was ok, 'winexe'
    should be made optional because we don't want to require people to
    install MSVC in order to build Samba.

    These are minor things we can easily fix. I just don't want
    this to get lost as it looks to provide significant functionality
    for people.

    Jeremy.
  • No.11 | | 458 bytes | |

    Thu, Jul 06, 2006 at 10:52:18PM +0200, AH wrote:

    Thanks for comments.
    I am still working on winexe, for now I publish code on
    http://eol.ovh.org/winexe/.

    Thanks, but we shouldn't pick your code up from a website,
    we need to have it donated by posting to the list.

    If people on this list are interested I can send info about progress, or
    even post patches.

    That would be great - thanks !

    Jeremy.
  • No.12 | | 447 bytes | |

    Thu, Jul 06, 2006 at 10:52:18PM +0200, AH wrote:

    Thanks for comments.
    I am still working on winexe, for now I publish code on
    http://eol.ovh.org/winexe/.

    Thanks, but we shouldn't pick your code up from a website,
    we need to have it donated by posting to the list.

    If people on this list are interested I can send info about progress, or
    even post patches.

    That would be great - thanks !

    Jeremy.
  • No.13 | | 1671 bytes | |

    Jelmer Vernooij:
    However, I'm not too keen on putting in the winexe patch (at least not
    in the current state I think linking a Windows binary into Samba is a
    very very bad idea.

    Also, there are also other minor issues:

    * Code style
    * Use of // for comments
    * Use of manually written prototypes in the C files
    * Use of direct headers (<termios.h>, etc) instead of <system/xx.h>
    * CamelCasing
    * The Windows code should (imho) go in some different place
    * Even /if/ we did think including a .exe in Samba was ok, 'winexe'
    should be made optional because we don't want to require people to
    install MSVC in order to build Samba.

    Thanks for comments.
    I am still working on winexe, for now I publish code on
    http://eol.ovh.org/winexe/.
    If people on this list are interested I can send info about progress, or
    even post patches.

    course I agree about style and others ( I need to find out how to
    make prototypes auto generated).
    Many things I will correct by myself, but for many I need advice, I hope
    to find it on this list.

    About compiling windows code - I have never used MSVC to compile it, at
    the beginning I've used Cygwin,
    but now I compile everything in Linux. course I have installed
    crosscompiler, below list of rpm packages (PLD distro):
    crossmingw32-gcc-c3.4.3-4
    crossmingw32-runtime-3.7-1
    crossmingw32-gcc-3.4.3-4
    crossmingw32-w32api-3.2-1

    So this is some dependency, but not such big as MSVC :)

    And about integrating it with samba - it would be nice, we can work on it :)

    Andrzej Hajda
  • No.14 | | 770 bytes | |

    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?

    Cheers, henrik
    6 jul 2006 kl. 23:05 skrev Jeremy Allison:

    Thu, Jul 06, 2006 at 10:52:18PM +0200, AH wrote:

    >Thanks for comments.
    >I am still working on winexe, for now I publish code on
    >http://eol.ovh.org/winexe/.
    >

    Thanks, but we shouldn't pick your code up from a website,
    we need to have it donated by posting to the list.
    >
    >If people on this list are interested I can send info about
    >progress, or
    >even post patches.
    >

    That would be great - thanks !

    Jeremy.
  • No.15 | | 770 bytes | |

    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?

    Cheers, henrik
    6 jul 2006 kl. 23:05 skrev Jeremy Allison:

    Thu, Jul 06, 2006 at 10:52:18PM +0200, AH wrote:

    >Thanks for comments.
    >I am still working on winexe, for now I publish code on
    >http://eol.ovh.org/winexe/.
    >

    Thanks, but we shouldn't pick your code up from a website,
    we need to have it donated by posting to the list.
    >
    >If people on this list are interested I can send info about
    >progress, or
    >even post patches.
    >

    That would be great - thanks !

    Jeremy.
  • No.16 | | 374 bytes | |

    Thu, Jul 06, 2006 at 11:27:55PM +0200, Henrik Zagerholm wrote:
    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?

    Yes it would be quite easy, but AH needs to post his patch
    to the list so we can work on it first.

    Thanks,

    Jeremy.
  • No.17 | | 363 bytes | |

    Thu, Jul 06, 2006 at 11:27:55PM +0200, Henrik Zagerholm wrote:
    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?

    Yes it would be quite easy, but AH needs to post his patch
    to the list so we can work on it first.

    Thanks,

    Jeremy.
  • No.18 | | 1660 bytes | |

    Jelmer Vernooij:
    However, I'm not too keen on putting in the winexe patch (at least not
    in the current state I think linking a Windows binary into Samba is a
    very very bad idea.

    Also, there are also other minor issues:

    * Code style
    * Use of // for comments
    * Use of manually written prototypes in the C files
    * Use of direct headers (<termios.h>, etc) instead of <system/xx.h>
    * CamelCasing
    * The Windows code should (imho) go in some different place
    * Even /if/ we did think including a .exe in Samba was ok, 'winexe'
    should be made optional because we don't want to require people to
    install MSVC in order to build Samba.

    Thanks for comments.
    I am still working on winexe, for now I publish code on
    http://eol.ovh.org/winexe/.
    If people on this list are interested I can send info about progress, or
    even post patches.

    course I agree about style and others ( I need to find out how to
    make prototypes auto generated).
    Many things I will correct by myself, but for many I need advice, I hope
    to find it on this list.

    About compiling windows code - I have never used MSVC to compile it, at
    the beginning I've used Cygwin,
    but now I compile everything in Linux. course I have installed
    crosscompiler, below list of rpm packages (PLD distro):
    crossmingw32-gcc-c3.4.3-4
    crossmingw32-runtime-3.7-1
    crossmingw32-gcc-3.4.3-4
    crossmingw32-w32api-3.2-1

    So this is some dependency, but not such big as MSVC :)

    And about integrating it with samba - it would be nice, we can work on it :)

    Andrzej Hajda
  • No.19 | | 512 bytes | |

    Thu, 2006-07-06 at 21:33 +0000, an unknown sender wrote:
    Thu, Jul 06, 2006 at 11:27:55PM +0200, Henrik Zagerholm wrote:
    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?

    Yes it would be quite easy, but AH needs to post his patch
    to the list so we can work on it first.

    Thanks,

    Jeremy.
    Question,

    Has there been and further work on this or is it dead?

    thanks
  • No.20 | | 924 bytes | |

    I am currently trying to implement a CreateService() call in Samba 3;
    this is all what's left for a writing a psexec clone.

    Kinda stuck. will appreciate help though :)

    Danny.

    David Fischer (DHL US) wrote:

    Thu, 2006-07-06 at 21:33 +0000, an unknown sender wrote:

    >Thu, Jul 06, 2006 at 11:27:55PM +0200, Henrik Zagerholm wrote:
    >

    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?

    >Yes it would be quite easy, but AH needs to post his patch
    >to the list so we can work on it first.
    >>

    >Thanks,
    >>

    >Jeremy.
    >

    Question,

    Has there been and further work on this or is it dead?

    thanks
    --
  • No.21 | | 789 bytes | |

    http://eol.ovh.org/winexe/
    11 apr 2007 kl. 18:02 skrev David Fischer ((DHL US)):

    Thu, 2006-07-06 at 21:33 +0000, an unknown sender wrote:
    >Thu, Jul 06, 2006 at 11:27:55PM +0200, Henrik Zagerholm wrote:

    Hi and thanks AH for a very good initiative of building this kind of
    tool.
    I just wonder if it would be possible to port this to the SAMBA 3
    branch?
    >>

    >Yes it would be quite easy, but AH needs to post his patch
    >to the list so we can work on it first.
    >>

    >Thanks,
    >>

    >Jeremy.

    Question,

    Has there been and further work on this or is it dead?

    thanks
    --

Re: psexec for Linux and svcctl.idl changes


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Samba"

EMSDN.COM