summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-19 21:14:37 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-19 21:14:37 +0100
commitb876478219b4935013a798962b95596cc45d7c9b (patch)
treea642259a639d6f1dd8fe451d953af0fec2acb84c /source4/setup
parent2254efbf5d34cffbb8b21e8ef3cec06786081a06 (diff)
downloadsamba-b876478219b4935013a798962b95596cc45d7c9b.tar.gz
samba-b876478219b4935013a798962b95596cc45d7c9b.tar.bz2
samba-b876478219b4935013a798962b95596cc45d7c9b.zip
Make sure server_role gets initialized in backend provisioning code -
fixes test.
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision2
-rwxr-xr-xsource4/setup/provision-backend2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 55535cfd4a..d097eb9411 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -160,7 +160,7 @@ if opts.server_role == "dc":
elif opts.server_role == "member":
server_role = "member server"
else:
- server_role = opts.server_role
+ server_role = opts.server_role
creds = credopts.get_credentials(lp)
diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend
index aad7de4327..756870d5df 100755
--- a/source4/setup/provision-backend
+++ b/source4/setup/provision-backend
@@ -90,7 +90,7 @@ if opts.server_role == "dc":
elif opts.server_role == "member":
server_role = "member server"
else:
- server_role = opts.server_role
+ server_role = opts.server_role
setup_dir = opts.setupdir
if setup_dir is None: