Displaying 3 results from an estimated 3 matches for "ntds_service_dn".
2019 Jul 24
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
Hi
samba-tool dbcheck
ERROR(<class 'KeyError'>): uncaught exception - 'No such element'
? File
"/opt/samba/lib/python3.6/site-packages/samba/netcmd/__init__.py", line
185, in _run
??? return self.run(*args, **kwargs)
? File
"/opt/samba/lib/python3.6/site-packages/samba/netcmd/dbcheck.py", line
141, in run
???
2019 Jul 24
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
....6/site-packages/samba/dbchecker.py",
>> line 221, in __init__
>> ??? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0])
>
> I think this is a python 3 problem, the code around line 221 in
> dbchecker is this:
>
> ??????? res = samdb.search(base=ntds_service_dn,
> ?????????????????????????? scope=ldb.SCOPE_BASE,
> ?????????????????????????? expression="(objectClass=nTDSService)",
> ?????????????????????????? attrs=["tombstoneLifetime"])
> ??????? if "tombstoneLifetime" in res[0]:
> ??????????? self.tombstoneLif...
2019 Jul 24
0
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
...cker.py",
>>> line 221, in __init__
>>> ??? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0])
>>
>> I think this is a python 3 problem, the code around line 221 in
>> dbchecker is this:
>>
>> ??????? res = samdb.search(base=ntds_service_dn,
>> ?????????????????????????? scope=ldb.SCOPE_BASE,
>> expression="(objectClass=nTDSService)",
>> ?????????????????????????? attrs=["tombstoneLifetime"])
>> ??????? if "tombstoneLifetime" in res[0]:
>> ??????????? self.tombstoneLifetime =...