summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-22 22:35:28 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-23 07:17:57 +0000
commitc0ff93b033da632d5ad4a004d6fff05d08f5cf78 (patch)
tree69b6c1ff0486a0f975f32e15f7be41842ca2a1cd /source4
parentbf1f2d4eb8c35ca4547993f33a1e19ff0c3c03c2 (diff)
downloadsamba-c0ff93b033da632d5ad4a004d6fff05d08f5cf78.tar.gz
samba-c0ff93b033da632d5ad4a004d6fff05d08f5cf78.tar.bz2
samba-c0ff93b033da632d5ad4a004d6fff05d08f5cf78.zip
s4-drs: we don't need to decode to utf8 in python dcerpc strings any more
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/drs_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/drs_utils.py b/source4/scripting/python/samba/drs_utils.py
index 3476763045..936bfbb3dc 100644
--- a/source4/scripting/python/samba/drs_utils.py
+++ b/source4/scripting/python/samba/drs_utils.py
@@ -119,7 +119,7 @@ class drs_Replicate:
req8.destination_dsa_guid = destination_dsa_guid
req8.source_dsa_invocation_id = source_dsa_invocation_id
req8.naming_context = drsuapi.DsReplicaObjectIdentifier()
- req8.naming_context.dn = dn.decode("utf-8")
+ req8.naming_context.dn = dn
req8.highwatermark = drsuapi.DsReplicaHighWaterMark()
req8.highwatermark.tmp_highest_usn = 0
req8.highwatermark.reserved_usn = 0