2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] authdaemon loggin...
FromSent OnAttachments
Jeremy TurnerMar 10, 2003 2:29 pm 
Dave AugustusMar 11, 2003 12:56 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] authdaemon logging/ldapActions...
From:Dave Augustus (dav@support.kcm.org)
Date:Mar 11, 2003 12:56:57 pm
List:net.sourceforge.lists.courier-users

Hey Jeremy,

First of all, I would try using the clearpassword field first within authldaprc. This will ensure that all the troubles are on the server side.

In my syslog.conf, I have:

# Log all OpenLDAP info in its own file local4.* /var/log/ldap

In slapd.conf, I have NO "loglevel" entry so it will send the log to syslog.

Watch the log file for LDAP and see where it is looking. You should see queries like:

SRCH base="ou=People,o=kcm,c=us" scope=2 filter="(&(objectClass=CourierMailAccount)(mail=myem@example.com))"

This tells you the where courier is looking- now find out the answers to couriers questions and put them in authldaprc.

There is a lot that has to be right in order for the client to access the mail- most are in authldaprc.

1. the LDAP server 2. the LDAP port 3. Bind Info-set this to your manager for troubleshooting then change it later as you get it working. 4. FILTER- the default is (&(objectClass=CourierMailAccount) which is prepended to the query info so that the end result is like my sample above.(watch the parens!) 5. LDAP_CLEARPW set to look in the attribute->clearpasswd field 6. ObjectClass=CourierMailAccount is an attribute of the mail account LDAP entry 7. LDAP_CLEARPW clearPassword in your authldaprc and LDAP_CRYPTPW should be commented with #.

My guess is that you should concentrate on the FILTER, MAIL, LDAP_CLEARPW entries in authldaprc.

The LDAP->mail entry is the email login of the mail client. Also, that LDAP record should have an objectClass=CourierMailAccount attribute as well.

I hope this enough to get you going.

Happy LDAPing!