[Samba] backup AD content

Stefan G. Weichinger lists at xunil.at
Fri Aug 30 14:26:10 UTC 2019


On 30.08.19 15:59, Rowland penny via samba wrote:

>> ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index
>> out of range
>>    File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
>> 178, 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])
>>
> We had this yesterday ;-)

oh, really? You know, tunnel mode ...

> Tim Beale wrote this:
> 
> It's not really a bug. The backup process needs to allocate a new RID
> and the DC you're running the backup against doesn't have a RID pool
> allocated. E.g. see:
> 
> https://lists.samba.org/archive/samba/2019-February/221619.html
> 
> I have improved the error message you get in this case on master, but I
> haven't backported this yet.

ok, thanks so far. I will improve my cronjobs asap etc



More information about the samba mailing list