I am trying to complete a poc which needs linux server to connect to MS AD and authenticate using domain creds. After some reference, I felt samba would do good here and so I have installed and configured samba on the linux server.
Whenever I do net ads join -U administrator, it throws the following error.
Host is not configured as a member server.
Invalid configuration. Exiting....
Failed to join domain: This operation is only allowed for the PDC of the domain.
Please let me know where I am going wrong.
Some month ago I tried to solve this problem - it was a nightmare... Yesterday, I started again to try to join Linux to the Domain Controller - and following the steps described here: http://koo.fi/blog/2015/06/16/ubuntu-14-04-active-directory-authentication/ worked perfectly. After those steps, Linux was able to authenticate all AD Users :-)