]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4/torture/drs/python: ndr_unpack needs bytes samba4.drs.getnc_exop
authorNoel Power <noel.power@suse.com>
Fri, 15 Jun 2018 09:39:09 +0000 (10:39 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 15 Sep 2018 13:18:29 +0000 (15:18 +0200)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/drs/python/getnc_exop.py

index ca73840f29cd9a6794e193ac3a930d7b9b8619e8..554e6e8bde23c5564ae213bf166519a95cb82ccf 100644 (file)
@@ -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