[Samba] samba-tool dbcheck uncaught exception

Wouter Kral - Xpletus wouter at xpletus.nl
Thu Jan 11 10:40:06 UTC 2018

I've this problem to, running Centos 6.9 with Samba 4.7.4.


samba-tool dbcheck results in


ERROR(<type 'exceptions.ValueError'>): uncaught exception - unable to parse
dn string

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
176, in _run

    return self.run(*args, **kwargs)

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line
157, in run

    controls=controls, attrs=attrs)

  File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 199, in

    error_count += self.check_object(object.dn, attrs=attrs)

  File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 2038,
in check_object

    expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))


What can be the problem ?


Cheers! Wouter

More information about the samba mailing list