Copying restrictions apply. See the COPYRIGHT file.
$OpenLDAP$
overlay homedir This directive adds the homedir overlay to the current database, or to the frontend, if used before any database instantiation; see slapd.conf (5) for details.
homedir-skeleton-path <pathname>
olcSkeletonPath: pathname These options set the path to the skeleton account directory. (Generally, /etc/skel) Files in this directory will be copied into newly created home directories. Copying is recursive and handles symlinks and fifos, but will skip most specials.
homedir-min-uidnumber <user id number>
olcMinimumUidNumber: number These options configure the minimum userid to use in any home directory attempt. This is a basic safety measure to prevent accidentally using system accounts. See REPLICATION for more flexible options for selecting accounts.
homedir-regexp <regexp> <path>
olcHomedirRegexp: regexp path These options configure a set of regular expressions to use for matching and optionally remapping incoming homeDirectory attribute values to pathnames on the local filesystem. $number expansion is supported to access values captured in parentheses. For example, to accept any directory starting with \/home and use it verbatim on the local filesystem: homedir-regexp ^(/home/[-_/a-z0-9]+)$ $1 To match the same set of directories, but create them instead under \/export\/home, as is popular on Solaris NFS servers: homedir-regexp ^(/home/[-_/a-z0-9]+)$ /export$1
homedir-delete-style style
olcHomedirDeleteStyle: style These options configure how deletes of posixAccount entries or their attributes are handled; valid styles are IGNORE, which does nothing, and DELETE, which immediately performs a recursive delete on the home directory, and ARCHIVE, which archives the home directory contents in a TAR file for later examination. The default is IGNORE. Use with caution. ARCHIVE requires homedir-archive-path to be set, or it functions similar to IGNORE.
homedir-archive-path <pathname>
olcArchivePath: pathname These options specify the destination path for TAR files created by the ARCHIVE delete style.
ETCDIR/slapd.conf default slapd configuration file
/etc/skel (or similar) source of new homedir files.
This module was written in 2009 by Emily Backes for Symas Corporation.