mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-21 09:29:08 +01:00
lsexample: make restore_lsexample compatible with OpenLDAP 2.5 (and Debian Bookworm)
This commit is contained in:
parent
6ff53b412e
commit
fea76e7af2
1 changed files with 4 additions and 1 deletions
|
@ -68,11 +68,14 @@ $SYS_SCHEMA_DIR/core.ldif
|
|||
$SYS_SCHEMA_DIR/cosine.ldif
|
||||
$SYS_SCHEMA_DIR/nis.ldif
|
||||
$SYS_SCHEMA_DIR/inetorgperson.ldif
|
||||
$SYS_SCHEMA_DIR/ppolicy.ldif
|
||||
$SYS_SCHEMA_DIR/dyngroup.ldif
|
||||
$SAMBA_SCHEMA_LDIF
|
||||
$LS_SCHEMA_LDIF
|
||||
"
|
||||
|
||||
# Extranet ppolicy schema removed in OpenLDAP 2.5, make its installation optional
|
||||
[ -f "$SYS_SCHEMA_DIR/ppolicy.ldif" ] && SCHEMA_FILES="$SCHEMA_FILES $SYS_SCHEMA_DIR/ppolicy.ldif"
|
||||
|
||||
for file in $SCHEMA_FILES
|
||||
do
|
||||
[ $VERBOSE -eq 1 ] && echo "Install $( basename $file) schema..."
|
||||
|
|
Loading…
Reference in a new issue