Samba (problem with "password server =" line in smb.conf)

Акулов Алексей akulov-aa at
Fri Jan 22 07:24:54 MST 2010

Hello, dear developers!

We have the several problems with interaction between our Linux and Windows servers.

Description of problem:

There are three servers in our network:
 1). Red Hat Enterprise Linux 5.2 (64-bit) with shared folders for users of network (;
 2). Windows Server 2003 R2 (primary domain controller of AD) (;
 3). Windows Server 2003 R2 (secondary domain controller of AD) (;

 Configuration of /etc/samba/smb.conf-file:
 workgroup = AAA
 server string = srv-db
 netbios name = srv-db
 hosts allow = 192.168.0.
 security = server
 password server =
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 username map = /etc/samba/smbusers
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
When both of Windows domain controllers work successfully Samba-service on RHEL-server work good.
If (second server in configuration-file) is failed - Samba-service work good, 
but when (first server in configuration-file) is failed 
then the shared directories on RHEL-server will be unavailable for users.

There is information in Samba documentation that a "password server" line may be with several servers names or ips.

Couldn't you help us with this problem.

Thanks very much.


More information about the samba-technical mailing list