summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:29 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:46 -0800
commit8399e6d2c6ee442dd17862fb326c6afa0143ff61 (patch)
tree78de885b6fb809a7fbdfac05f75085cc0a3a66e2 /source3/param
parent136139129ebded3eef2d17a1107a94fde5631158 (diff)
param: Rename variable used for lp_guest_only bGuest_only
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index da22afa224..c1cd4051c6 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -214,7 +214,7 @@ static struct loadparm_service sDefault =
.access_based_share_enum = false,
.bAvailable = true,
.readonly = true,
- .bGuest_only = false,
+ .guest_only = false,
.bAdministrative_share = false,
.guest_ok = false,
.print_ok = false,
@@ -1743,7 +1743,7 @@ static bool lp_add_ipc(const char *ipc_name, bool guest_ok)
ServicePtrs[i]->max_connections = 0;
ServicePtrs[i]->bAvailable = true;
ServicePtrs[i]->readonly = true;
- ServicePtrs[i]->bGuest_only = false;
+ ServicePtrs[i]->guest_only = false;
ServicePtrs[i]->bAdministrative_share = true;
ServicePtrs[i]->guest_ok = guest_ok;
ServicePtrs[i]->print_ok = false;