+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS ldap:ldap_database_backup"
ldap_create_file() {
# conf = /etc/ldap/slapd.conf
# databases = all
EOF
- chmod 000 $next_filename
+ chmod 600 $next_filename
return
done
}
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