summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:46 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:51 -0800
commit1786669536893976e8fd627359e59f4459e0907f (patch)
tree01e409f9760c66edd22691679f66a7b48f789345
parentbb2e797193fcab78617bcaec60412950053395dc (diff)
downloadsamba-1786669536893976e8fd627359e59f4459e0907f.tar.gz
samba-1786669536893976e8fd627359e59f4459e0907f.tar.xz
samba-1786669536893976e8fd627359e59f4459e0907f.zip
param: Rename variable used for lp_defer_sharing_violations bDeferSharingViolations
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index f0d0949a5e..ffefbfa29b 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -171,7 +171,7 @@ FN_GLOBAL_BOOL(debug_hires_timestamp, debug_hires_timestamp)
FN_GLOBAL_BOOL(debug_pid, debug_pid)
FN_GLOBAL_BOOL(debug_prefix_timestamp, debug_prefix_timestamp)
FN_GLOBAL_BOOL(debug_uid, debug_uid)
-FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations)
+FN_GLOBAL_BOOL(defer_sharing_violations, defer_sharing_violations)
FN_GLOBAL_BOOL(disable_netbios, bDisableNetbios)
FN_GLOBAL_BOOL(_disable_spoolss, bDisableSpoolss)
FN_GLOBAL_BOOL(_domain_logons, bDomainLogons)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 2fb165f1d9..bb871e4263 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1447,7 +1447,7 @@ static struct parm_struct parm_table[] = {
.label = "defer sharing violations",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bDeferSharingViolations),
+ .offset = GLOBAL_VAR(defer_sharing_violations),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_GLOBAL,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 77df3a2865..79538433e7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1003,7 +1003,7 @@ static void init_globals(bool reinit_globals)
Globals.client_signing = SMB_SIGNING_DEFAULT;
Globals.server_signing = SMB_SIGNING_DEFAULT;
- Globals.bDeferSharingViolations = true;
+ Globals.defer_sharing_violations = true;
Globals.smb_ports = (const char **)str_list_make_v3(NULL, SMB_PORTS, NULL);
Globals.bEnablePrivileges = true;