Bug 38679

Summary: add option to disable univention-ldap-backup
Product: UCS Reporter: Felix Botner <botner>
Component: LDAPAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: gohmann, michelsmidt
Version: UCS 4.0   
Target Milestone: UCS 4.1-3-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Forked for project
Max CVSS v3 score:
Attachments: univention-ldap.patch

Description Felix Botner univentionstaff 2015-06-10 11:26:15 CEST
We need a UCR variable to disable the cron job /etc/cron.d/univention-ldap-server which call univention-ldap-backup.
Comment 1 Felix Botner univentionstaff 2015-07-28 11:33:34 CEST
Created attachment 7055 [details]
univention-ldap.patch
Comment 2 Michel Smidt 2016-06-14 09:59:46 CEST
*** Bug 41430 has been marked as a duplicate of this bug. ***
Comment 3 Felix Botner univentionstaff 2016-08-24 09:41:12 CEST
/etc/cron.d/univention-ldap-server is now a template. UCR slapd/backup to disable the cron job, slapd/backup/cron to configure the cron interval.

univention-ldap.yaml
merged to 4.2
Comment 4 Stefan Gohmann univentionstaff 2016-09-07 06:33:03 CEST
Basically it works. I think we should set default values and/or describe the possible values in the UCR variables description.

root@master411:~# ucr search slapd/backup
slapd/backup/cron: <empty>
 Cron interval for the slapd database backup.

slapd/backup: <empty>
 Activates/deactivates the slapd database backup (slapcat).

root@master411:~#
Comment 5 Felix Botner univentionstaff 2016-09-07 09:24:46 CEST
OK, univention-ldap-server now sets defaults for slapd/backup/cron and slapd/backup. Added defaults to description.

errata4.1-3
4.2-0
updated yaml
Comment 6 Stefan Gohmann univentionstaff 2016-09-07 12:18:03 CEST
Code review: OK

ucs-test: OK

Tests: OK

YAML: OK
Comment 7 Janek Walkenhorst univentionstaff 2016-09-07 18:41:37 CEST
<http://errata.software-univention.de/ucs/4.1/249.html>