Bug 38265 - sysvol replication syncronizes deleted policies
Summary: sysvol replication syncronizes deleted policies
Status: RESOLVED WORKSFORME
Alias: None
Product: UCS
Classification: Unclassified
Component: Samba4
Version: UCS 4.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Samba maintainers
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 35619
  Show dependency treegraph
 
Reported: 2015-04-14 23:47 CEST by Kevin Dominik Korte
Modified: 2016-10-06 17:17 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.006
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Dominik Korte univentionstaff 2015-04-14 23:47:49 CEST
Group policy files deleted manually from the cli are resynced from other servers whenever the group policy sync is triggered.
Comment 1 Arvid Requate univentionstaff 2015-04-15 11:58:03 CEST
To avoid this, the sysvol-sync script could lookup to be sync'ed GPOs in the local Samba directory service and exclude unreferenced ones from the merge.

The solution needs to consider the special UCS@school case where sync may run on a Master without a local Samba directory service.
Comment 2 Stefan Gohmann univentionstaff 2016-10-05 15:55:35 CEST
Does it happen often?
Comment 3 Arvid Requate univentionstaff 2016-10-06 12:45:51 CEST
Every time you try to delete group policy directories/files manually.
Comment 4 Kevin Dominik Korte univentionstaff 2016-10-06 17:17:18 CEST
We had the error in two cases. UCS with multiple slaves but no Samba 4 on the master and UCS@School with no Samba 4 on the master.

I think the error happened every time a policy was deleted using the GPO editior, the file was synced from the master, deleting the policy manually from the master resulted it being synced back from the slaves/backups.

I do not think this is currently still relevant, at least neither customer has reported any related issues with UCS 4.1.

As UCS 4.0 is out of Maintenance I would close this Bug with Works for me.