[Samba] 3.0.0 rc4 /LDAP problem

Mark mark at co.robeson.nc.us
Tue Sep 30 15:25:57 GMT 2003


Hi all-

 

I've configured samba (3.0.0 rc4) with ldap (openldap 2.0.27-8) (and
when testing using 'net groupmap list' I'm getting the following errors:

 

Failed to bind to server with dn= cn=Manager,dc=my-domain,dc=org Error
Can't contact LDAP server (unknown)

Lib/smbldap.c:smbldap_search(924) smbldap_search: LDAP server is down!

Passdb/pdb_ldap.c: ldapsam_setsamgrent(2048) ldapsam_setsamgrent: LDAP
search failed: Can't contact LDAP server

 

Etc., etc.

 

Slapd is running, and I'm able to add entries to the ldap server using
both ldapadd and smbldap-useradd.pl, I can also connect via phpLDAPAdmin
all with the same credentials.  I've tried uninstalling samba and
openldap and starting from scratch, but it doesn't seem to help.

 

I've done most of the configuration (aside from a bit of tweaking for
samba3) using the Samba-LDAP-PDC howto from Idealx.  I don't seem to be
getting any errors anywhere but when I try to do anything through samba.
I've added the ldap admin dn password (smbpasswd -w) and now I'm stuck.

 

Any help would be greatly appreciated, if I haven't provided enough
information, please let me know.

 

Thanks,

mark




More information about the samba mailing list