[Samba] LDAP problem, with samba and groups

Adam Tauno Williams adam at morrison-ind.com
Fri Dec 24 14:42:11 GMT 2004


> [2004/12/24 10:59:46, 0] lib/smbldap.c:smbldap_open_connection(545)
>   ldap_initialize: Time limit exceeded
> [2004/12/24 10:59:46, 1] lib/smbldap.c:another_ldap_try(936)
>   Connection to LDAP server failed for the 1 try!
> [2004/12/24 10:59:47, 0] lib/smbldap.c:smbldap_open_connection(545)
>   ldap_initialize: Time limit exceeded
> [2004/12/24 10:59:47, 1] lib/smbldap.c:another_ldap_try(936)
>   Connection to LDAP server failed for the 2 try!
> I think there is a problem that it takes to long for samba before they it get
> an answer back. 
> Any idea how to solve this? 
> Is there also an option to configure that ldap works faster? It seems that if
> users are member of 15 groups, ldap checks this groups and then give a OK
> sign to samba? 

Why not test your LDAP server with "ldapsearch"? (You didn't say what LDAP
server you are using).  If performance is bad, address that, which has nothing
to do with Samba.

Also test "id", make sure NSS is really working, and try using name service
caching if you aren't using the DSA via a domain socket.


More information about the samba mailing list