[Samba] Determine PDC

Rowland penny rpenny at samba.org
Tue Jul 23 20:27:02 UTC 2019


On 23/07/2019 21:21, Robert A Wooldridge via samba wrote:
> On 07/23/2019 03:16 PM, Rowland penny via samba wrote:
>> Did you actually read my last post ????
>>
>> If you only transferred 5 of the roles, which of the SEVEN roles did 
>> you not transfer ?
> My bad, I transferred all 7 roles:
> SchemaMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
> InfrastructureMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
> RidAllocationMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
> PdcEmulationMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
> DomainNamingMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
> DomainDnsZonesMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
> ForestDnsZonesMasterRole owner: CN=NTDS 
> Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com
>>
>>>
>>> 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)
>>>   File 
>>> "/usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", 
>>> line 237, in run
>>>     new_sid = get_sid_for_restore(remote_sam)
>>>   File 
>>> "/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])
>>
>> Try creating a user (you can delete it later if you don't need it), 
>> it looks like your rid pool isn't set up.
> On which machine, the new one or the existing Windows Server?

The one you are getting the error on, which I presume is the new one.

Rowland






More information about the samba mailing list