summaryrefslogtreecommitdiffstats
path: root/source3
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
commit136139129ebded3eef2d17a1107a94fde5631158 (patch)
treeb99235cf2f0c85ccac4cda95afc732bfae216123 /source3
parent7b6689039fde323a79f6f4daddbb2d615b6d1be3 (diff)
downloadsamba-136139129ebded3eef2d17a1107a94fde5631158.tar.gz
samba-136139129ebded3eef2d17a1107a94fde5631158.tar.xz
samba-136139129ebded3eef2d17a1107a94fde5631158.zip
param: Rename variable used for lp_guest_ok bGuest_ok
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')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index c9fe4c728a..da22afa224 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -216,7 +216,7 @@ static struct loadparm_service sDefault =
.readonly = true,
.bGuest_only = false,
.bAdministrative_share = false,
- .bGuest_ok = false,
+ .guest_ok = false,
.print_ok = false,
.bPrintNotifyBackchannel = false,
.map_system = false,
@@ -1745,7 +1745,7 @@ static bool lp_add_ipc(const char *ipc_name, bool guest_ok)
ServicePtrs[i]->readonly = true;
ServicePtrs[i]->bGuest_only = false;
ServicePtrs[i]->bAdministrative_share = true;
- ServicePtrs[i]->bGuest_ok = guest_ok;
+ ServicePtrs[i]->guest_ok = guest_ok;
ServicePtrs[i]->print_ok = false;
ServicePtrs[i]->browseable = sDefault.browseable;
@@ -4465,7 +4465,7 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i
/* Set guest access. */
if (lp_usershare_allow_guests()) {
- ServicePtrs[iService]->bGuest_ok = guest_ok;
+ ServicePtrs[iService]->guest_ok = guest_ok;
}
/* And note when it was loaded. */