Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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.

http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#PASSWORDSERVER

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

Your Answer

 
discard

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.