lib/param: Make lp_usershare_max_shares() a common parameter
authorAndrew Bartlett <abartlet@samba.org>
Mon, 23 Jul 2012 02:47:41 +0000 (12:47 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Jul 2012 09:01:17 +0000 (11:01 +0200)
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

lib/param/param_functions.c
source3/param/loadparm.c

index 3a0ac757508800fd8c060584e4bdca90aa9a7379..7f2d87855209f48d4e78615a37634c84ccad7b55 100644 (file)
@@ -339,6 +339,7 @@ FN_GLOBAL_INTEGER(srv_minprotocol, srv_minprotocol)
 FN_GLOBAL_INTEGER(syslog, syslog)
 FN_GLOBAL_INTEGER(usernamelevel, unamelevel)
 FN_GLOBAL_INTEGER(username_map_cache_time, iUsernameMapCacheTime)
+FN_GLOBAL_INTEGER(usershare_max_shares, iUsershareMaxShares)
 FN_GLOBAL_INTEGER(web_port, web_port)
 FN_GLOBAL_INTEGER(winbind_cache_time, winbind_cache_time)
 FN_GLOBAL_INTEGER(winbind_expand_groups, winbind_expand_groups)
index 26f81f2eca03dd2ddf035a1b82b339459fb31344..bee204b9c796b57819bc4e7f2af5ac8afacf5aca 100644 (file)
@@ -5265,7 +5265,6 @@ int lp_cups_encrypt(void)
 /* These functions remain in source3/param for now */
 
 FN_GLOBAL_INTEGER(security, security)
-FN_GLOBAL_INTEGER(usershare_max_shares, iUsershareMaxShares)
 FN_GLOBAL_STRING(configfile, szConfigFile)
 
 #include "lib/param/param_functions.c"