Univention Bugzilla – Full Text Bug Listing |
Summary: | DC Slave \0ACNF: object after joining via DC Backup | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | Samba4 | Assignee: | Samba maintainers <samba-maintainers> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | damrose, gohmann |
Version: | UCS 3.2 | ||
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: | |||
Attachments: |
Short overview of the essential timestamps.
s4slave-join.log connector-s4.log s4search outputs for the objects collected from s4master and s4-backup. Timestamps of the s4slave and s4-backup LDAP objects |
Created attachment 5633 [details]
s4slave-join.log
Created attachment 5634 [details]
connector-s4.log
Created attachment 5635 [details]
s4search outputs for the objects collected from s4master and s4-backup.
Created attachment 5640 [details]
Timestamps of the s4slave and s4-backup LDAP objects
The timestamps show that the DC Backup account was created in UCS LDAP just 1 minute 21 seconds before the account of the DC Slave.
Then, the sync of the DC Backup account from LDAP to Samba4 took about 2:42
but the sync of the DC Slave account then took about 8:29.
So I guess S4 Connector sync delay / load plays a considerable role here.
Just some quick notes, maybe it helps to reproduce this one day. The test setup had been created with virtualized systems, setup with the appliance setup. The DC backup and slave system were running their installation procedure simultaneously. IMHO the most straight forward solution to avoid this situation would be to always let systems join against the System which runs the S4 Connector (UCS@school Bug 32187 should be borne in mind while designing this solution). The second, more complicated solution might be to change the UDM machine account creation process during join (univention-server-join?) to create machine accounts always without samba option and let this option be added at a later stage via the following three possible samba machine account creation mechanisms: 1. by letting the S4-Connector do this (in the UCS default Samba4 domain) 2. by umc_module_selective_udm (in UCS@school) 3. by the Samba 3 LDAP passdb backend Can it still happen? I didn't see it again. (In reply to Stefan Gohmann from comment #8) > Can it still happen? I didn't see it again. Works for me. |
Created attachment 5632 [details] Short overview of the essential timestamps. In a test domain the following situation led to a \0ACNF: object for the DC Slave account after the DC Slave joined via the DC Backup: 1. DC Master with Samba4 2. DC Backup installation/join started 3. DC Slave installation/join started (maybe before DC Backup join finished). The join.log on the DC Slave shows that samba-tool decided to join against the DC Backup. Accordingly object timesamps show that the original DC account object for the DC Slave was created in the Samba4 diectory of the DC Backup. Some minutes later (assuming the clocks of master and backup have been in sync), the connector-s4.log on the DC Master shows a "modification" (I guess it's an add?) of the DC Slave account object coming from UCS LDAP. Accordingly there is a second DC Slave account created at that time. And then a DRS replication confliced occurred, renaming the "older" Samba4 object to \0ACNF:. Maybe there is something we can learn from this case to avoid this.