Bug 39492

Summary: ldap/server/addition gets reset by univention-directory-policy
Product: UCS Reporter: Jan Christoph Ebersbach <ebersbach>
Component: GeneralAssignee: Bugzilla Mailingliste <bugzilla>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: grandjean, hahn
Version: UCS 4.0   
Target Milestone: ---   
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):
Max CVSS v3 score:

Description Jan Christoph Ebersbach univentionstaff 2015-10-07 14:49:14 CEST
The UCR variable ldap/server/addition gets reset by univention-directory-policy every hour on all UCS server roles.  No LDAP Server policy has been defined and there's no UCR policy that sets this variable.

This behavior breaks every manual configuration on the server.  As a workaround "ucr set --force" can be used.

Steps to reproduce:
# ucr set ldap/server/addition=$(ucr get ldap/server/name)
# ucr get ldap/server/addition
master.univention.intranet
# invoke-rc.d univention-directory-policy restart
# ucr get ldap/server/addition
Comment 1 Philipp Hahn univentionstaff 2015-10-07 18:06:57 CEST
This is the desired behavior; see Bug #38094 for more background info; improved in UCS-4.

*** This bug has been marked as a duplicate of bug 38094 ***