summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 12:47:41 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-24 11:01:17 +0200
commitb62b0318155e0c22a0a62ec6735f507b1b6c0f5d (patch)
tree141e2177d558a1e4441cef78e87635ac01fe2756
parentf3562424b6079065319e6a5362e5c7cdea36140e (diff)
downloadsamba-b62b0318155e0c22a0a62ec6735f507b1b6c0f5d.tar.gz
samba-b62b0318155e0c22a0a62ec6735f507b1b6c0f5d.tar.bz2
samba-b62b0318155e0c22a0a62ec6735f507b1b6c0f5d.zip
lib/param: Make lp_usershare_max_shares() a common parameter
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
-rw-r--r--lib/param/param_functions.c1
-rw-r--r--source3/param/loadparm.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 3a0ac75750..7f2d878552 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -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)
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 26f81f2eca..bee204b9c7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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"