diff options
author | intrigeri <intrigeri@boum.org> | 2008-06-23 21:07:19 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-06-23 21:07:19 +0000 |
commit | f9a0906320659de2483519f230ee5696cd3ab12c (patch) | |
tree | 6b948911b2e50356517b2f107effe5c0c0013a4b /handlers/ldap.in | |
parent | 7772134eb3cf7e6311f033059a234b746dceabbe (diff) | |
download | backupninja-f9a0906320659de2483519f230ee5696cd3ab12c.tar.gz backupninja-f9a0906320659de2483519f230ee5696cd3ab12c.tar.bz2 |
LDAP: support HDB backend just as the BDB one
Diffstat (limited to 'handlers/ldap.in')
-rw-r--r-- | handlers/ldap.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |