Filesystem Mount Table in LDAP (format)

/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

Index: LDAPFormatsTop: LDAP

© 2005 Daniel Dickinson <cshore@wightman.ca>


This document is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This document is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should be able to view a copy of the GNU General Public License at http://www.gnu.org/copyleft/gpl.html. If not, you can write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA to obtain a copy.