X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fldap.helper;h=838c731316fea2cbc4355e2d9de5779e9b338874;hb=608d395aa21fcb5b86d28bd3414a18badcfaf3bc;hp=44b08cb07a68ec3c039b57d160d8428d1ebef795;hpb=4c8e2839949be4603fbb8fb9e7a7e536e59c1dc4;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/ldap.helper b/handlers/ldap.helper index 44b08cb..838c731 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -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 }