summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-30 14:55:45 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-30 14:55:45 +0000
commitaca3fa914928bdb1b7ea091ffe169a4e74b213d0 (patch)
tree8fe6b3f2a67514a5b3fd6c4521e2e56fb8dde7a4 /source3/param/loadparm.c
parent9d4b66c9744297b7daf52177d2561f14e0579a2f (diff)
downloadsamba-aca3fa914928bdb1b7ea091ffe169a4e74b213d0.tar.gz
samba-aca3fa914928bdb1b7ea091ffe169a4e74b213d0.tar.xz
samba-aca3fa914928bdb1b7ea091ffe169a4e74b213d0.zip
Add the 'guest' passdb backend automatically if
guest account != "" Volker (This used to be commit 21d330af107f744af9569b5577afc6e7ba6a269c)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 95f6896e6b4..d6e24dfc3c6 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1419,9 +1419,9 @@ static void init_globals(void)
#ifdef WITH_LDAP_SAMCONFIG
string_set(&Globals.szLdapServer, "localhost");
Globals.ldap_port = 636;
- Globals.szPassdbBackend = str_list_make("ldapsam_compat guest", NULL);
+ Globals.szPassdbBackend = str_list_make("ldapsam_compat", NULL);
#else
- Globals.szPassdbBackend = str_list_make("smbpasswd guest", NULL);
+ Globals.szPassdbBackend = str_list_make("smbpasswd", NULL);
#endif /* WITH_LDAP_SAMCONFIG */
string_set(&Globals.szLdapSuffix, "");