1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

param: Rename variable used for lp_load_printers bLoadPrinters

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andrew Bartlett 2013-12-24 16:03:49 +13:00 committed by Jeremy Allison
parent ddaa64bf8c
commit cfc69044d0
3 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,7 @@ FN_GLOBAL_BOOL(lanman_auth, lanman_auth)
FN_GLOBAL_BOOL(large_readwrite, large_readwrite)
FN_GLOBAL_BOOL(ldap_delete_dn, ldap_delete_dn)
FN_GLOBAL_BOOL(ldap_ssl_ads, ldap_ssl_ads)
FN_GLOBAL_BOOL(load_printers, bLoadPrinters)
FN_GLOBAL_BOOL(load_printers, load_printers)
FN_GLOBAL_BOOL(local_master, bLocalMaster)
FN_GLOBAL_BOOL(log_writeable_files_on_exit, bLogWriteableFilesOnExit)
FN_GLOBAL_BOOL(map_untrusted_to_domain, bMapUntrustedToDomain)

View File

@ -2040,7 +2040,7 @@ static struct parm_struct parm_table[] = {
.label = "load printers",
.type = P_BOOL,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(bLoadPrinters),
.offset = GLOBAL_VAR(load_printers),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_PRINT,

View File

@ -805,7 +805,7 @@ static void init_globals(bool reinit_globals)
Globals.AlgorithmicRidBase = BASE_RID;
Globals.bLoadPrinters = true;
Globals.load_printers = true;
Globals.PrintcapCacheTime = 750; /* 12.5 minutes */
Globals.ConfigBackend = config_backend;