Hi all,

I set up the whole thing successfully, but 
I got a problem concerning the ldapv3 database.
Right now I need to create two entries for every virtual user to get it to
work!?

Content of .ldif:
--- snip ---
dn: ou=qmailaccounts,dc=mydomain,dc=de
objectclass: top
objectclass: organizationalUnit
ou: qmailaccounts

dn: uid=kai,ou=qmailaccounts,dc=mydomain,dc=de
cn: Kai Smith
sn: Smith
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailhost: ldapv3.mydomain.de
mailMessageStore: /var/qmail/maildirs/kai
uid: kai

dn: ou=courieraccounts,dc=mydomain,dc=de
objectclass: top
objectclass: organizationalUnit
ou: courieraccounts

dn: cn=kai,ou=courieraccounts,dc=mydomain,dc=de
objectClass: CourierMailAccount
cn: kai
mail: [EMAIL PROTECTED]
uidNumber: 516
gidNumber: 106
homeDirectory: /var/qmail/maildirs/
mailbox: kai/Maildir/
userPassword: secret
---

Content of /var/qmail/control/ldapbasedn:
--- snip ---
ou=qmailaccounts,dc=mydomain,dc=de
---

Content of /usr/lib/courier-imap/etc/authldaprc:
--- snip ---
LDAP_AUTHBIND           1
LDAP_BASEDN             ou=courieraccounts, dc=mydomain, dc=de
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_DOMAIN             mydomain.de
LDAP_FULLNAME           cn
LDAP_GLOB_GID           vmail
LDAP_GLOB_UID           vmail
LDAP_HOMEDIR            homeDirectory
LDAP_MAIL               mail
LDAP_MAILDIR            mailbox
LDAP_PORT               389
LDAP_SERVER             ldapv3.mydomain.de
LDAP_TIMEOUT            5
LDAP_TLS                0
---

Content of /usr/lib/courier-imap/etc/authdaemonrc:
--- snip ---
authdaemonvar=/usr/lib/courier-imap/var/authdaemon
authmodulelist="authldap authpam"
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql
authmysql authpam"
daemons=5
version=""
---

I failed to merge these entries:-(

Anybody out there with a working configuration?

Whats the problem here???

Thanks in advance.

Best regards, 

Robert

-- 
Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX w�hlen -
und tolle Preise absahnen! http://www.onlinestar.de



-------------------------------------------------------
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