summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-05-02 11:45:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:43 -0500
commit63a41d7d4dbdf04b9718757886fdd087ad597d30 (patch)
tree6985798ab4f684d492b1836d38aae6ec15d84318 /source4/param
parentcac54feea80f512bf6b74185025cbe4cdade7702 (diff)
downloadsamba-63a41d7d4dbdf04b9718757886fdd087ad597d30.tar.gz
samba-63a41d7d4dbdf04b9718757886fdd087ad597d30.tar.bz2
samba-63a41d7d4dbdf04b9718757886fdd087ad597d30.zip
r448: Fix 'auth' in Samba4, by making 'auth methods' a normal smb.conf
paramter, without special links to other variables. When we get 'server role' ideas back into Samba4, we can fix this properly. The default is: guest, sam_ignoredomain which is the expected behaviour for a stand-alone server. Andrew Bartlett (This used to be commit 56ebc4275fedc8141d43a4ae9a4f4f0e1eccaf49)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 90fc86380e..7218b2ecab 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -932,6 +932,8 @@ static void init_globals(void)
Globals.dcerpc_ep_servers = str_list_make("epmapper srvsvc wkssvc rpcecho", NULL);
+ Globals.AuthMethods = str_list_make("guest sam_ignoredomain", NULL);
+
string_set(&Globals.szSMBPasswdFile, dyn_SMB_PASSWD_FILE);
string_set(&Globals.szPrivateDir, dyn_PRIVATE_DIR);