samba 4.7.0 AD DC: FSMO roles transfer error

Daniele Dario d.dario76 at gmail.com
Wed Oct 11 10:25:51 UTC 2017


Hi samba team,
I'm upgrading my two DCs to 4.7.0 from 4.6.5 and as advised I started
upgrading the DC which doesn't hold the FSMO roles.

After successfully upgraded it I tried to transfer the roles to the
other one but encountered some issues:

[root at kdc02:~/src/samba-4.7.0]# samba-tool fsmo transfer --role=all -U
administrator
FSMO transfer of 'rid' role successful
ERROR: Transfer of 'pdc' role failed: Failed FSMO transfer:
NT_STATUS_IO_TIMEOUT
[root at kdc02:~/src/samba-4.7.0]# samba-tool fsmo transfer --role=all -U
administrator
This DC already has the 'rid' FSMO role
This DC already has the 'pdc' FSMO role
FSMO transfer of 'naming' role successful
ERROR: Transfer of 'infrastructure' role failed: Failed FSMO transfer:
NT_STATUS_IO_TIMEOUT
[root at kdc02:~/src/samba-4.7.0]# samba-tool fsmo transfer --role=all -U
administrator
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
Password for [SAITEL\administrator]:
ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module'
object has no attribute 'drs_utils'
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 515, in run
    "domaindns", samdb)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 129, in transfer_dns_role
    except samba.drs_utils.drsException, e:

AFAICS, there's a missing "import samba.drs_utils" in fsmo.py.

Also, if I add a time.sleep(1) between the "transfer_role" statements I
don't hit the timeout issue when transferring multiple roles on the same
time.

Daniele.




More information about the samba-technical mailing list