X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fldap.in;h=8ff1ccf097105d527071e793371494c8b8911120;hb=2666d625c775d613dff01f1a4fa4c627609f1418;hp=e5e21bad7a029bcf1fc96298f4095f436413e55e;hpb=59d0dc29f36c14ed2fcf22d8492e842bf76fffa1;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/ldap.in b/handlers/ldap.in index e5e21ba..8ff1ccf 100644 --- a/handlers/ldap.in +++ b/handlers/ldap.in @@ -28,7 +28,7 @@ status="ok" [ -d $backupdir ] || mkdir -p $backupdir [ -d $backupdir ] || fatal "Backup directory '$backupdir'" -dbsuffixes=(`@AWK@ 'BEGIN {OFS=":"} /[:space:]*^database[:space:]*\w*/ {db=$2}; /^[:space:]*suffix[:space:]*\w*/ {if (db=="bdb"||db=="ldbm") print db,$2}' $conf|@SED@ -e 's/[" ]//g'`) +dbsuffixes=(`@AWK@ 'BEGIN {OFS=":"} /[:space:]*^database[:space:]*\w*/ {db=$2}; /^[:space:]*suffix[:space:]*\w*/ {if (db=="bdb"||db=="hdb"||db="ldbm") print db,$2}' $conf|@SED@ -e 's/[" ]//g'`) ## LDIF DUMP