Marc wrote:
> 

>>telnet localhost 110
>>user schabelm
>>pass <secret>
>>I get -ERR Login failed

Check what happens if you bind as LDAP-root. Put
LDAP_BINDDN             cn=administrator,dc=mydomain,dc=com
LDAP_BINDPW             secret
in your authldaprc (substituting the real rootdn and rootpw just
as you have them in slapd.conf) and see if that works. If it does,
you have probably done something wrong in your slapd.conf ACL
definitions. Worst case: disable all security on LDAP to see
if security is the cause of the problem and then start re-enabling
it line by line until you hit the culprit.

Also, depending on the size of your LDAP tree, you might need
to increase the values for timelimit and sizelimit in slapd.conf .

>>In my logfile I get sometimes
>>Connection, ip=[::ffff:127.0.0.1]
>>chdir: No such file or directory

That looks like a successful authentication, although I miss
the LOGIN entry. Could it be that you are, despite all,
authenticating on /etc/password? That would explain both
errors: most LDAP users don't exist in /etc/passwd, so you
get authentication failures; occasionally there is a system
account with the same name and password as an LDAP account,
but the system homedir doesn't exist or has no maildir. Look
in /etc/pam.d/imap and /etc/pam.d/pop3 and make sure that pam
sends courier to LDAP.

Z




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to