[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: samba ldap



The log from samba says ldap: where's your test command says ldaps: maybe try ldap: from test command in case you only listen for ssl?

On 27/10/2009, at 7:28 PM, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:

Hi,

I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
and ldap works perfectly fine.
I have issues with connecting to ldap from samba.

I get

[2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
Connection to LDAP server failed for the 9 try!
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
smbldap_open_connection: connection opened
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_connect_system(982)
failed to bind to server ldap://localhost/ with
dn="cn=admin,dc=mt,dc=webaroo,dc=com" Error: Can't contact LDAP server
     (unknown)

I have ldapserver running on the same server as samba server is
running. when i run ldapsearch -x -H ldaps://localhost. I am able to
see the user details.
Please let me know if anyone needs configs and additional information.
Also when i run smbldap-populate, i get
http://paste.ubuntu.com/302630/

Thanks,

Kaushal