diff options
author | Noel Power <noel.power@suse.com> | 2018-11-28 13:58:49 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:21 +0100 |
commit | d253e84a41b9f18243d57c41656d28fcd07e476a (patch) | |
tree | 577896eb8296786be8d0079aa3e99709ef993b94 /python/samba/join.py | |
parent | 9b18748c703593a3c257c47b626966b0bd6caa3f (diff) | |
download | samba-d253e84a41b9f18243d57c41656d28fcd07e476a.tar.gz |
python/samba: PY3 Credential.set_password takes string
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/join.py')
-rw-r--r-- | python/samba/join.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/join.py b/python/samba/join.py index 343b1a50934..e2aa5fdd28a 100644 --- a/python/samba/join.py +++ b/python/samba/join.py @@ -946,7 +946,7 @@ class DCJoinContext(object): repl_creds.guess(ctx.lp) repl_creds.set_kerberos_state(DONT_USE_KERBEROS) repl_creds.set_username(ctx.samname) - repl_creds.set_password(ctx.acct_pass.encode('utf-8')) + repl_creds.set_password(ctx.acct_pass) else: repl_creds = ctx.creds |