diff options
-rw-r--r-- | source4/scripting/python/samba/provision/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index 507582bad5..aac0ee36b2 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -2137,6 +2137,7 @@ def provision(logger, session_info, credentials, smbconf=None, adminpass = samba.generate_random_password(12, 32) adminpass_generated = True else: + adminpass = unicode(adminpass, 'utf-8') adminpass_generated = False if samdb_fill == FILL_FULL: |