diff options
author | Michael Adam <obnox@samba.org> | 2014-02-02 14:14:09 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-03 13:26:40 +1300 |
commit | 4670c43b3228d39422ce01d0e65544de4e723d25 (patch) | |
tree | 19c2ceb1234edbcd1263b5374b72e8e3e79a7730 /source3/smbd/service.c | |
parent | 3e8d02be8ef9b4c0e3cacf20f2c103dc07c1b531 (diff) | |
download | samba-4670c43b3228d39422ce01d0e65544de4e723d25.tar.gz samba-4670c43b3228d39422ce01d0e65544de4e723d25.tar.xz samba-4670c43b3228d39422ce01d0e65544de4e723d25.zip |
loadparm: rename lp[cfg]_hostsallow to lp[cfg]_hosts_allow for consistency with docs
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r-- | source3/smbd/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 61b655ba023..32032afd8f1 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -248,7 +248,7 @@ static NTSTATUS share_sanity_checks(const struct tsocket_address *remote_address } if (!lp_snum_ok(snum) || - !allow_access(lp_hostsdeny(snum), lp_hostsallow(snum), + !allow_access(lp_hostsdeny(snum), lp_hosts_allow(snum), rhost, raddr)) { return NT_STATUS_ACCESS_DENIED; } |