Bobby Reyes writes:
Hi Sam.
1. Done editing authdaemonrc; removed authpam from modulelist and restarted
courier-authdaemon.
2. Contents of authldaprc (less comments ("#") and blank lines):
$cat /etc/courier/authldaprc | grep -v "#" | sed /^$/d
LDAP_URI ldap://pblmail01.bdopb.local
LDAP_PROTOCOL_VERSION 3
LDAP_BASEDN dc=bdopb,dc=local
LDAP_BINDDN cn=Manager,dc=bdopb,dc=local
LDAP_BINDPW secret
LDAP_TIMEOUT 5
LDAP_AUTHBIND 1
LDAP_MAIL mail
LDAP_DOMAIN pb2.bdo.com.ph
LDAP_GLOB_UID vmail
LDAP_GLOB_GID vmail
LDAP_HOMEDIR mailMessageStore
LDAP_MAILDIR mailMessageStore
LDAP_DEFAULTDELIVERY defaultDelivery
LDAP_CLEARPW clearPassword
LDAP_CRYPTPW userPassword
LDAP_AUXOPTIONS mailhost=mailhost
LDAP_DEREF never
LDAP_TLS 0
3. User's LDAP record:
$ ldapsearch -x [email protected]
# extended LDIF
#
# LDAPv3
# base <dc=bdopb,dc=local> (default) with scope subtree
# filter: [email protected]
# requesting: ALL
#
# breyes, users, bdopb.local
dn: cn=breyes,ou=users,dc=bdopb,dc=local
cn: breyes
ou: users
sn: breyes
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mailQuotaSize: 0
mailQuotaCount: 0
uid: breyes
accountStatus: active
mail: [email protected]
mailHost: pblmail01.bdopb.local
deliveryMode: noprogram
qmailUID: 11184
qmailGID: 2110
homeDirectory: /var/qmail/home/breyes/
mailMessageStore: /var/qmail/maildirs/breyes/Maildir/
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
4. Results of running authtest:
$ /usr/sbin/authtest [email protected] password
Authentication succeeded.
Authenticated: [email protected] (uid 11184, gid 2110)
Home Directory: /var/qmail/maildirs/breyes/Maildir/
Maildir: /var/qmail/maildirs/breyes/Maildir/
Quota: (none)
Encrypted Password: {MD5}X03MO1qnZdYdgyfeuILPmQ==
Cleartext Password: password
Options: mailhost=pblmail01.bdopb.local
Ok, now attempt to log in, and the IMAP server should have no issues opening a maildir at the above directory, which must be owned by the indicated uid and gid.
pgp3yEwvit3hy.pgp
Description: PGP signature
------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
