[Samba] samba 2 smbpasswd + ldap - not binding properly
Bruno Guerreiro
bruno.guerreiro at ine.pt
Wed Feb 2 12:51:25 GMT 2005
Hi,
The problem isn't the authentication, as the server can't even connect to
the LDAP server to try to authenticate.
Is your passdb backend correctly defined?
Best Regards,
Bruno Guerreiro
-----Original Message-----
From: Tyler R. Retzlaff [mailto:rtr at myinternet.com.au]
Sent: terça-feira, 1 de Fevereiro de 2005 23:15
To: samba at lists.samba.org
Subject: [Samba] samba 2 smbpasswd + ldap - not binding properly
I've been having difficulty getting smbpasswd -a working as follows.
wiggum:/etc# smbpasswd -D 10 -a rtr
New SMB password:
Retype new SMB password:
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as "cn=manager,dc=test,dc=net"
Bind failed: Can't contact LDAP server
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as "cn=manager,dc=test,dc=net"
Bind failed: Can't contact LDAP server
Failed to add entry for user rtr.
Failed to modify password entry for user rtr
Now it clearly says it's binding as "cn=manager,dc=test,dc=net". But
according to the ldap server debug info I see the following two binds.
During the smbpasswd -a neither of which is cn=manager.
do_bind: version=3 dn="cn=nss,dc=test,dc=net" method=128
do_bind: v3 bind: "cn=nss,dc=test,dc=net" to "cn=nss,dc=test,dc=net"
My smb.conf looks like this:
ldap admin dn = cn=manager,dc=test,dc=net
ldap server = ldap.test.net
ldap suffix = ou=People,dc=test,dc=net
So is smbpasswd ignoring it? Just a note cn=nss comes from my
libnss_ldap.conf so it's possible what I'm really seeing is the bind for nss
lookup of the the passwd entry and smbpasswd isn't attempting to bind at
all..
I've been scanning the samba list for days and haven't seen any solutions,
so
if someone could help me out I would appreciate it.
Thanks
--
Tyler R. Retzlaff <rtr at myinternet.com.au>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list