summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-09 20:48:48 +0000
committerJeremy Allison <jra@samba.org>1998-04-09 20:48:48 +0000
commitaf80d8e98f2f74939d680c6abc21e3f40b927f31 (patch)
treefdca9c39f0ce5ad080b57edbbfefb1c315539946 /source3/param
parent9907a58ca63ec4a8c39709da4a275ddf0b6a3aa3 (diff)
downloadsamba-af80d8e98f2f74939d680c6abc21e3f40b927f31.tar.gz
samba-af80d8e98f2f74939d680c6abc21e3f40b927f31.tar.bz2
samba-af80d8e98f2f74939d680c6abc21e3f40b927f31.zip
Makefile, loadparm.c, server.c, smb.h, util.c: Patch from
stn@techfak.uni-kiel.de (Stefan Nehlsen) to get homes from the NIS+ map. smbpasswd.c: Tidy up of cli_state structure. Jeremy. (This used to be commit fc2295e0f5729585fdb3ee47edb290851d4071c5)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 837632788e..da9d2f77a5 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -740,8 +740,12 @@ static void init_globals(void)
Globals.bUnixRealname = False;
#if (defined(NETGROUP) && defined(AUTOMOUNT))
Globals.bNISHomeMap = False;
+#ifdef NISPLUS
+ string_set(&Globals.szNISHomeMapName, "auto_home.org_dir");
+#else
string_set(&Globals.szNISHomeMapName, "auto.home");
#endif
+#endif
Globals.client_code_page = DEFAULT_CLIENT_CODE_PAGE;
Globals.bTimeServer = False;
Globals.bBindInterfacesOnly = False;