

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
13 messages in net.sourceforge.lists.courier-users[courier-users] Authldap Authenticati...| From | Sent On | Attachments |
|---|---|---|
| SK Lim | Apr 8, 2003 4:43 am | |
| Keith Matthews | Apr 8, 2003 10:39 am | |
| SK Lim | Apr 16, 2003 7:49 pm | |
| SK Lim | Apr 16, 2003 8:32 pm | |
| SK Lim | Apr 17, 2003 10:34 pm | |
| Sam Varshavchik | Apr 18, 2003 6:41 am | |
| Brian Candler | Apr 21, 2003 2:20 am | |
| SK Lim | Apr 21, 2003 7:29 pm | |
| Boris Goldowsky | Apr 28, 2003 9:57 am | |
| Sam Varshavchik | Apr 28, 2003 1:05 pm | |
| Boris Goldowsky | Apr 28, 2003 5:36 pm | |
| Jerry Amundson | Apr 28, 2003 7:18 pm | |
| Boris Goldowsky | Apr 29, 2003 7:59 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [courier-users] Authldap Authentication Failed | Actions... |
|---|---|---|
| From: | SK Lim (shan...@pc.jaring.my) | |
| Date: | Apr 8, 2003 4:43:40 am | |
| List: | net.sourceforge.lists.courier-users | |
Hello,
I am trying to setup a Qmail+LDAP patch, Courier-IMAP(1.7.x) and OpenLDAP system, but unsuccessful. I hving problem of get Courier's authldap working with OpenLDAP's directory entry.
OS: RedHat 8.0
OpenLDAP RPM Installation (RedHat CD-ROM)
openldap-2.0.25-1 openldap-devel-2.0.25-1 openldap-server-2.0.25-1 openldap-clients-2.0.25-1
I check the location of the ldap libraries and header files by rpm -ql openldap-devel-2.025-1, and they are in /usr/lib, /usr/include, /lib
Courier's compilation (non-root user) ./configure make make check su root unmask 022 make install make install-configure
Did not use 'options' on the configure script, since the ldap libraries and headers files are in default directories, where C compiler would be able to locate them.
Courier's imapd config Most of them are default settings except the following: AUTHMODULES="authdaemon authldap"
Courier's authdaemonrc config Most of them default are setting except the following: authmodulelist="authldap"
Courier's authldaprc Most of them default settings except the following: LDAP_SERVER localhost LDAP_PORT 389 LDAP_BASEDN dc=mfocus,dc=net LDAP_BINDDN cn=courier,dc=mfocus,dc=net LDAP_BINDPW couriersecret LDAP_TIMEOUT 5 LDAP_AUTHBIND 0 LDAP_MAIL mail LDAP_DOMAIN mfocus.net LDAP_GLOB_UID vmail LDAP_GLOB_GID vmail LDAP_HOMEDIR mailMessageStore LDAP_MAILDIR mailMessageStore LDAP_FULLNAME cn LDAP_CRYPTPW userPassword #LDAP_CLEARPW userPassword
# OpenLDAP access control list(sladp.conf) access to attr=userPassword by dn="cn=Manager,dc=mfocus,dc=net" write by dn="cn=courier,dc=mfocus,dc=net" read by dn="cn=qmail,dc=mfocus,dc=net" read by self write by * auth access to * by dn="cn=Manager,dc=mfocus,dc=net" write by dn="cn=courier,dc=mfocus,dc=net" read by dn="cn=qmail,dc=mfocus,dc=net" read by self read by anonymous read
# Ldap search (verify the database is accessible)
ldapsearch -x -b "dc=mfocus.net,dc=net" -D "cn=courier,dc=mfocus,dc=net" -W "(&(objectclass=qmailuser)(uid=jerry))" Enter LDAP password: couriersecret
Results: # jerry, accounts, mfocus, net dn: uid=jerry, ou=accounts, dc=mfocus, dc=net cn: Jerry sn: Chong objectclass: top objectclass: person objectclass: inetOrgPerson objectclass: qmailUser mail: jer...@mfocus.net mailHost: mfocus.net mailMessageStore: /var/qmail/maildirs/jerry/Maildirs uid: jerry accountStatus: enable UserPassword:: eInx8934cd.....
IMAP authentication test
telnet 0 143 Connected to 0. Escape character is '^]' *OK [Capabilitiy IMAP4rev1 UIDPLUS....]Courier-IMAP ready. Copywrite.... a1 login jerry jerry01 a1 NO Login fail
Could anyone help me please, thank you in advance
Regards SK Lim
Disclaimer:-
This e-mail transmission is intended only for the use of the individual or entity named above and may contain information that is confidential, privileged, and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of any of the information contained in this transmission is strictly PROHIBITED. If you have received this transmission in error, please immediately notify me by e-mail at the above address.Thank you.







