[Samba] FSMO Transfer fail

Rowland penny rpenny at samba.org
Thu Jul 7 20:52:25 UTC 2016


On 07/07/16 21:01, Anderson Hoffmann do Carmo wrote:
> Hi.
>
> root at gteste2:~#
> root at gteste2:~# samba-tool fsmo transfer --role=all -UAdministrador
> --password=#######
> This DC already has the 'rid' FSMO role
> This DC already has the 'pdc' FSMO role
> This DC already has the 'naming' FSMO role
> This DC already has the 'infrastructure' FSMO role
> This DC already has the 'schema' FSMO role
> ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception - local
> variable 'master_guid' referenced before assignment
>    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 452,
> in run
>      transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
>    File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in
> transfer_dns_role
>      master_dns_name = '%s._msdcs.%s' % (master_guid,
> root at gteste2:~#
> root at gteste2:~#
>
>
>
>
> root at gteste2:~#
> root at gteste2:~#
> root at gteste2:~# 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 396,
> in run
>      domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn)
>    File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 43, in
> get_fsmo_roleowner
>      master_owner = res[0]["fSMORoleOwner"][0]
> root at gteste2:~#
> root at gteste2:~#
>
>
>
> Thanks,
> Anderson Hoffmann
>
>
>
>
>

OK, I have been informed that the required patches have now entered 
Samba master and have been released with the latest update (4.4.5)

Rowland




More information about the samba mailing list