Univention Bugzilla – Full Text Bug Listing |
Summary: | 3.0-2: Nach samba4 DC rejoin können lokal keine samba Benutzer angelegt werden | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | Samba4 | Assignee: | Arvid Requate <requate> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann |
Version: | UCS 3.0 | Keywords: | interim-1 |
Target Milestone: | UCS 3.1 | ||
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: | 25393 | ||
Bug Blocks: | |||
Attachments: | Patch liest rIDNextRID aus und gibt es beim join vor |
Description
Arvid Requate
2012-08-30 10:42:13 CEST
Created attachment 4630 [details]
Patch liest rIDNextRID aus und gibt es beim join vor
Das dürfte auch UCS@school DCs in der Zentrale betreffen (nicht am Außenstandort).
Der Patch 92_bug27027_keep_existing_option_for_domain_join_dc.patch ist für UCS 3.1-0 entsprechend angepasst, Paket baut, Test steht noch aus. Der Patch war doch deutlich aufwändiger, weil das provision die vorgegebene next_rid leider nicht wirklich setzt. Mit dem angepassten Patch verlieft der Test jetzt OK, UCS 3.1-0 Changelog Eintrag ist jetzt auch da: "A bug affecting rejoins of Samba 4 DCs has been fixed, where the RID pool rIDNextRID counter was lost, possibly blocking the local creation of new Samba 4 accounts. Now this counter will be preserved during rejoins (\ucsBug{28373})." Im join.log sieht man damit jetzt: ============================================================================== cleanup_old_join: rIDAllocationPool: 9015136355904 cleanup_old_join: preserving rIDNextRID: 1601 cleanup_old_join: preserving rIDPreviousAllocationPool: 9015136355904 [...] Calling bare provision [...] do_join: restoring rIDNextRID: 1601 do_join: successfully restored rIDNextRID Joined domain ARUCS3I8 (SID S-1-5-21-3971689879-1817862189-368804197) as a DC ============================================================================== Der Patch setzt die alte rIDNextRID nur, wenn nach einem Re-Join der rIDAllocationPool der gleiche geblieben ist (was mit --keep-existing immer der Fall sein sollte). Mit univention-s4search "cn=rid set" sieht man dann auch dass rIDNextRID vorhaden und auf den Wert vor dem Join gesetzt ist. Ich kann nach dem neuen Joinen in meiner Domäne über jeden Samba DC Benutzer anlegen und diese werden problemlos repliziert. Changelog: OK. UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug". |