[Samba] Correct syntax for joining NT domain?
Andrew Bartlett
abartlet at pcug.org.au
Mon May 13 03:12:04 GMT 2002
Jim Watt wrote:
>
> On Sun, 12 May 2002, Andrew Bartlett wrote:
>
> } It is better to simply rejoin the domain from the unix command line:
> }
> } smbpasswd -j DOMAIN -r PDC -Uadministrator
>
> I tried that syntax from a Samba/2.2.4 FreeBSD installation. The attempt
> failed. I set the debug level to 10, and discovered that the connection
> attempt was being made to a completely bogus IP address! So I dropped
> the '-r PDC' argument, since it looked like the code in smbpasswd would
> figure out the PDC without specifying it. That worked fine! "nmblookup"
> has no difficulty resolving the PDC's name to its correct IP address.
>
> Some sort of bug lurks there... :)
Can you chase this up a bit more? Find where the bougs IP is coming
from etc?
I mention the '-r PDC' becouse it was required in previous versions -
which would otherwise default to localhost. As you state, in 2.2.4 we
now correctly find the PDC.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba
mailing list