I am trying to set up Courier IMAP with OpenLDAP backend. Currently the box has SAMBA installed and samba is authenticating through OpenLDAP backend (with roaming profile, etc.). No problem at that end. But even though I am modifying the pop3, pop3.cnf and authldaprc.sh file, I don't seem to be able to connect to the server.
supposing, one of my user email@example.com
is trying to authenticate. I am trying this through telnet localhost 110 command, and the session goes like
FreeBSD# telnet localhost 110
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
+OK Password required.
-ERR Login failed.
Since I am unable to find any log file (the file /var/log/slapd.log is not updated, even though I have
local4.debug /var/log/slapd.log entry in my /etc/syslogd.conf file) -- I am quite uncertain as what to do next. Can someone please help? Pointers to documents (not the Postfix Courier LDAP one, please) that can help is highly appreciated.
BTW, I am using a FreeBSD system (5.2.1)
Edited on 08 Apr 2004
Since my post failed to get a reply from so many experts, I went a bit further and tried to capture packets this time. What I did is tell the packet capturing utility to listen to port 369 (the LDAP port)
The scenerio is, when logging in through SAMBA, I see a lot of packets being exchanged. But when I try to connect through POP-3, there is not a single packet being exchanged. Appearently the Courier POP is not trying to connect to the LDAP server ? ? ? Any suggestion on what to check next?