[Samba] SAMBA/PDC + LDAP HELP please?

Ryan Braun [ADS] ryan.braun at ec.gc.ca
Thu Oct 6 15:43:42 GMT 2005


On October 5, 2005 06:28 pm, Ryan Taylor wrote:

Error 49 from the slapd docs is an invalid credentials error.  So you're 
problem will be in the libnss config file /etc/ldap.conf not 
in /etc/ldap/ldap.conf.  Check to make sure that both binddn and rootdn are 
defined in the file and make sure that you have the proper rootdn password 
in /etc/ldap.secret ie.

binddn cn=nss,ou=Admins,dc=x
bindpw ldap

rootbinddn cn=root,dc=x

You can also run ethereal to see what is getting sent down the wire as long as 
you turn ssl/tls off.  It's pretty handy for figuring out stuff like this 
out.

Ryan




> More information... below is my log after running "getent group | grep
> Domain"
> thank you -ryan
>
> Oct 5 19:25:04 beefylinux slapd[3320]: conn=0 fd=11 ACCEPT from IP=
> 127.0.0.1:32894 <http://127.0.0.1:32894>
> (IP=0.0.0.0:389<http://0.0.0.0:389> )
> Oct 5 19:25:04 beefylinux slapd[3320]: conn=0 op=0 BIND
> dn="cn=Manager,ou=DSA,dc=beefylinux,dc=com" method=128
> Oct 5 19:25:04 beefylinux slapd[3320]: conn=0 op=0 RESULT tag=97 err=49
> text=
> Oct 5 19:25:04 beefylinux slapd[3320]: conn=0 op=1 UNBIND
> Oct 5 19:25:04 beefylinux slapd[3320]: conn=0 fd=11 closed
> Oct 5 19:26:38 beefylinux slapd[3320]: conn=1 fd=11 ACCEPT from IP=
> 127.0.0.1:32895 <http://127.0.0.1:32895>
> (IP=0.0.0.0:389<http://0.0.0.0:389> )
> Oct 5 19:26:38 beefylinux slapd[3320]: conn=1 op=0 BIND
> dn="cn=Manager,ou=DSA,dc=beefylinux,dc=com" method=128
> Oct 5 19:26:38 beefylinux slapd[3320]: conn=1 op=0 RESULT tag=97 err=49
> text=
> Oct 5 19:26:38 beefylinux slapd[3320]: conn=1 op=1 UNBIND
> Oct 5 19:26:38 beefylinux slapd[3320]: conn=1 fd=11 closed


More information about the samba mailing list