Univention Bugzilla – Full Text Bug Listing |
Summary: | Adjust UMC-AD-Takeover to Samba 4.3 | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | AD Takeover | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | enhancement | ||
Priority: | P5 | CC: | gohmann |
Version: | UCS 4.1 | Keywords: | interim-2 |
Target Milestone: | UCS 4.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: | 38874 | ||
Bug Blocks: | 41192 | ||
Attachments: | seize_additional_fsmo_roles.patch |
changelog: r64348 univention-management-console-module-adtakeover: r64346 successfully "took over" a w2k12 server I've took over a AD domain and now I get the following error: root@master581:~# samba-tool fsmo show ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such element' File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 390, in run infrastructureMaster = get_fsmo_roleowner(samdb, infrastructure_dn) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 42, in get_fsmo_roleowner master_owner = res[0]["fSMORoleOwner"][0] root@master581:~# Maybe simply go for 'all' ? Stange traceback.. From log.samba: [2015/11/03 06:27:24.323139, 0, pid=19847] ../source4/dsdb/repl/drepl_ridalloc.c:207(dreplsrv_ridalloc_check_rid_pool) ../source4/dsdb/repl/drepl_ridalloc.c:207: Failed to find fSMORoleOwner in RID Manager object - Cannot find attribute fSMORoleOwner of CN=RID Manager$,CN=System,DC=deadlock58,DC=intranet to calculate reference dn → 10.201.58.2 univention-management-console-module-adtakeover: r65191 claim_FSMO_roles() is now called before removing the ad server. -> samba-tool fsmo show SchemaMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test InfrastructureMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test RidAllocationMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test PdcEmulationMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test DomainNamingMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test DomainDnsZonesMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test ForestDnsZonesMasterRole owner: CN=NTDS Settings,CN=MASTER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=w2k12,DC=test Yes, it works now. Changelog OK. UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug". |
Created attachment 7121 [details] seize_additional_fsmo_roles.patch Samba 4.3 implements support for two additional FSMO roles "domaindnsmaster' and 'forestdnsmaster'. The attached patch for univention-management-console-module-adtakeover makes use of this.