[Samba] net ads join fails when specifying domain controller

John Hixson john at ixsystems.com
Fri Jan 16 20:37:53 MST 2015


I am seeing in some folks Active Directory environments where specifying
a domain controller with the net ads join command fails. It will work
when not specifying a domain controller. For instance:

net -k ads join FOO.COM -S DC.FOO.COM  # fails

net -k ads join FOO.COM # works

The fail message is:

Failed to join domain: failed to lookup DC info for domain 'FOO.COM' over rpc: Logon failure

When successful, the same domain controller that fails when specified,
is actually the domain controller that is picked by the net ads join!

Any ideas here? I'm stumped.

- John


More information about the samba mailing list