Displaying 3 results from an estimated 3 matches for "get_utdv".
Did you mean:
get_uids
2019 Nov 05
3
List Index Out of Range
...39;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_edges(local_kcc, dsas, part_dn, lp, creds)
File "/usr/lib/python3/dist-packages/samba/uptodateness.py", line 120, in get_utdv_edges
cursors = get_utdv(samdb, part_dn)
File "/usr/lib/python3/dist-packages/samba/uptodateness.py", line 86, in get_utdv
settings_dn = str(res[0]["...
2019 Nov 06
0
List Index Out of Range
...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_edges(local_kcc, dsas, part_dn, lp, creds)
> File "/usr/lib/python3/dist-packages/samba/uptodateness.py",
> line 120, in get_utdv_edges
> cursors = get_utdv(samdb, part_dn)
> File "/usr/lib/python3/dist-packages/samba/uptodateness.py",
> line 86, in get_utdv
>...
2019 Nov 06
1
List Index Out of Range
...//bugzilla.samba.org/show_bug.cgi?id=14184
>
> Hi Louis, you might want to close that bug report ;-)
>
> It has been fixed in master and at least 4.11.2. Open
> /usr/lib/python3/dist-packages/samba/uptodateness.py in your
> favourite
> editor
>
> Go down to 'def get_utdv(samdb, dn):'
>
> Find this block:
>
> ??????? res = samdb.search(base=config_dn,
> ?????????????????????????? expression=("(&(invocationId=%s)"
> ??????????????????????????????????????
> "(objectClass=nTDSDSA))" % inv_id),
> ???????????????...