This is a discussion on [Samba] smbclient fails when LDAP server is down within the Samba forums, part of the Networking and Network Related category; Hi all, =20 I=B4m having some trouble setting up a samba failover scenario. This is what I=92ve done: =...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
=20 I=B4m having some trouble setting up a samba failover scenario. This is what I=92ve done: =20 Subnet 192.168.1.0 -> Samba PDC e Samba BDC Subnet 192.168.20.0 -> LDAP Master e LDAP Slave =20 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=B4t = login. The logs show me the following info after I try the command: =20 smbclient -U adurelli -L dme1372 Password: session setup failed: NT_STATUS_LOGON_FAILURE =20 [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 =3D 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. =20 Can anyone help?? =20 Anderson Stano Durelli Engenheiro da Computa=E7=E3o <mailto:adurelli@dmepc.com.br> adurelli@dmepc.com.br _____ =20 Departamento Municipal de Eletricidade de Po=E7os de Caldas Ger=EAncia de Tecnologia da Informa=E7=E3o Po=E7os de Caldas - MG Cel.: (35)9822-8045 Tel.: (35)3697-3002=20 =20 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |