git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed258b
)
python/samba: provision_dns_add_samba.ldif expects utf-16-le passwords
author
Stefan Metzmacher
<metze@samba.org>
Thu, 16 Feb 2017 23:10:12 +0000
(
00:10
+0100)
committer
Ralph Boehme
<slow@samba.org>
Tue, 21 Feb 2017 15:09:22 +0000
(16:09 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12262
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/join.py
patch
|
blob
|
history
diff --git
a/python/samba/join.py
b/python/samba/join.py
index 058fa083bb4d3369e53d246dd77c8815381d51e6..64854681fb5f4372a57a41b9c5c5b16ff07df625 100644
(file)
--- a/
python/samba/join.py
+++ b/
python/samba/join.py
@@
-708,7
+708,7
@@
class dc_join(object):
{"DNSDOMAIN": ctx.dnsdomain,
"DOMAINDN": ctx.base_dn,
"HOSTNAME" : ctx.myname,
- "DNSPASS_B64": b64encode(ctx.dnspass),
+ "DNSPASS_B64": b64encode(ctx.dnspass
.encode('utf-16-le')
),
"DNSNAME" : ctx.dnshostname}))
for changetype, msg in recs:
assert changetype == ldb.CHANGETYPE_NONE