[PATCH] samba-tool throws error if there is an empty FSMO role
repenny241155 at gmail.com
Thu Mar 31 12:23:43 UTC 2016
Hi, if there are any empty FSMO roles in AD, 'samba-tool fsmo' throws an
error, this happens if you try to show or transfer an empty role.
The attached patch will cure this, if you run 'samba-tool fsmo show' any
empty roles will be shown similar to this:
DomainDnsZonesMasterRole owner: * The 'domaindns' role does not have
an FSMO roleowner
If you try to transfer an empty role, rather than throwing an error, it
will now tell you the role as no owner i.e.
samba-tool fsmo transfer --role=pdc
* The 'pdc' role does not have an FSMO roleowner
You will then be able to seize the role.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15414 bytes
Desc: not available
More information about the samba-technical