summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision-backend2
-rwxr-xr-xsource4/setup/upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend
index 7d20ef5202..aad7de4327 100755
--- a/source4/setup/provision-backend
+++ b/source4/setup/provision-backend
@@ -83,7 +83,7 @@ if opts.realm is None or opts.domain is None:
parser.print_usage()
sys.exit(1)
-smbconf = sambaopts.get_loadparm().configfile()
+smbconf = sambaopts.get_loadparm().configfile
if opts.server_role == "dc":
server_role = "domain controller"
diff --git a/source4/setup/upgrade b/source4/setup/upgrade
index 03c6747d4e..3363c3a962 100755
--- a/source4/setup/upgrade
+++ b/source4/setup/upgrade
@@ -62,7 +62,7 @@ if setup_dir is None:
setup_dir = "setup"
lp = sambaopts.get_loadparm()
-smbconf = lp.configfile()
+smbconf = lp.configfile
creds = credopts.get_credentials(lp)
upgrade_provision(samba3, setup_dir, message, credentials=creds, session_info=system_session(),