X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fldap.in;h=8ff1ccf097105d527071e793371494c8b8911120;hb=56617bfc5bd846f660ac015d7ee349e0134c7a43;hp=e5e21bad7a029bcf1fc96298f4095f436413e55e;hpb=ca62d94c56df7ee24a46c0de657930b48a04711d;p=matthijs%2Fupstream%2Fbackupninja.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