projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rub: Fixed integer comparison (Closes: Trac#3)
[matthijs/upstream/backupninja.git]
/
handlers
/
ldap.helper
diff --git
a/handlers/ldap.helper
b/handlers/ldap.helper
index bd77ca1f093edd44d27a68a015076182dc06321e..697c720209595a84c62de09a7bd8fc32a7cd938e 100644
(file)
--- a/
handlers/ldap.helper
+++ b/
handlers/ldap.helper
@@
-1,4
+1,5
@@
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS ldap:ldap_database_backup"
ldap_create_file() {
HELPERS="$HELPERS ldap:ldap_database_backup"
ldap_create_file() {
@@
-53,7
+54,7
@@
done
ldap_wizard() {
bdb=no
ldbm=no
ldap_wizard() {
bdb=no
ldbm=no
- for backend in `grep -e "^backend" /etc/ldap/slapd.conf |
awk
'{print $2}'`; do
+ for backend in `grep -e "^backend" /etc/ldap/slapd.conf |
@AWK@
'{print $2}'`; do
if [ "$backend" == "bdb" -a "$bdb" == "no" ]; then
bdb=yes
elif [ "$backend" == "ldbm" -a "$ldbm" == "no" ]; then
if [ "$backend" == "bdb" -a "$bdb" == "no" ]; then
bdb=yes
elif [ "$backend" == "ldbm" -a "$ldbm" == "no" ]; then