projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made maildir handler spit out username when in debug mode
[matthijs/upstream/backupninja.git]
/
handlers
/
ldap
diff --git
a/handlers/ldap
b/handlers/ldap
index 242755edcd8b393e2c7b639fbba9ec823d5cf453..5f9040a32ebe056f3f3c24050aa4ada9ab2a2d5f 100644
(file)
--- a/
handlers/ldap
+++ b/
handlers/ldap
@@
-27,7
+27,7
@@
status="ok"
[ -d $backupdir ] || mkdir -p $backupdir
[ -d $backupdir ] || fatal "Backup directory '$backupdir'"
[ -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=="ldbm") print db,$2}' $conf|@SED@
-e 's/[" ]//g'`)
## LDIF DUMP
## LDIF DUMP