I'm posting here as a last resort. I'm having a difficult time
getting auth_imap to authenticate against ldap. Well, it looks as if
it authenticates, just doesn't respond well. It would help if I could
get some debug output from imap, but no matter what LOGLEVEL or DEBUG
level I set in either the env for daemontools or imap I get nothing.
OS = FreeBSD 6.2
Courier-imap = 3.0.8 (does newer 4 version work with qmail-ldap clustering?)
Openldap 2.3.30
Details:
running qmail-imapd from /var/qmail/boot
telneting to 143 on imap server:
* OK [CAPABILITY IMAP4rev1 ACL ACL2=UNION] Courier-IMAP ready.
Copyright 1998-2004 Double Precision, Inc. See COPYING for
distribution information.
a login postmaster@example.com test
a NO Login failed.
Ldap debug output shows information being sent back:
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 op=0 BIND
dn="cn=Manager,o=company,c=US" mech=SIMPLE ssf=0
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 op=0 RESULT tag=97 err=0 text=
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 op=1 SRCH
base="o=company,c=us" scope=2 deref=0
filter="(mail=postmaster@example.com)"
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 op=1 SRCH attr=mail
qmailUID qmailGID accountStatus mailHost mailMessageStore
homeDirectory mailQuotaSize mailQuotaCount mailSizeMax userPassword
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 op=1 SEARCH RESULT
tag=101 err=0 nentries=1 text=
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 op=2 UNBIND
Jan 8 12:40:37 dir1 slapd[70886]: conn=14037 fd=11 closed
I'm at a loss. Can anyone provide me with some clues?
Regards,
Frank C.
--
"The controlers are as big as my nuts.Y!"
~ Maddox on xBox
|