mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-21 17:39:09 +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/cosine.ldif
|
||||||
$SYS_SCHEMA_DIR/nis.ldif
|
$SYS_SCHEMA_DIR/nis.ldif
|
||||||
$SYS_SCHEMA_DIR/inetorgperson.ldif
|
$SYS_SCHEMA_DIR/inetorgperson.ldif
|
||||||
$SYS_SCHEMA_DIR/ppolicy.ldif
|
|
||||||
$SYS_SCHEMA_DIR/dyngroup.ldif
|
$SYS_SCHEMA_DIR/dyngroup.ldif
|
||||||
$SAMBA_SCHEMA_LDIF
|
$SAMBA_SCHEMA_LDIF
|
||||||
$LS_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
|
for file in $SCHEMA_FILES
|
||||||
do
|
do
|
||||||
[ $VERBOSE -eq 1 ] && echo "Install $( basename $file) schema..."
|
[ $VERBOSE -eq 1 ] && echo "Install $( basename $file) schema..."
|
||||||
|
|
Loading…
Reference in a new issue