[Samba] Determine PDC

Robert A Wooldridge bob.wooldridge at edm-inc.com
Tue Jul 23 20:12:14 UTC 2019

On 07/23/2019 03:09 PM, Rowland penny via samba wrote:
> A PDC doesn't have any FSMO roles, only an AD DC can hold FSMO roles 
> and there are 7 of those:
> SchemaMaster
> InfrastructureMaster
> RidAllocationMaster
> PdcEmulationMaster
> DomainNamingMaster
> DomainDnsZonesMaster
> ForestDnsZonesMaster
> There is (as you can see above) a role called 'PDC Emulator' but this 
> has nothing to do with a PDC.
> The roles do not need to be all on one DC, in fact, if you have 7 DCs, 
> you could have an FSMO role on each DC.
> To see which DC holds which FSMO role, you can run on a DC:
> samba-tool fsmo show
Yes I transferred all of the 5 roles to athena.  But when I do an online 
backup I get this error:

Cloned domain EDM (SID S-1-5-21-3542663288-2793937080-3903977496)
ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index 
out of range
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", 
line 177, in _run
     return self.run(*args, **kwargs)
"/usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 
237, in run
     new_sid = get_sid_for_restore(remote_sam)
"/usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 
73, in get_sid_for_restore
     rid = int(res[0].get('rIDNextRID')[0])

Bob Wooldridge
EDM Incorporated

More information about the samba mailing list