[Samba] Bind failed: Can't contact LDAP server

Peter sleepy_nuggets at yahoo.com
Fri Mar 8 02:27:04 GMT 2002


With 3.0a15, samba can't seem to connect to the ldap
server. AFAIK the ldap server is working correctly --
it currently authenticates some users for apache. 

My smb.conf contains this:
--[snip]--------------------------

ldap server = localhost
ldap port = 389
ldap suffix = "dc=calmiron, dc=com"
ldap admin dn = "cn=Manager, dc=calmiron, dc=com"
use spnego=no

---[snip]-------------------------------------

I set the admin password with smbpasswd -w,
which successfully stores it in secrets.tdb

Then I try to add a user:
# smbpasswd -D 256 -a jaime
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as
"cn=Manager, dc=calmiron, dc=com"
Bind failed: Can't contact LDAP server
pdb_set_username: setting username jaime, was
tdb(unknown): tdb_brlock failed (fd=4) at offset 4
rw_type=3 lck_type=8
account_policy_get: maximum password age:1814400
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as
"cn=Manager, dc=calmiron, dc=com"
Bind failed: Can't contact LDAP server
Failed to add entry for user jaime.
Failed to modify password entry for user jaime

thanks, 

Sn

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/




More information about the samba mailing list