summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-06-15 10:39:09 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-09-15 15:18:29 +0200
commit4e6987e54d4a948503f5b5fdfa58d02d079ef21c (patch)
tree851d875ba3cf80cd6d3614faf60dd35155cbaa00 /source4
parent40638fe74fa3dec5de5129ee114cebbbbb05d1fb (diff)
downloadsamba-4e6987e54d4a948503f5b5fdfa58d02d079ef21c.tar.gz
s4/torture/drs/python: ndr_unpack needs bytes samba4.drs.getnc_exop
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/drs/python/getnc_exop.py2
1 files changed, 1 insertions, 1 deletions
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