courierpop3d and Ldap authentication

"Ilo Lorusso" <[email protected]> Wed, 30 Jun 2004 13:04:31 +0200
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
Hi Keith,
Thanks for your help,

Im still struggling to authenticate via LDAP,
I have my made some changes to that authdaemond.ldap starts up instead of
authdaemond.plain

Restarted all the relating services and still no lunk,
Below are all my config files and log files including a pstree..

I just cant seem to find what I could be the matter, is there something I'm
missing here..


/etc/courier-imap/authdaemonrc
-----------------------------------
authmodulelist="authldap authpam"
authmodulelistorig="authcustom authcram authuserdb authldap authmysql
authpam"
daemons=5
version=""
authdaemonvar=/var/lib/courier-imap/authdaemon
--------------------------------------

/etc/courier-imap/authldaprc
----------------------------------
LDAP_SERVER             172.69.128.102
LDAP_PORT               389
LDAP_BASEDN             o=hosting,dc=ipnetwork,dc=co,dc=za
LDAP_BINDDN             cn=Manager,dc=ipnetwork,dc=co,dc=za
LDAP_BINDPW             mypass
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            homeDirectory
LDAP_MAILDIR            mailbox
LDAP_CRYPTPW            userPassword
LDAP_FILTER
(objectClass=JammMailAccount)(accountActive=TRUE)(delete=FALSE)
-------------------------------------

What should the cn be, Manager or root as ive tried both..


/var/log/mail.log
--------------------------
Jun 30 14:45:37 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
command=PASS
Jun 30 14:45:37 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
[email protected]
Jun 30 14:45:37 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
password=12345
Jun 30 14:45:42 darkness pop3d: LOGIN FAILED, ip=[172.69.128.100]
Jun 30 14:48:50 darkness pop3d: Connection, ip=[172.69.128.100]
Jun 30 14:48:55 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
command=USER
Jun 30 14:48:57 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
command=PASS
Jun 30 14:48:57 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
[email protected]
Jun 30 14:48:57 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100],
password=12345
Jun 30 14:49:02 darkness pop3d: LOGIN FAILED, ip=[172.69.128.100]

=====
pstree
--------init-+-6*[agetty]
     |-apache2---8*[apache2]
     |-authdaemond.lda---5*[authdaemond.lda]
     |-courierlogger
     |-couriertcpd
     |-devfsd
     |-events/0-+-aio/0
     |          |-kblockd/0
     |          |-2*[pdflush]
     |          `-reiserfs/0
     |-java---java---40*[java]
     |-khubd
     |-klogd
     |-kseriod
     |-ksoftirqd/0
     |-kswapd0
     |-master-+-pickup
     |        `-qmgr
     |-migration/0
     |-mysqld_safe---mysqld---mysqld---2*[mysqld]
     |-slapd---slapd---3*[slapd]
     |-sshd-+-sshd---bash---pstree
     |      `-sshd---bash---tail
     `-syslogd------------------



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com