|
|
@ -74,3 +74,17 @@ mmc-add-schema /usr/share/doc/python-mmc-base/contrib/ldap/mail.schema /etc/ldap |
|
|
|
|
|
|
|
# to put in /etc/mmc/plugins/base.ini |
|
|
|
|
|
|
|
|
|
|
|
## |
|
|
|
## LDAP Backup |
|
|
|
## |
|
|
|
|
|
|
|
cat <<EOF > /etc/cron.d/ldapbackup |
|
|
|
|
|
|
|
SHELL=/bin/sh |
|
|
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
|
|
|
|
|
|
|
32 1 * * * root ansi_colors=no dayold=3 nbold=15 ldapdump_to_dir /var/backups |
|
|
|
|
|
|
|
EOF |
|
|
|
|