I'm using 'winexe': https://sourceforge.net/projects/winexe/ but this repository, compiled against samba 4.5, and works like a charm: https://sourceforge.net/u/mstowe/winexe/ci/master/tree/ I've tried to recompile them against samba 4.8 (louis repo), and compile flawlessy, but if i try to run them: winexe[10549]: segfault at 138 ip 00007fb165a2f3a4 sp 00007ffdf432a880 error 4 in libcli-smb-common.so.0[7fb165a23000+2d000] There's something i can do to try to debug and fix this issue? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Hi Marco, winexe seems to be orphaned since 2013, so there is proably some compatibility issue. Nevertheless, Microsoft himself changed his mind and includes now sshd in Windows by default (you have to activate it). So you could use - as an alternative to winexe - ssh (by public key authentication) and use powershell or cmd for whatever you want. Hth, Oliver On 14.09.2018 19:22, Marco Gaiarin via samba wrote:> I'm using 'winexe': > > https://sourceforge.net/projects/winexe/ > > but this repository, compiled against samba 4.5, and works like a > charm: > > https://sourceforge.net/u/mstowe/winexe/ci/master/tree/ > > I've tried to recompile them against samba 4.8 (louis repo), and > compile flawlessy, but if i try to run them: > > winexe[10549]: segfault at 138 ip 00007fb165a2f3a4 sp 00007ffdf432a880 error 4 in libcli-smb-common.so.0[7fb165a23000+2d000] > > > There's something i can do to try to debug and fix this issue? > > > Thanks. >
On Fri, Sep 14, 2018 at 07:22:12PM +0200, Marco Gaiarin via samba wrote:> > I'm using 'winexe': > > https://sourceforge.net/projects/winexe/ > > but this repository, compiled against samba 4.5, and works like a > charm: > > https://sourceforge.net/u/mstowe/winexe/ci/master/tree/ > > I've tried to recompile them against samba 4.8 (louis repo), and > compile flawlessy, but if i try to run them: > > winexe[10549]: segfault at 138 ip 00007fb165a2f3a4 sp 00007ffdf432a880 error 4 in libcli-smb-common.so.0[7fb165a23000+2d000] > > > There's something i can do to try to debug and fix this issue?I have not used it, but this has been added recently to the Samba git tree. See here: https://git.samba.org/?p=samba.git;a=commitdiff;h=ffa1c040c625336209a6310e234f5087dd62e984 This is not part of a release yet, so you would need to look at the current master branch. Christof
Mandi! Oliver Rath via samba In chel di` si favelave...> winexe seems to be orphaned since 2013, so there is proably some > compatibility issue. Nevertheless, Microsoft himself changed his mind > and includes now sshd in Windows by default (you have to activate it). > So you could use - as an alternative to winexe - ssh (by public key > authentication) and use powershell or cmd for whatever you want.Ok, but for windows 10+, i'm still on win7, right? Or i can still install SSH in win 7, something like this? http://www.mcclellandlegge.com/2017-02-24-installsshd/ Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Mandi! Christof Schmitt via samba In chel di` si favelave...> I have not used it, but this has been added recently to the Samba git > tree. See here: https://git.samba.org/?p=samba.git;a=commitdiff;h=ffa1c040c625336209a6310e234f5087dd62e984 > This is not part of a release yet, so you would need to look at the > current master branch.WOW! Super! But i'm deeply ignorant on the samba build system. a) there's some way to (at least try to) compile that code against samba 4.8? o, i think 'or': b) there's some way to compile a 'static' winexe binary? I've tried to compile it, but with no luck. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)