Univention Bugzilla – Full Text Bug Listing |
Summary: | Joining of N+1st Samba4 DC may fail due to S4C/DRS replication race | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | Samba4 | Assignee: | Stefan Gohmann <gohmann> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, walkenhorst |
Version: | UCS 3.1 | ||
Target Milestone: | UCS 3.1-1-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): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 31865 |
Description
Arvid Requate
2013-08-19 13:30:37 CEST
Maybe the most simple solution would be to join against the S4 Connector host, but this is not a sufficient criterion in UCS@school environments (especially in case we want to allow for the proposal of Bug 32187). The next best choice might be to use the DNS SRV record _ldap._tcp.pdc._msdcs. Another option would be to avoid the initial broadcast-join attempt altogether and instead pick one Samba 4 hosting DC at a time, check that the new DC account was replicated into it's local Samba directory service before initiating the samba-tool domain join. The univention-samba4 join script checks now if the host account was replicated to the samba 4 of the connector host. It waits for maximal five minutes. I've created a temporary DVD for amd64 to make the test easier since the error occurred during the installation: ucs_3.1-1-latest-amd64.iso You can use it in this way: ucs-kt-instance-create -O ucs -V 3.1 -A amd64 -N UCS-3.1-Test-System -i /mnt/omar/vmwares/kvm/iso/iso-tests/ucs_3.1-1-latest-amd64.iso 3.1-1 Code: r43308 3.1-1 YAML: r43311 3.2 Code: r43313 3.2 Chagelog: r43312 Verifed fixed, Advisory ok. =============================================================== Configure 96univention-samba4.inst Wed Aug 21 11:14:48 CEST 2013 [...] Found DC backup141.arbug32257.qa [...] Starting Samba 4 daemon: samba. Waiting for DRS replication: done Object exists: cn=services,cn=univention,dc=arbug32257,dc=qa =============================================================== Code also merged to UCS 3.2-0 |