X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/ac40fd9eb9d1980c90dc009d526a23ead1ec0f76..8d138742ae268344f406cb75d79aa6bf853f9d87:/README.ldap diff --git a/README.ldap b/README.ldap index 3acb0ff..c587ada 100644 --- a/README.ldap +++ b/README.ldap @@ -28,6 +28,10 @@ Only CourierMailAccount is used for mailbox authentication (i.e. IMAP, webmail). The other two objects are used by LDAP-based mail routing in the Courier Mail Server. +The file authldap.ldif contains an ldif format definition of the same objects. +This is the same schema definition as in authldap.schema, except in the ldif +format. + Here are some sample LDAP objects that use this schema: dn: o=example, c=com @@ -37,8 +41,10 @@ c: com dn: mail=xyz123@example.com, o=example, c=com ObjectClass: CourierMailAccount +ObjectClass: person +cn: Xavier Y Zimmerman +sn: Zimmerman mail: xyz123@example.com -mail: xyz123 clearPassword: tux userPassword: {MD5}WrbkuYvH+3FvwH7Zj+34Ag== homeDirectory: /home/xyz123 @@ -47,11 +53,15 @@ gidNumber: 1001 dn: mail=mailalias@example.com, o=example, c=com ObjectClass: CourierMailAlias +ObjectClass: nisMailAlias +cn: mailalias mail: mailalias maildrop: xyz123 dn: virtualdomain=domain.com, o=example, c=com +ObjectClass: nisMailAlias ObjectClass: CourierDomainAlias +cn: domain.com virtualdomain: domain.com virtualdomainuser: wxyz456