[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap structure for multi domain.tld email hosting



Quoting "Gary C. New" <garycnew@yahoo.com>:

 | I am attempting to setup an email hosting solution
 | with postfix, cyrus-imap, and openldap that will
 | support several of my current clients and those that I
 | wish to bring on in the future.  Each client has an
 | individual domain.tld or domains.tld with various
 | users under each domain.tld.
 | 
 | I've seen a few postings regarding the subject, but am
 | wondering what might be the best structure for this in
 | ldap?
 | 
 | One posting suggested seperate o= attribs:
 | 
FWIW, I would change the dn to use mail to simplify the seperation
of multiple gary's - gary@domain1 gary@domain2, etc.
dn: mail=gary@somedomain.us,o=yourcompany.com
I actually throw in an ou=people for 
dn: mail=gary@somedomain.us,ou=people,o=yourcompany.com

ed

 | dn: uid=someuser, o=someorg, c=us
 | uid: someuser
 | userpassword: somepassword
 | maildrop: fulladdress@machine.dom.ain
 | mailacceptinggeneralid: someuser
 | mailacceptinggeneralid: somealias
 | 
 | Another posting suggested sperate ou= attribs:
 | 
 | dn: uid=tadmin2,ou=people,dc=mycoll,dc=edu
 | uid: tadmin2
 | cn: Theodore J. Admin
 | cn: Ted Admin
 | sn: Admin
 | givenName: Ted
 | o: My College
 | ou: staff
 | title: Systems Engineer
 | physicalDeliveryOfficeName: OIT
 | mail: tadmin2@mycoll.edu
 | employeeNumber: 9999999
 | telephoneNumber: 410-810-7400
 | homePostalAddress: 55 Regatta Bay Ct, Apt 656,
 | Baracuda, MD 21901
 | homePhone: 410-571-8288
 | objectClass: Person
 | objectClass: OrganizationalPerson
 | objectClass: inetOrgPerson
 | creatorsName: cn=admin, dc=mycoll, dc=edu
 | createTimestamp: 20020514233724Z
 | modifiersName: cn=admin, dc=mycoll, dc=edu
 | modifyTimestamp: 20020514233724Z
 | 
 | I would like to set the structure up such that I might
 | offer my clients access to their information on a per
 | organization basis and so each organization only has
 | access to their organization's information. 
 | Additionally, I would like to sasl2 authentication and
 | regexp mapping between the two.
 | 
 | Your comments and suggestions are appreciated.
 | 
 | Respectfully,
 | 
 | 
 | Gary
 | 
 | __________________________________________________
 | Do You Yahoo!?
 | Yahoo! Finance - Get real-time stock quotes
 | http://finance.yahoo.com


--