Displaying 2 results from an estimated 2 matches for "deleted_objects_dn".
2018 Nov 13
0
Error running "samba-tool dbcheck" after going from 4.8.6 to 4.9.2
...f --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py
index 9af11162ce5..ac8fc563b48 100644
--- a/python/samba/dbchecker.py
+++ b/python/samba/dbchecker.py
@@ -2328,7 +2328,9 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
parent_dn = deleted_objects_dn
if parent_dn is None:
parent_dn = obj.dn.parent()
- expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))
+ expected_dn = parent_dn
+ if expected_dn.add_child("RDN=RDN") == False:
+ raise Comman...
2018 Nov 08
3
Error running "samba-tool dbcheck" after going from 4.8.6 to 4.9.2
I just tested Samba 4.9.2 on one of my DCs, previously running version
4.8.6. Immediately after install, I ran "samba-tool dbcheck" and got the
following:
Checking 511 objects
ERROR(<type 'exceptions.UnicodeDecodeError'>): uncaught exception -
'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in
range(128)
File