The Samba-Bugzilla – Attachment 14493 Details for
Bug 13616
Error running "samba-tool dbcheck" after upgrading from 4.8.5 to 4.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove utf-8 decode from dbchecker.py
dbchecker.patch (text/plain), 1.68 KB, created by
Thomas Rosenstein
on 2018-09-19 12:48:10 UTC
(
hide
)
Description:
Patch to remove utf-8 decode from dbchecker.py
Filename:
MIME Type:
Creator:
Thomas Rosenstein
Created:
2018-09-19 12:48:10 UTC
Size:
1.68 KB
patch
obsolete
>--- dbchecker.py 2018-07-12 08:23:36.000000000 +0000 >+++ dbchecker.py 2018-09-19 12:17:07.828022990 +0000 >@@ -944,7 +944,7 @@ > self.duplicate_link_cache[duplicate_cache_key] = False > > for val in obj[forward_attr]: >- dsdb_dn = dsdb_Dn(self.samdb, val.decode('utf8'), forward_syntax) >+ dsdb_dn = dsdb_Dn(self.samdb, val, forward_syntax) > > # all DNs should have a GUID component > guid = dsdb_dn.dn.get_extended_component("GUID") >@@ -1179,7 +1179,7 @@ > obj[attrname] = ldb.MessageElement(vals, 0, attrname) > > for val in obj[attrname]: >- dsdb_dn = dsdb_Dn(self.samdb, val.decode('utf8'), syntax_oid) >+ dsdb_dn = dsdb_Dn(self.samdb, val, syntax_oid) > > # all DNs should have a GUID component > guid = dsdb_dn.dn.get_extended_component("GUID") >@@ -1321,7 +1321,7 @@ > match_count = 0 > if reverse_link_name in res[0]: > for v in res[0][reverse_link_name]: >- v_dn = dsdb_Dn(self.samdb, v.decode('utf8')) >+ v_dn = dsdb_Dn(self.samdb, v) > v_guid = v_dn.dn.get_extended_component("GUID") > v_blob = v_dn.dn.get_extended_component("RMD_FLAGS") > v_rmd_flags = 0 >@@ -1346,7 +1346,7 @@ > continue > expected_count = 0 > for v in obj[attrname]: >- v_dn = dsdb_Dn(self.samdb, v.decode('utf8')) >+ v_dn = dsdb_Dn(self.samdb, v) > v_guid = v_dn.dn.get_extended_component("GUID") > v_blob = v_dn.dn.get_extended_component("RMD_FLAGS") > v_rmd_flags = 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13616
:
14493
|
14499
|
14500
|
14501
|
14565
|
14650
|
14651
|
14652
|
14653
|
14768
|
14769
|
14786
|
14906