diff options
author | Noel Power <noel.power@suse.com> | 2018-09-07 10:10:56 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-15 15:18:25 +0200 |
commit | 181e3966fbbeb571e9b15cb34d29ff3d95d8e7c6 (patch) | |
tree | 542c14b98b431f03dee749514c89da72129197e1 /python/samba/provision | |
parent | 18ab3ea7bcc0ae8c66ece8094446017c7ceb736b (diff) | |
download | samba-181e3966fbbeb571e9b15cb34d29ff3d95d8e7c6.tar.gz |
python/samba/provision: PY3 port to run samba.tests.upgradeprovisionneeddc
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/provision')
-rw-r--r-- | python/samba/provision/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py index 66f69ce9c3f..e5f0a02ca78 100644 --- a/python/samba/provision/__init__.py +++ b/python/samba/provision/__init__.py @@ -250,7 +250,7 @@ def find_provision_key_parameters(samdb, secretsdb, idmapdb, paths, smbconf, # default site name res3 = samdb.search(expression="(objectClass=site)", - base="CN=Sites," + names.configdn, scope=ldb.SCOPE_ONELEVEL, attrs=["cn"]) + base="CN=Sites," + str(names.configdn), scope=ldb.SCOPE_ONELEVEL, attrs=["cn"]) names.sitename = str(res3[0]["cn"]) # dns hostname and server dn |