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

Gonzalo Servat gonzalo at linuxaus.com
Tue Mar 12 02:29:03 GMT 2002


Stupid question but can you confirm the server is running ?? (telnet
localhost 389)

Also, try changing 'localhost' to '127.0.0.1'

HTH


On Fri, 2002-03-08 at 21:20, Peter wrote:
> 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/
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20020312/509bef08/attachment.bin


More information about the samba mailing list