ITS#10059 - Add configuration example for slapo-homedir(5)

This commit is contained in:
Craig Balfour 2023-05-26 15:51:26 +02:00 committed by Quanah Gibson-Mount
parent c73be59b7c
commit 4697fd0793

View file

@ -90,6 +90,32 @@ for more information on configure syncrepl.
Partial replication (e.g. with filters) is especially useful for Partial replication (e.g. with filters) is especially useful for
providing different provisioning options to different sets of users. providing different provisioning options to different sets of users.
.SH EXAMPLE
The following LDIF could be used to add this overlay to
.B cn=config
(adjust to suit)
.LP
.RS
.nf
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: homedir
dn: olcOverlay=homedir,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcHomedirConfig
olcOverlay: homedir
olcSkeletonPath: /etc/skel
olcMinimumUidNumber: 1000
olcHomedirRegexp: ^(/home/[-_/a-z0-9]+)$ /export/$1
olcHomedirDeleteStyle: ARCHIVE
olcHomedirArchivePath: /archive
.fi
.RE
.LP
.SH BUGS .SH BUGS
DELETE, MOD, and MODRDN operations that remove the unix attributes DELETE, MOD, and MODRDN operations that remove the unix attributes
when delete style is set to DELETE will recursively delete the (regex when delete style is set to DELETE will recursively delete the (regex
@ -113,6 +139,7 @@ resolve uid/gid into symbolic names.
No attempt is made to try to mkdir() the parent directories needed for No attempt is made to try to mkdir() the parent directories needed for
a given home directory or archive path. a given home directory or archive path.
.SH FILES .SH FILES
.TP .TP
ETCDIR/slapd.conf ETCDIR/slapd.conf