OpenLDAP MD5 Authentication Issue

From: Peter Junker (pjunker@pjconsult.de)
Date: Tue Jun 07 2005 - 12:44:13 EDT


Hi all,

The MD5 password for rootdn and Manager were created
entering the same string at the password prompt of slappasswd and
saslpasswd respectively.

Upon issuing the command

ldapsearch -Y DIGEST-MD5 -U Manager@pete-mkiii -b dc=pjconsult,dc=de
4pjunker*4

I get follwing error message:

ldap_sasl_interactive_bind_s: Invalid credentials (49)
        additional info: SASL(-13): authentication failure: client
response doesn't match what we generated

Here are the snippets of my configuration:

sasldb:

user: Manager realm: pete-mkiii mech: DIGEST-MD5
user: Manager realm: pete-mkiii mech: PLAIN
user: Manager realm: pete-mkiii mech: CRAM-MD5

uid Mapping in /etc/ldap/openldap/slapd.conf

sasl-regexp uid=(.*),cn=pete-mkiii,cn=DIGEST-MD5,cn=auth
uid=$1,ou=People,dc=pjconsult,dc=de

sasl-regexp uid=(.*),cn=pete-mkiii,cn=DIGEST-MD5,cn=auth
uid=$1,dc=pjconsult,dc=de

rootdn "cn=Manager,dc=pjconsult,dc=de"

What is wrong here?

Many Thanks in Advance

Peter Junker

[demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:51 EDT