I am having a strange problem here, which at least I can't make any sense
from. Here's the situation:

I add an entry to my OpenLDAP directory
I successfully authenticate using ldapdb and the sample-server|client tools:

[EMAIL PROTECTED] ~]# sasl2-sample-client -s rcmd -p 1234 -m PLAIN localhost
receiving capability list... recv: {41}
PLAIN LOGIN CRAM-MD5 ANONYMOUS DIGEST-MD5
PLAIN LOGIN CRAM-MD5 ANONYMOUS DIGEST-MD5
please enter an authentication id: [EMAIL PROTECTED]
please enter an authorization id: [EMAIL PROTECTED]
Password:
send: {5}
PLAIN
send: {1}
Y
send: {38}
[EMAIL PROTECTED]@example.com[0]test
successful authentication
closing connection


Now I add another entry to my OpenLDAP directory
I successfully authenticate that new entry BUT (!) the first entry suddenly
doesn't authenticate anymore:

[EMAIL PROTECTED] ~]# sasl2-sample-client -s rcmd -p 1234 -m PLAIN localhost
receiving capability list... recv: {41}
PLAIN LOGIN CRAM-MD5 ANONYMOUS DIGEST-MD5
PLAIN LOGIN CRAM-MD5 ANONYMOUS DIGEST-MD5
please enter an authentication id: [EMAIL PROTECTED]
please enter an authorization id: [EMAIL PROTECTED]
Password:
send: {5}
PLAIN
send: {1}
Y
send: {35}
[EMAIL PROTECTED]@example.com[0]doe
successful authentication
closing connection


[EMAIL PROTECTED] ~]# sasl2-sample-client -s rcmd -p 1234 -m PLAIN localhost
receiving capability list... recv: {41}
PLAIN LOGIN CRAM-MD5 ANONYMOUS DIGEST-MD5
PLAIN LOGIN CRAM-MD5 ANONYMOUS DIGEST-MD5
please enter an authentication id: [EMAIL PROTECTED]
please enter an authorization id: [EMAIL PROTECTED]
Password:
send: {5}
PLAIN
send: {1}
Y
send: {38}
[EMAIL PROTECTED]@example.com[0]test
authentication failed
closing connection


System is:
    CentOS 5
Software used is:
    cyrus-sasl-2.1.22-4
    openldap-servers-2.3.27-5

I've put up a log (ACL filter config) of the test-transactions at

    <http://www.state-of-mind.de/slapd.log.txt>


Thanks,

[EMAIL PROTECTED]

-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick Koetter            Tel: 089 45227227
Echinger Strasse 3         Fax: 089 45227226
85386 Eching               Web: http://www.state-of-mind.de

Amtsgericht München        Partnerschaftsregister PR 563

Reply via email to