Displaying 1 result from an estimated 1 matches for "maxper".
Did you mean:
mapper
2012 Mar 31
3
Samba LDAP Failover
...th
iptables -I OUTPUT -p tcp --dport 389 -d ldap1 -j REJECT #Simulates,
from the samba machine a failure in the service and, yes it is simple
plain ol' LDAP, no TLS
I get a timeout and an auth failure.
This is the way I reproduce the problem
#with the first ldap reachable
smbclient -L pdc-01 -U maxper
Password:
Domain: [XXXXXX]....
everything works fine
iptables -I OUTPUT -p tcp --dport 389 -j DROP
smbclient -L pdc-01 -U maxper
answers
session setup failed: NT_STATUS_LOGON_FAILURE
getent passwd works OK, gives both local and ldap users after the
timeout set in ldap.conf, while samba just drop...