[Samba] Lost DC with FSMO-Rolls

Stefan Kania stefan at kania-online.de
Wed Nov 5 09:54:54 MST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I lost my DC with all fsmo-roles. I try to "seize" the roles to
another DC. It worked four out of five roles:

root at SVL-V-AD1:~# samba-tool fsmo seize --role=rid
Attempting transfer...
Transfer unsuccessful, seizing...
FSMO seize of 'rid' role successful

root at SVL-V-AD1:~# samba-tool fsmo seize --role=pdc
Attempting transfer...
Transfer unsuccessful, seizing...
FSMO seize of 'pdc' role successful

root at SVL-V-AD1:~# samba-tool fsmo seize --role=infrastructure
Attempting transfer...
Transfer unsuccessful, seizing...
FSMO seize of 'infrastructure' role successful

root at SVL-V-AD1:~# samba-tool fsmo seize --role=schema
Attempting transfer...
Transfer unsuccessful, seizing...
FSMO seize of 'schema' role successful

But it faild foir the role "naming":

root at SVL-V-AD1:~# samba-tool fsmo seize --role=naming
Attempting transfer...
ERROR(ldb): uncaught exception - Failed FSMO transfer:
NT_STATUS_CONNECTION_REFUSED
  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
160, in run
    self.seize_role(role, samdb, force)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
126, in seize_role
    transfer_role(self.outf, role, samdb)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line
53, in transfer_role
    samdb.modify(m)

After that "samba-tool fsmo show " gives the following error:

root at SVL-V-AD1:~# 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
207, in run
    self.namingMaster = res[0]["fSMORoleOwner"][0]

What can I do, to get all roles back to work?

Stefan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRaVl4ACgkQ2JOGcNAHDTaL2wCfaV5HRlJ0a0zrN8AjcUFzUiht
magAoJuXSAs+jaWA9vtUs4sSjC/XSjPd
=rb4w
-----END PGP SIGNATURE-----


More information about the samba mailing list