Bug 26986 - Backup2Master Transferiert Master rollen nicht
Backup2Master Transferiert Master rollen nicht
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 critical (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Arvid Requate
: interim-3
Depends on:
Blocks: 27893 33382
  Show dependency treegraph
 
Reported: 2012-05-04 09:25 CEST by Kevin Dominik Korte
Modified: 2013-11-14 14:43 CET (History)
3 users (show)

See Also:
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

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Dominik Korte univentionstaff 2012-05-04 09:25:09 CEST
Beim Ausführen von Backup2Master werden die Rollen die Master Rollen (rid|pdc|infrastructure|schema|naming) von Samba 4 nicht übertragen. Entsprechend Scheitert dass hinzufügen weitere Samba 4 Server und, nach auslaufen der RID Pools, weiterer User.

Entsprechend müsste der folgende Befehl in das Script  mit aufgenommen werden:
samba-tool fsmo seize --role=all
Comment 1 Stefan Gohmann univentionstaff 2012-07-06 09:40:58 CEST
Ich bekomme auf dem neuen Master:

root@backup42:~# samba-tool fsmo seize --role=all
ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'cmd_fsmo_seize' object has no attribute 'rid_dn'
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/__init__.py", line 135, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/fsmo.py", line 110, in run
    self.seize_role("rid", samdb, force)
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/fsmo.py", line 67, in seize_role
    m.dn = ldb.Dn(samdb, self.rid_dn)
Comment 3 Stefan Gohmann univentionstaff 2012-07-09 14:06:32 CEST
fsmo.py wurde aus dem aktuellen Upstream Samba4 Repo übernommen und die Rollen werden in backup2master übertragen.
Comment 4 Arvid Requate univentionstaff 2012-07-12 12:58:13 CEST
Verified:
 * Funktion OK
 * Changelog OK
Comment 5 Stefan Gohmann univentionstaff 2012-07-20 15:25:00 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".