16. Appendix C: Example LDIFΒΆ
The LDIF below shows an example of LDAP configuration for a single tenant setup.
dn: dc=example,dc=com
objectClass: dcObject
objectClass: organization
dc: kopano
description: My LDAP Root
o: example.com
dn: cn=Manager,dc=example,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
cn: Manager
userPassword: secret
description: LDAP administrator
dn: ou=Addresslists,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: Addresslists
dn: ou=People,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: People
dn: ou=Groups,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: Groups
dn: ou=Contacts,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: Contacts
dn: cn=Mary Poppins,ou=Contacts,dc=example,dc=com
objectClass: inetOrgPerson
objectClass: top
objectClass: kopano-contact
uidNumber: 1001
sn: Poppins
cn: Mary Poppins
mail: mary@poppins.org
dn: uid=john,ou=People,dc=example,dc=com
objectClass: posixAccount
objectClass: top
objectClass: kopano-user
objectClass: inetOrgPerson
gidNumber: 1000
cn: John Doe
homeDirectory: /home/john
mail: john@example.com
uidNumber: 1000
kopanoAliases: j.doe@example.com
kopanoUserServer: node1
uid: john
kopanoAccount: 1
kopanoAdmin: 0
sn: Doe
userPassword: john
kopanoQuotaOverride: 1
kopanoEnabledFeatures: imap
kopanoDisabledFeatures: pop3
kopanoQuotaWarn: 1000000000
kopanoQuotaSoft: 1100000000
kopanoQuotaHard: 1200000000
dn: cn=Example addresslist,ou=Addresslists,dc=example,dc=com
objectClass: kopano-addresslist
objectClass: top
cn: Example addresslist
kopanoFilter: (mail=*@example.com)
dn: cn=Example security group,ou=Groups,dc=example,dc=com
objectClass: posixGroup
objectClass: top
objectClass: kopano-group
kopanoHidden: 0
cn: Example security group
gidNumber: 1000
memberUid: john
kopanoAccount: 1
description: Example security group
kopanoSecurityGroup: 1
dn: cn=Example distribution group,ou=Groups,dc=example,dc=com
objectClass: posixGroup
objectClass: top
objectClass: kopano-group
kopanoHidden: 0
cn: Example distribution group
memberUid: john
kopanoAccount: 1
gidNumber: 1001
description: Example distribution group
kopanoSecurityGroup: 0