Filesystem Mount Table in LDAP

{{{/etc/fstab}}}

Single Tree

Skeleton

 dn: cn=/dev/device,ou=Mounts,[["BaseDN"]]
 cn: /dev/device
 objectClass: mount
 objectClass: top
 mountDirectory: /mnt/dir
 mountType: auto
 mountDumpFrequency: 0
 mountPassNo: 0
 mountOption: option

Example

 dn: cn=/dev/fd0,ou=Mounts,dc=fionavar,dc=dd
 cn: /dev/fd0
 objectClass: mount
 objectClass: top
 mountDirectory: /media/floppy0
 mountType: auto
 mountDumpFrequency: 0
 mountPassNo: 0
 mountOption: rw
 mountOption: user
 mountOption: noauto

Distinct Subtrees

Using ou=syscfg,dc=fionavar,dc=dd as the subtree

Skeleton

 dn: cn=/dev/device,ou=Mounts,ou=syscfg,dc=fionavar,dc=dd
 cn: /dev/device
 objectClass: mount
 objectClass: top
 mountDirectory: /mnt/dir
 mountType: auto
 mountDumpFrequency: 0
 mountPassNo: 0
 mountOption: option

Example

 dn: cn=/dev/fd0,ou=Mounts,ou=syscfg,dc=fionavar,dc=dd
 cn: /dev/fd0
 objectClass: mount
 objectClass: top
 mountDirectory: /media/floppy0
 mountType: auto
 mountDumpFrequency: 0
 mountPassNo: 0
 mountOption: rw
 mountOption: user
 mountOption: noauto