

![]() | 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: |
5 messages in net.sourceforge.lists.courier-users[courier-users] problem storing accou...| From | Sent On | Attachments |
|---|---|---|
| Leonid Andreev | Aug 23, 2000 5:05 pm | |
| Leonid Andreev | Aug 24, 2000 10:20 am | |
| Leonid Andreev | Aug 25, 2000 12:58 pm | |
| Arek Dreyer | May 21, 2001 1:46 pm | |
| Sam Varshavchik | May 21, 2001 2:56 pm |

![]() | 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] problem storing account information in an LDAP directory | Actions... |
|---|---|---|
| From: | Leonid Andreev (leo...@latte.harvard.edu) | |
| Date: | Aug 23, 2000 5:05:35 pm | |
| List: | net.sourceforge.lists.courier-users | |
Hi,
I'm new to Courier, so this is probably a dumb howto question; here's my problem:
I installed Courier on my system (RedHat 6.2); everything seems to be working like a charm (including pop, imap and webmail). Except that I cannot seem to be able to use LDAP to look up virtual email accounts information. I'm running authdaemond which was compiled with authldap (among other things). I left authldap as the only authentication method in courier/etc/authdaemonrc to make sure this is not a conflict with another auth. module. The error that I'm getting is "550 ... User unknown".
I suspect that the problem is not with my Courier setup, but rather with the way I set up the LDAP server (openldap 1.2.9 in my case). I'm attaching my authldaprc, the LDAP schema I'm using to store the account information and the LDIF source for the test account. Any input you could provide would be greatly appreciated.
thanks!
-L.
P.S. I just subscribed to the list and I'm not sure if I'm already on it; so if you send a reply to the list, please cc: it to my address above (leo...@latte.harvard.edu).
My authldaprc:
--- BEGIN ---
LDAP_SERVER localhost LDAP_PORT 389
LDAP_BASEDN dc=xxx,dc=edu
LDAP_BINDDN cn=Manager,dc=xxx,dc=edu LDAP_BINDPW xxx
LDAP_TIMEOUT 5
LDAP_MAIL mail LDAP_DOMAIN xxx.edu LDAP_GLOB_UID courier LDAP_GLOB_GID courier
LDAP_HOMEDIR homeDirectory LDAP_MAILDIR mailDir
LDAP_FULLNAME cn
LDAP_CLEARPW userPassword LDAP_CRYPTPW cryptPassword
--- END ---
Here's what I added to my slapd.conf:
--- BEGIN ---
objectclass cmailAccount requires objectClass, cn, mail, cryptPassword, homeDirectory allows mailDir, maildirQuota
--- END ---
(plus the attributes definitions)
And here's a sample LDIF file for a test account:
dn: mail=cour...@xxx.edu,ou=People,dc=xxx,dc=edu mail: cour...@xxx.edu cn: Courier Test Account objectClass: cmailAccount cryptPassword: {crypt}$1$nfcTOXR3$E8/VqxNMjLo93J5qzHwAQ1 homeDirectory: /var/courier/mail/courier.test mailDir: /var/courier/mail/courier.test
(I can successfully look this up using command line ldapsearch);
I tried this as well:
dn: mail=cour...@xxx.edu,dc=xxx,dc=edu mail: cour...@xxx.edu cn: Courier Test Account cryptPassword: {crypt}$1$nfcTOXR3$E8/VqxNMjLo93J5qzHwAQ1 homeDirectory: /var/courier/mail/courier.test mailDir: /var/courier/mail/courier.test
help!...







