[Samba] Re: [3.0.25] "net ads join" problems

Jeremy Allison jra at samba.org
Thu Jul 19 18:27:49 GMT 2007


On Thu, Jul 19, 2007 at 12:22:03PM +0200, Bernd Schubert wrote:
> On Thursday 19 July 2007 08:31:32 Warren Beldad wrote:
> > its because you did not provide the username thats why it connects using
> > root..
> > you can specify the username using the -U option and add the password
> > directly using..
> >
> > net ads join -Uusername%password
> 
> No, it doesn't try to connect as root, but as host-ha-test-1, I still do not 
> understand whats the magic behind that, but I guess it gets this name from 
> the ads server.
> 
> See the patch in the other mail which gets its working, or here is the link
> 
> 
> http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/samba/net.patch

This has already been fixed differently in the SAMBA_3_2_0 tree - look
at the const char *net_prompt_pass(const char *user) function.

Can you try a back-port of this for 3.0.25 ? Jerry needs to make
the final decision on whether this should be done for 3.0.25c I
think.

Jeremy.


More information about the samba mailing list