Displaying 20 results from an estimated 24 matches for "get_sid_for_restor".
Did you mean:
get_sid_for_restore
2019 Jul 17
4
domain backup online
...;>): 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])
How to fix?
Complete output:
root at dc2:/var/log# samba-tool domain backup online
--server=dc2.intra.mydomain.com -...
2019 Aug 29
4
Online Backup Fails - list index out of range
...'>): uncaught exception - list index out of range
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 258, in run
new_sid = get_sid_for_restore(remote_sam)
File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 81, in get_sid_for_restore
rid = int(res[0].get('rIDNextRID')[0])
Is this another bug?
Thanks,
Roy
2019 Jul 22
2
Backup Error
...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])
--
Bob Wooldridge
EDM Incorporated
2019 Sep 22
2
error samba backup online
...on - list index out of range
File "/usr/local/samba/lib/python3.4/site-packages/samba/netcmd/__init__.py",
line 185, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python3.4/site-packages/samba/netcmd/domain_backup.py",
line 258, in run
new_sid = get_sid_for_restore(remote_sam)
File "/usr/local/samba/lib/python3.4/site-packages/samba/netcmd/domain_backup.py",
line 81, in get_sid_for_restore
rid = int(res[0].get('rIDNextRID')[0])
command used is
samba-tool domain backup online --targetdir=/backupi/
--server=server-Ubck --password=pwd...
2019 Jul 23
4
Determine PDC
I put samba on my network last week as a DC and then I transfered all 5
FSMO roles which I thought made it the PDC.? But now I'm not sure
because trying to do a backup fails.? Is there a way to determine which
machine is the PDC of a domain?
--
Bob Wooldridge
EDM Incorporated
2019 Jul 18
4
domain backup online
...n - 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])
>
>
> How to fix?
>
> Complete output:
>
> root at dc2:/var/log# samba-tool domain b...
2019 Feb 28
6
samba-tool domain backup ERROR
...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])
-----------------
If we do it on the other DC we got the following messages:
-----------------
root at dc-ste-01:~#...
2019 Jul 17
0
domain backup online
...;>): 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])
How to fix?
Complete output:
root at dc2:/var/log# samba-tool domain backup online --server=dc2.intra.mydomain.com -...
2019 Jul 23
2
Determine PDC
...le "/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),...
2019 Jul 18
0
domain backup online
...f 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])
>>
>>
>> How to fix?
>>
>> Complete output:
>>
>> r...
2019 Feb 28
0
samba-tool domain backup ERROR
...> 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])
>
So, I've seen this before when you try to back up a DC that hasn't
initialized its RID...
2019 Jul 22
0
Backup Error
...> 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])
>
This happens when you try to back up a DC that hasn't initialized its
RID pool yet.
I thou...
2019 Jul 23
0
Determine PDC
...; 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 p...
2019 Jul 23
0
Determine PDC
...2.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...
2019 Aug 29
0
Online Backup Fails - list index out of range
...eption - list index out of range
> File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 258, in run
> new_sid = get_sid_for_restore(remote_sam)
> File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 81, in get_sid_for_restore
> rid = int(res[0].get('rIDNextRID')[0])
>
> Is this another bug?
>
> Thanks,
>
> Roy
>
>
Never got that, just kept getting ask...
2019 Aug 29
0
Online Backup Fails - list index out of range
...exception - list index out of range
> File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 258, in run
> new_sid = get_sid_for_restore(remote_sam)
> File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 81, in get_sid_for_restore
> rid = int(res[0].get('rIDNextRID')[0])
>
> Is this another bug?
It's not really a bug. The backup process needs to allocate a new RID
and th...
2019 Aug 30
0
backup AD content
...> 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 ;-)
Tim Beale wrote this:
It's not really a bug. The backup process ne...
2020 Nov 12
0
samba-tool domain backup online fails with uncaught exception - list index out of range
...'>): uncaught exception - list index out of range
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186,
in _run
return self.run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line
258, in run
new_sid = get_sid_for_restore(remote_sam)
File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line
81, in get_sid_for_restore
rid = int(res[0].get('rIDNextRID')[0])
If I run the same command on the same server but specify --server=
dc1.corp.domain.com, the backup runs without error:
r...
2019 Mar 01
1
samba-tool domain backup ERROR
.../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])
> >
> So, I've seen this before when you try to back up a DC...
2019 Feb 28
0
samba-tool domain backup ERROR
...ange
> 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])
>
> -----------------
>
> If we do it on the other DC we got the following message...