[Samba] Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION

Carlos carlos.hollow at gmail.com
Wed Jul 24 15:53:16 UTC 2019


Tested with samba version 4.9.X, after comment 3 lines in join.py, join 
was ok, but erro is same...

smbclient //localhost/netlogon -UAdministrator -c 'ls'
Enter XXXXXXX\Administrator's password:
session setup failed: NT_STATUS_INTERNAL_DB_CORRUPTION

Regards;


On 24/07/2019 11:44, Carlos wrote:
>
> 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
>     check_expired_tombstones=selftest_check_expired_tombstones)
>   File "/opt/samba/lib/python3.6/site-packages/samba/dbchecker.py", 
> line 221, in __init__
>     self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0])
>
> ===
>
> samba-tool dbcheck --cross-ncs --fix --yes
> 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
>     check_expired_tombstones=selftest_check_expired_tombstones)
>   File "/opt/samba/lib/python3.6/site-packages/samba/dbchecker.py", 
> line 221, in __init__
>     self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0])
>
> ---
>
> But strange that with samba 4.6.10 or 4.8.3 this problem does not 
> occur NT_STATUS_INTERNAL_DB_CORRUPTION, I have not tried with versions 
> of samba 4.9.X, is it something in version 4.10.6?
>
>
> Regards;
>
>
>
> On 24/07/2019 11:36, Rowland penny via samba wrote:
>> On 24/07/2019 15:02, Carlos via samba wrote:
>>> Hi, ok, now join(with samba 4.10.6) was ok, but same original error :-/
>>>
>>> smbclient //localhost/netlogon -UAdministrator -c 'ls'
>>> Enter XXXXXXX\Administrator's password:
>>> session setup failed: NT_STATUS_INTERNAL_DB_CORRUPTION
>>
>> All I can suggest is to try and run 'samba-tool dbcheck'
>>
>> Rowland
>>
>>
>>


More information about the samba mailing list