3006
Comment: group pages under LDAP/, move all entries examples to single page
|
2978
remove H1 title
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
= Example LDAP entries = |
These examples use EXAMPLE.org (dc=EXAMPLE,dc=org) as Base DN.
Internal Vertex Nodes (Non-leaf nodes)
These examples are for nodes that exist only to host a subtree (i.e. they have no data of their own).
organizationalUnit (OU)
# auth, EXAMPLE, org dn: ou=auth,dc=EXAMPLE,dc=org objectClass: top objectClass: organizationalUnit ou: node
or, if you need the associated domain (as with LDAPMigrationTools)
# auth, EXAMPLE, org dn: ou=auth,dc=EXAMPLE,dc=org objectClass: top objectClass: organizationalUnit objectClass: domainRelatedObject ou: auth associatedDomain: EXAMPLE.org
dcObject (dc)
# auth, EXAMPLE, org dn: dc=dns,dc=EXAMPLE,dc=org objectClass: top objectClass: dcObject dc: dns
or, if you need the associated domain (as with LDAPMigrationTools)
# dns, EXAMPLE, org dn: dc=dns,dc=EXAMPLE,dc=org objectClass: top objectClass: dcObject objectClass: domainRelatedObject associatedDomain: EXAMPLE.org dc: dns
Aliases
Storing /etc/aliases in LDAP
dn: cn=postmaster,ou=Aliases,dc=EXAMPLE,dc=org cn: postmaster objectClass: nisMailAlias objectClass: top rfc822MailMember: root
or using distinct subtrees (for example using ou=nss,dc=EXAMPLE,dc=org as the subtree:
dn: cn=mailer-daemon,ou=Aliases,ou=nss,dc=EXAMPLE,dc=org cn: postmaster objectClass: nisMailAlias objectClass: top rfc822MailMember: root
fstab
Storing /etc/fstab in LDAP
dn: cn=/dev/fd0,ou=Mounts,dc=EXAMPLE,dc=org cn: /dev/fd0 objectClass: mount objectClass: top mountDirectory: /media/floppy0 mountType: auto mountDumpFrequency: 0 mountPassNo: 0 mountOption: rw mountOption: user mountOption: noauto
or using distinct subtrees (for example with ou=syscfg,dc=EXAMPLE,dc=org as the subtree:
dn: cn=/dev/fd0,ou=Mounts,ou=syscfg,dc=EXAMPLE,dc=org cn: /dev/fd0 objectClass: mount objectClass: top mountDirectory: /media/floppy0 mountType: auto mountDumpFrequency: 0 mountPassNo: 0 mountOption: rw mountOption: user mountOption: noauto
NIS Maps (Netgroup)
supports nisMapName=netgroup.byuser or netgroup.byhost
dn: nisMapName=netgroup.by{user,host},dc=EXAMPLE,dc=org nismapname: netgroup.by{user,host} objectClass: top objectClass: nisMap objectClass: domainRelatedObject associatedDomain: EXAMPLE.org
or using distinct subtrees:
dn: nisMapName=netgroup.by{user,host},ou=auth,dc=EXAMPLE,dc=org nismapname: netgroup.by{user,host} objectClass: top objectClass: nisMap objectClass: domainRelatedObject associatedDomain: EXAMPLE.org
CategorySoftware | CategoryNetwork | CategorySystemAdministration