Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a network, there are 2 AD servers. We are integrating samba and squid with AD for user authentication. Interestingly one of the servers does not allow us for enough security level. So we have to use one of them. In spite of using IP and realm of the working server, winbind/samba may choose to use other. We can examine this situation with "net ads info".

Is there any way to ping samba to use single server as AD and password server and not to allow chosing others in the AD pool?

share|improve this question

You can use this directive in smb.conf in [Global] section :

password server = SERVER_AD.domain.tld

This will force Samba to use a specific Server to validate username/password authentication.

share|improve this answer
This setting is already added but does not work. – seaquest Jan 9 '14 at 14:43
What makes you think that it does not work ? – krisFR Jan 9 '14 at 15:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.