wintest for testing Samba against windows

Sam Liddicott sam at liddicott.com
Wed Nov 24 08:16:59 MST 2010


On 24/11/10 11:34, Sam Liddicott wrote:
>
> On 19/11/10 05:25, tridge wrote:
>> I've been working on a new test system for Samba called
>> 'wintest'. I've recently pushed it into master in the wintest top
>> level directory.
>> ....
>
> I suppose you have also thought of using winexe which perhaps doesn't 
> even require the telnet to be installed.
> It sounds a useful way to both deploy and run windows-side test code.
>
> By deploying netcat or a ssh or telnet server, you can reduce the 
> pre-requisites for testing.
> nc --l --p [LocalPort] --e /cmd/./exe/
>
> I note that the winexe site shows nothing now 
> (http://eol.ovh.org/winexe/) but seems to be a page at sourceforge: 
> http://sourceforge.net/projects/winexe/
>

In fact, this works perhaps as well as telnet but doesn't require 
telnetd to be installed:

|winexe --system -U 'MYDOMAIN\Administrator' --password='...' //mydc 
cmd.exe|

Although I've not been able to get UI applications to run on the console 
desktop like sysinternals psexec can.

Sam

-- 
[FSF Associate Member #2325] 
<http://www.fsf.org/register_form?referrer=2325>

<http://www.openrightsgroup.org/>


More information about the samba-technical mailing list