mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
python/samba: PY3 Credential.set_password takes string
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user