search for: indexerror

Displaying 20 results from an estimated 86 matches for "indexerror".

2015 Dec 30
4
dns_tkey_negotiategss: TKEY is unacceptable
...n <module> paths, lp.configfile, lp) File "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 282, in find_provision_key_parameters names.policyid = str (res7 [0] ["cn"]). replace ("{", ""). replace ("}", "") IndexError: list index out of range With more Debug [....] Module 'tombstone_reanimate' is disabled. Skip registration.lpcfg_servicenumber: could not find ldb schema_fsmo_init: we are master [in] updates allowed [in] lpcfg_servicenumber: could not find ldb lpcfg_servicenumber: could not find ldb l...
2012 Sep 06
4
[PATCH] pygrub: always append --args
...aviour but simplifies the code which appends the string. Signed-off-by: Olaf Hering <olaf@aepfle.de> diff -r 19d367bf07b7 -r 8a2eef481d3a tools/pygrub/src/pygrub --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -615,13 +615,15 @@ def run_grub(file, entry, fs, arg): except IndexError: img = g.cf.images[0] - grubcfg = { "kernel": None, "ramdisk": None, "args": None } + grubcfg = { "kernel": None, "ramdisk": None, "args": "" } grubcfg["kernel"] = img.kernel[1] if img.initr...
2019 Jul 17
4
domain backup online
On my primary Samba AD DC server all work ok when doing online backup, but on my secudary server I have error: 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_si...
2016 Jun 29
4
Classicupgrade of 4.1.17 error: "list index out of range"
..." --option="bind interfaces only=yes" /etc/samba/smb.conf.PDC Reading smb.conf Provisioning Exporting account policy Exporting groups Exporting users Skipping wellknown rid=501 (for username=nobody) Next rid = 3307 ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out of range File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 1321, in r...
2019 Aug 29
4
Online Backup Fails - list index out of range
...17:04:06,889 pid:13945 /usr/lib/python3/dist-packages/samba/join.py #1643: Setting isSynchronized and dsServiceName INFO 2019-08-29 17:04:07,303 pid:13945 /usr/lib/python3/dist-packages/samba/join.py #1555: Cloned domain MICROLYNX (SID S-1-5-21-4012640977-2272627666-3977488320) ERROR(<class 'IndexError'>): 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 =...
2019 Jul 22
2
Backup Error
I'm trying to do a backup of my DC and I get this error: samba-tool domain backup online --server=athena --targetdir=/opt 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 ??...
2019 Nov 05
3
List Index Out of Range
Hello, I have three Samba Active Directory Domain Controllers that, from all metrics seem to be working just fine, but for one thing: When I run the following command: # samba-tool visualize uptodateness -r I always get the following response: ERROR(<class 'IndexError'>): 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/visualize.py", line 682, in run utdv_edges = get_utdv_edge...
2019 Sep 22
2
error samba backup online
...sr/local/samba/lib/python3.4/site-packages/samba/join.py #1652: Setting isSynchronized and dsServiceName INFO 2019-09-23 00:14:25,268 pid:11552 /usr/local/samba/lib/python3.4/site-packages/samba/join.py #1564: Cloned domain domain (SID S-1-5-21-2047087912-2064396158-1170935892) ERROR(<class 'IndexError'>): uncaught exception - 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", lin...
2019 Feb 28
6
samba-tool domain backup ERROR
...t at dc-ste-01:~# samba-tool domain backup online --server=dc-ste-01 --targetdir=. -U administrator Password for [LF\administrator]: .... Committing SAM database Setting isSynchronized and dsServiceName Cloned domain LF (SID S-1-5-21-2842440679-1648109622-3732055899) 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...
2018 Mar 24
2
Samba NT4 to AD- LDAP
...using TDB as the backend and it has always worked. The issue I am seeing is when I run the following, we get samba-tool domain classicupgrade --dbdir=/var/lib/samba.PDC/dbdir --realm=LIN.GROUP --dns-backend=SAMBA_INTERNAL /etc/samba.PDC/smb.PDC.conf Next rid = 10003 ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out of range File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 1460, in run useeadb=eadb...
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
2015 Dec 30
0
dns_tkey_negotiategss: TKEY is unacceptable
...igfile, lp) > File > "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", > line 282, in find_provision_key_parameters > names.policyid = str (res7 [0] ["cn"]). replace ("{", ""). replace > ("}", "") > IndexError: list index out of range > > With more Debug > > [....] > > Module 'tombstone_reanimate' is disabled. Skip > registration.lpcfg_servicenumber: could not find ldb > schema_fsmo_init: we are master [in] updates allowed [in] > lpcfg_servicenumber: could not find ldb...
2015 Dec 30
0
dns_tkey_negotiategss: TKEY is unacceptable
...igfile, lp) > File > "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", > line 282, in find_provision_key_parameters > names.policyid = str (res7 [0] ["cn"]). replace ("{", ""). replace > ("}", "") > IndexError: list index out of range > > With more Debug > > [....] > > Module 'tombstone_reanimate' is disabled. Skip > registration.lpcfg_servicenumber: could not find ldb > schema_fsmo_init: we are master [in] updates allowed [in] > lpcfg_servicenumber: could not find ldb...
2012 Dec 04
1
classicupgrade fails on rc6, worked on rc5
...wing error when performing a classicupgrade on rc6. This does not occur with rc4 or rc5. The command I am using is: samba-tool domain classicupgrade \ --dbdir=/root/import/var/lib/samba --use-xattrs=yes \ --realm=internal.testdom.com /root/import/etc/samba/smb.conf ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out of range File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1318,...
2023 Jan 27
1
[PATCH v2v] -o rhv-upload: Give a nicer error if the storage domain does not exist
...ing `\` may work but it is needed. You can do this: storage_domain = [sd for sd in storage_domains if sd.name == params['output_storage']][0] This is also the common way to indent list comprehension that makes the expression more clear. > +except IndexError: > + raise RuntimeError("The storage domain ?%s? does not exist" % > + params['output_storage']) The fix is safe and makes sense. Not sure why we list all storage domains when we already know the name, maybe Albert would like to clean up this mess...
2008 Dec 03
1
system-config-network crash
...earlier this evening I used system-config-network to add it to the system. Now when I try to run system-config-network again it crashes with the following error. Can anyone tell me how I can fix this? Component: system-config-network Version: 1.3.99.10 Summary: TBa9c752cb ConfPAP.py:85:initvars:IndexError: list index out of range Traceback (most recent call last): File "/usr/sbin/system-config-network-gui", line 167, in main window = mainDialog() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 247, in __init__ self.load() File "/usr/shar...
2015 Nov 13
2
Problem switching to BIND9_DLZ
..., in <module> paths, lp.configfile, lp) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 271, in find_provision_key_parameters names.policyid = str(res7[0]["cn"]).replace("{","").replace("}","") IndexError: list index out of range That is the names.policyid line in below snippet ----------------------------------- res7 = samdb.search(expression="(displayName=Default Domain Policy)", base="CN=Policies,CN=System," + basedn, s...
2019 Jul 18
4
domain backup online
...ri?ic via samba > Gesendet: Wednesday, 17 July 2019 13:39 > An: samba at lists.samba.org > Betreff: [Samba] domain backup online > > On my primary Samba AD DC server all work ok when doing online backup, but on my secudary server I have error: > > 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 23...
2019 Feb 28
0
samba-tool domain backup ERROR
...AD, i assum you run with rid backend. Hmm, i have to think about this, i know there was an bugreport on the backup option.. I'll see if i can find it. @Rowland, do you know if the SID/RID of Administrator is the same on the DC's when using RID backend? Last @Stefan, i noticed also : IndexError Run on both DC's : samba-tool dbcheck --reindex Try again. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan Kania via samba > Verzonden: donderdag 28 februari 2019 13:47 > Aan: samba at lists.samba.o...
2012 Aug 16
6
undefined method `with_indifferent_access' for "":String
...o update the attributes in this object previously saved in the database I have one object comp and one object reg they have this relationship comp has_many regs reg belongs_to comp when run use the method valid? like this current_contribuyente.comps.build(params[:comp]).valid? it returns: IndexError (string not matched) And when I try to update directly the comp directly it return this error: @comp = current_contribuyente.comps.find(params[:id]) @comp.update_attributes(params[:comp]) NoMethodError (undefined method `with_indifferent_access'' for "":String): This is the c...