From: Noel Power Date: Fri, 15 Jun 2018 09:39:09 +0000 (+0100) Subject: s4/torture/drs/python: ndr_unpack needs bytes samba4.drs.getnc_exop X-Git-Tag: tdb-1.3.17~1580 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6987e54d4a948503f5b5fdfa58d02d079ef21c;p=thirdparty%2Fsamba.git s4/torture/drs/python: ndr_unpack needs bytes samba4.drs.getnc_exop Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- diff --git a/source4/torture/drs/python/getnc_exop.py b/source4/torture/drs/python/getnc_exop.py index ca73840f29c..554e6e8bde2 100644 --- a/source4/torture/drs/python/getnc_exop.py +++ b/source4/torture/drs/python/getnc_exop.py @@ -921,7 +921,7 @@ class DrsReplicaPrefixMapTestCase(drs_base.DrsBaseTestCase): attrs=["prefixMap", "schemaInfo"]) pfm = ndr_unpack(drsblobs.prefixMapBlob, - str(res[0]['prefixMap'])) + res[0]['prefixMap'][0]) schi = drsuapi.DsReplicaOIDMapping() schi.id_prefix = 0