ASCII Smiley Face Daniel Dickinson Mini Headshot
The C Shore
Daniel Dickinson's Website - Experimental

/etc/aliases in LDAP (format)

Format of an alias entry

Single Tree

Skeleton

 dn: cn=username,ou=Aliases,[BaseDN]
 cn: username
 objectClass: nisMailAlias
 objectClass: top
 rfc822MailMember: target

Example

 dn: cn=postmaster,ou=Aliases,dc=example,dc=com
 cn: postmaster
 objectClass: nisMailAlias
 objectClass: top
 rfc822MailMember: root

Distinct Subtrees

Skeleton

 dn: cn=username,ou=Aliases,[BaseDN]
 cn: username
 objectClass: nisMailAlias
 objectClass: top
 rfc822MailMember: target

Example

Using ou=nss,dc=example,dc=com as the subtree

 dn: cn=mailer-daemon,ou=Aliases,ou=nss,dc=example,dc=com
 cn: postmaster
 objectClass: nisMailAlias
 objectClass: top
 rfc822MailMember: root

Index: LDAPFormats Top: LDAP