From: Andrew Bartlett Date: Mon, 23 Jul 2012 02:47:41 +0000 (+1000) Subject: lib/param: Make lp_usershare_max_shares() a common parameter X-Git-Tag: samba-4.0.0beta5~128 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=b62b0318155e0c22a0a62ec6735f507b1b6c0f5d;p=nivanova%2Fsamba-autobuild%2F.git lib/param: Make lp_usershare_max_shares() a common parameter Pair-Programmed-With: Andrew Tridgell --- diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 3a0ac757508..7f2d8785520 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 26f81f2eca0..bee204b9c79 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"