[Samba] smbclient fails when LDAP server is down
Anderson Stano
adurelli at dme-pc.com.br
Wed Apr 22 14:07:15 GMT 2009
Hi all,
I´m having some trouble setting up a samba failover scenario.
This is what Ive done:
Subnet 192.168.1.0 -> Samba PDC e Samba BDC
Subnet 192.168.20.0 -> LDAP Master e LDAP Slave
If all servers are up I can login to domain. If I put the LDAP Master
service down I am still able to login from the Slave LDAP. But if the server
where the master LDAP is installed is down (unreachable) I can´t login. The
logs show me the following info after I try the command:
smbclient -U adurelli -L dme1372
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[2009/04/22 10:49:55, 10] lib/smbldap.c:smb_ldap_setup_conn(566)
smb_ldap_setup_connection: ldap://ldap1.dmepc.com.br
ldap://ldap2.dmepc.com.br
[2009/04/22 10:49:55, 2] lib/smbldap.c:smbldap_open_connection(722)
smbldap_open_connection: connection opened
[2009/04/22 10:49:55, 10] lib/smbldap.c:smbldap_connect_system(862)
ldap_connect_system: Binding to ldap server ldap://ldap1.dmepc.com.br
ldap://ldap2.dmepc.com.br
[2009/04/22 10:49:58, 3] lib/smbldap.c:smbldap_connect_system(905)
ldap_connect_system: succesful connection to the LDAP server
ldap_connect_system: LDAP server does support paged results
[2009/04/22 10:49:58, 4] lib/smbldap.c:smbldap_open(969)
The LDAP server is succesfully connected
[2009/04/22 10:49:58, 0] lib/smbldap.c:smbldap_search_suffix(1346)
smbldap_search_suffix: Problem during the LDAP search: (Time limit
exceeded)
[2009/04/22 10:49:58, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/04/22 10:49:58, 3] auth/auth_sam.c:check_sam_security(264)
check_sam_security: Couldn't find user 'adurelli' in passdb.
Can anyone help??
Anderson Stano Durelli
Engenheiro da Computação
<mailto:adurelli at dmepc.com.br> adurelli at dmepc.com.br
_____
Departamento Municipal de Eletricidade de Poços de Caldas
Gerência de Tecnologia da Informação
Poços de Caldas - MG
Cel.: (35)9822-8045
Tel.: (35)3697-3002
More information about the samba
mailing list