summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-08-09 14:50:12 +0200
committerSimo Sorce <idra@samba.org>2010-08-13 12:20:10 -0400
commit4a5cef82d8c2a0f35e9c06a0dc262fdb367279a1 (patch)
treece5a45226dc6dd8baaaea3d6dae1342571dbbf83 /source3/param
parente18039062c77947dd4e6d1c841a7c587a85ab8ce (diff)
downloadsamba-4a5cef82d8c2a0f35e9c06a0dc262fdb367279a1.tar.gz
samba-4a5cef82d8c2a0f35e9c06a0dc262fdb367279a1.tar.bz2
samba-4a5cef82d8c2a0f35e9c06a0dc262fdb367279a1.zip
s3-loadparm: Added some comments to lp_load_ex calls.
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 90699c06d8..e5c6038d91 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9296,18 +9296,19 @@ bool lp_load(const char *pszFname,
save_defaults,
add_ipc,
initialize_globals,
- true, false);
+ true, /* allow_include_registry */
+ false); /* allow_registry_shares*/
}
bool lp_load_initial_only(const char *pszFname)
{
return lp_load_ex(pszFname,
- true,
- false,
- false,
- true,
- false,
- false);
+ true, /* global only */
+ false, /* save_defaults */
+ false, /* add_ipc */
+ true, /* initialize_globals */
+ false, /* allow_include_registry */
+ false); /* allow_registry_shares*/
}
bool lp_load_with_registry_shares(const char *pszFname,
@@ -9321,8 +9322,8 @@ bool lp_load_with_registry_shares(const char *pszFname,
save_defaults,
add_ipc,
initialize_globals,
- true,
- true);
+ true, /* allow_include_registry */
+ true); /* allow_registry_shares*/
}
/***************************************************************************