patch to fix "net -P" in non-ADS environments

Ronan Waide waider at
Sun Mar 12 17:03:28 GMT 2006

On March 12, Volker.Lendecke at SerNet.DE said:
> So I'd like to leave the code as it is for now until a
> proper fix is around. Maybe this is just another push
> towards porting gensec from Samba4 :-)

No worries; my testing environment is pretty restricted so I'm not too
surprised that I missed some stuff. Might I suggest that the use of
the -P option not override the username provided by a -U parameter?
This would at least allow doing something like 'net -U machine$ -P
netcommand' to work around the fact that right now the -P option is
simply of no use in a non-ADS environment.

waider at / Yes, it /is/ very personal of me.

"the good thing about [being 30] is that you don't really have another birthday
 for 10 years now..." - John Kennedy

More information about the samba-technical mailing list