X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fldap.helper;h=9aecec8c0ec53ea19e4c8e6618d1eb867022c9b1;hb=098952b69d5b39ea27bbe544cd85345422d03d80;hp=7670817d775b8d8568936e2ec151376338727dbd;hpb=67b5cf70d7a48bf9333e448b0d1ca53aacc252ea;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/ldap.helper b/handlers/ldap.helper index 7670817..9aecec8 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -1,3 +1,5 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS ldap:ldap_database_backup" ldap_create_file() { @@ -44,7 +46,7 @@ $passwordfile # conf = /etc/ldap/slapd.conf # databases = all EOF - chmod 000 $next_filename + chmod 600 $next_filename return done }