[Samba] Samba LDAP timeout

Adam Tauno Williams adam at morrison-ind.com
Wed Jul 6 15:59:50 GMT 2005


> It now works without SSL. With SSL is a different issue.
> [2005/07/06 10:48:24, 1] lib/smbldap.c:another_ldap_try(990)
>    Connection to LDAP server failed for the 10 try!
> [2005/07/06 10:48:25, 1] lib/smbldap.c:another_ldap_try(990)
>    Connection to LDAP server failed for the 11 try!
> [2005/07/06 10:48:26, 1] lib/smbldap.c:another_ldap_try(990)
>    Connection to LDAP server failed for the 12 try!
> [2005/07/06 10:48:27, 1] lib/smbldap.c:another_ldap_try(990)
>    Connection to LDAP server failed for the 13 try!
> [2005/07/06 10:48:29, 0] lib/smbldap.c:smbldap_search_suffix(1155)
>    smbldap_search_suffix: Problem during the LDAP search: (unknown) 
> (Timed out)
> It appears that SSL may not be compiled into Samba, as there is no 
> libssl.so listing in "ldd /usr/sbin/smbd". While I could compile from 
> source, this would slightly complicate long term maitenance of the 
> server. Does anyone have advice for using SSL with Samba/LDAP on Ubuntu 
> Hoary?

I've never used Ubuntu;  but I'd be surprised your Samba is really built
without SSL support,  in fact,  I think it is really your libldap that
is in question.   

Are you setting " ldap ssl = start_tls" ???  Don't use an "ldaps:///"
URL.

If you LDAP server is local just use ldapi:/// with is faster anyway and
you don't need any encryption.



More information about the samba mailing list