Jax writes:

Brian Candler wrote:
On Tue, Apr 03, 2007 at 01:23:58AM +0200, Jax wrote:
authdaemon: starting client module
authdaemon: REJECT
authdaemon: REJECT
Turn up debugging.  Set DEBUG_LOGIN=2 in authdaemonrc.

Does not help too much. Btw this login debugging sounds familiar from the imapd config DEBUG_LOGIN=2 is there not in this file and I already set it to 2.

No, logging from the imap daemon and logging from authdaemond are two
different things.


Oh sorry I didn't mean I don't trust you so I already put debug_login to the authrc :)

You also need to restart it -- bottom line, the output you showed is _NOT_ the output you should get if you set the debug flag properly.

got exactly the same error which means that I must have some problem with the LDAP schema so I did a dump. Here is my john user what I created for test:

dn: cn=john,ou=Courier,ou=Services,dc=logonserver,dc=lan
uid: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
sn: john
cn: john
uidNumber: 1005
gidNumber: 102
homeDirectory: /home/users/user1
userPassword:: e01ENX1UbHU2NnZ5Q3EzcWhPRnZxanZYVENnPT0=

Couple of things:

1. Better make sure that /home/users/user1/Maildir exists, since $HOME/Maildir is the default.

2. If I recall LDIF format correctly, the double-colon means that the actual value stored in the LDAP record is the base64-decoded value of what you see.

Base64-decoding that thing gives me:

{MD5}Tlu66vyCq3qhOFvqjvXTCg==

This looks reasonable, provided that in authldaprc you have LDAP_CRYPTPW set. Now, all you have to do is take the password you think is the right password, compute its binary MD5 hash, base64-encoded it, and see if it matches the above.

Whether or not this is the case, you should be able to tell if you set the debug option properly.

Attachment: pgpwBwSLdTSZK.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to