Hi,

Please, help a newbie !

I'm having trouble to get courier-imap working over ldap : here is a listing of what 
happens (cedric.mallet is my test user, I bind as administrator) :

Feb 21 11:10:37 svmdk82-01 imapd: Connection, ip=[::ffff:127.0.0.1]
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: Hostname: 127.0.0.1:389
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: UID:      0
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: GID:      0
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: ldapconnect end
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: BindDn:   cn=admin,o=org BindPw:   pwd
Feb 21 11:10:37 svmdk82-01 slapd[2928]: daemon: conn=9 fd=17 connection from 
IP=127.0.0.1:32915 (IP=0.0.0.0:34049) accepted.
Feb 21 11:10:37 svmdk82-01 slapd[3001]: conn=9 op=0 BIND dn="CN=admin,O=org" method=128
Feb 21 11:10:37 svmdk82-01 slapd[3001]: conn=9 op=0 RESULT tag=97 err=0 text=
Feb 21 11:10:37 svmdk82-01 slapd[3002]: conn=9 op=1 SRCH base="ou=unit, o=org" scope=2 
filter="(uid=cedric.mallet)"
Feb 21 11:10:37 svmdk82-01 slapd[3002]: conn=9 op=1 SEARCH RESULT tag=101 err=0 text=
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: Nombre de r�sulat:    1
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: DN:    
uid=Cedric.MALLET,ou=subunit,ou=unit,o=org
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: after ldap_first_entry
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: copy_value mailMessageStore: 
/var/qmail/maildirs/Cedric.MALLET Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: 
copy_value cn: Cedric MALLET
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: copy_value userPassword: toto
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: authlib: refuse to authenticate 
cedric.mallet: uid=0, gid=0
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: before callback rc=-1
Feb 21 11:10:37 svmdk82-01 authdaemond.ldap: after callback rc=-1
Feb 21 11:10:42 svmdk82-01 imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Feb 21 11:10:42 svmdk82-01 imapd: DISCONNECTED, ip=[::ffff:127.0.0.1], headers=0, 
body=0

This test was made with ClearText password, {SHA} does the same thing (of course, 
copy_value userPassword line changes, but that's all !)

Why do I get this :
authlib: refuse to authenticate cedric.mallet: uid=0, gid=0

What does uid=0, gid=0 refer to ??

Thanks for help.
JP.Verlande, Lyon, France



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to