dup: fixed erroneous gpg-related options processing; example.dup: fixed erroneous...
[matthijs/upstream/backupninja.git] / handlers / ldap.helper
index 44b08cb07a68ec3c039b57d160d8428d1ebef795..838c731316fea2cbc4355e2d9de5779e9b338874 100644 (file)
@@ -1,3 +1,4 @@
+HELPERS="$HELPERS ldap:ldap_database_backup"
 
 ldap_create_file() {
 while true; do
@@ -43,7 +44,7 @@ $passwordfile
 # conf = /etc/ldap/slapd.conf
 # databases = all
 EOF
-     chmod 000 $next_filename
+     chmod 600 $next_filename
      return
 done
 }