LDAP_MAILDIR            mailMessageStore
LDAP_MAILDIRQUOTA       maildirQuota

Can you tell me which schema design these are in. I cannot find them in any
of the schema templates I have.

Russell Premont

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Theodore
J. Knab
Sent: Friday, March 28, 2003 1:35 PM
To: Courier-Users
Subject: Re: [courier-users] Courier and LDAP question


It depends on what you setup in your authldaprc.

My authldaprc file holds the following parameters:

LDAP_SERVER             noipee.mycoll.edu
LDAP_PORT               389
LDAP_BASEDN             ou=accounts,dc=mycoll,dc=edu
LDAP_BINDDN             cn=courier,dc=mycoll,dc=edu
LDAP_BINDPW             secret
LDAP_TIMEOUT            15
LDAP_MAIL               mailAlternateaddress
LDAP_FILTER             (accountStatus=active)
LDAP_DOMAIN             mycoll.edu
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            homeDirectory
LDAP_MAILDIR            mailMessageStore
LDAP_MAILDIRQUOTA       maildirQuota
LDAP_FULLNAME           cn
LDAP_CRYPTPW            userPassword
LDAP_UID                uidNumber

You can setup LDAP anyway you like. Courier is pretty flexible also. For
example I am using both the qmailUser schema with the Couriermailaccount
class with a Postfix MTA. This flexibility makes things complicated.

Although you can set it up anyway you please within limits,
mine has a bad key value. It would be better to key it by a number like
the uid number. For example this would be better for a key incase
someone changes their name:
        dn: uidNumber=1100,ou=accounts,dc=mycoll,dc=edu

I have something like this stored in my accounts.ldif:

dn: uid=tknab2,ou=accounts,dc=mycoll,dc=edu
creatorsName: cn=admin, dc=mycoll, dc=edu
createTimestamp: 20020507161220Z
uidNumber: 1100
gidNumber: 1001
mailHost: imap.mycoll.edu
homeDirectory: /var/imap/mycoll/tknab2
mailMessageStore: /var/imap/mycoll/tknab2/Maildir
mailbox: tknab2/Maildir/
objectClass: qmailUser
objectClass: CourierMailAccount
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
accountStatus: active
cn: T  Knab
uid: tknab2
userPassword: {md5} secret=
deliveryMode: normal
mailReplyText: This is a test\r.
mailQuota: 92160000S
mailForwardingAddress: [EMAIL PROTECTED]
modifiersName: uid=tknab2,ou=accounts,dc=mycoll,dc=edu


Since you already got your data in pam, you might want to look at the
nis.schema, it has fields for userPassword $ loginShell $ gecos $
description, which are found in the /etc/passwd and /etc/shadow file.

>On Fri, Mar 28, 2003 at 12:43:21PM -0500, Russell Premont wrote:
>I am looking to migrate courier over to LDAP from pam. What fields does
>courier use for user info. Is it cn=username or would it be userid, and
does
>courier use the homeDirectory to set the users home directory?

--
********************************
*Theodore Knab
*Systems Engineer
*Washington College
*Maryland, USA
* ---------------------------
*My Desk: 410-810-7419
*Fax: 410-778-7830
********************************


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to