I'm having an issue with authdaemon/courier IMAP.  Using an LDAP back
end to authenticate users, and it has worked all the way up until this
morning.  It just suddenly stopped working and I have no idea why or
where to begin troubleshooting.

Here's what authldaprc has to say:
LDAP_BASEDN             ou=People,dc=interceltelecoms,dc=net
LDAP_BINDDN             cn=Manager,dc=interceltelecoms,dc=net
LDAP_AUTHBIND           1
LDAP_HOMEDIR            mailMessageStore
LDAP_MAILROOT       /usr/local/vmail/
LDAP_MAIL               uid
LDAP_FILTER           (objectClass=qmailUser)
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_CRYPTPW            userPassword

This is the LDAP entry of the user which I am trying to auth against:
[EMAIL PROTECTED] authlib]# ldapsearch -x -W -D
'cn=Manager,dc=interceltelecoms,dc=net' -b
'ou=People,dc=interceltelecoms,dc=net' '(uid=dcorbe)'
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <ou=People,dc=interceltelecoms,dc=net> with scope subtree
# filter: (uid=dcorbe)
# requesting: ALL
#

# dcorbe, People, interceltelecoms.net
dn: uid=dcorbe,ou=People,dc=interceltelecoms,dc=net
uidNumber: 1000
gidNumber: 1000
uid: dcorbe
cn: Daniel Corbe
homeDirectory: /home/dcorbe
sn: Corbe
givenName: Daniel
displayName: Daniel Corbe
userPassword:: e01ENX1xdk4zNVA1UUl0UVppZWxuRVowVUd3PT0=
mail: [EMAIL PROTECTED]
objectClass: qmailUser
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
accountStatus: active
mailMessageStore: interceltelecoms.net/dcorbe/
title: Director of Technology

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Watching strace produces nothing interesting except for this:
chdir("Maildir")                        = -1 ENOENT (No such file or directory)

which seems to suggest that imapd is now completely ignoring the home
directory value it got back from authdaemond.

I'm not sure where to even begin looking into this issue and any
advice would be greatly apprciated.

Thanks.

-Daniel

Reply via email to