diff options
| author | Michael Adam <obnox@samba.org> | 2014-02-02 14:21:12 +0100 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-03 13:26:51 +1300 |
| commit | cdb6af95dd744869a743d8ca82682e1fd11b3382 (patch) | |
| tree | 1bfea9a842638fdaff1e2d69721afaa6f8af5ce1 /source3/utils | |
| parent | c48c4daf4a28e91db1047a1e3e9e2ab1d259735f (diff) | |
| download | samba-cdb6af95dd744869a743d8ca82682e1fd11b3382.tar.gz samba-cdb6af95dd744869a743d8ca82682e1fd11b3382.tar.xz samba-cdb6af95dd744869a743d8ca82682e1fd11b3382.zip | |
loadparm: rename lp[cfg]_hostsdeny to lp[cfg]_hosts_deny 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/utils')
| -rw-r--r-- | source3/utils/testparm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index f0c8e5fdc4..f905875a65 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -338,7 +338,7 @@ static int do_global_checks(void) */ static void do_per_share_checks(int s) { - const char **deny_list = lp_hostsdeny(s); + const char **deny_list = lp_hosts_deny(s); const char **allow_list = lp_hosts_allow(s); int i; @@ -569,8 +569,8 @@ static void do_per_share_checks(int s) /* this is totally ugly, a real `quick' hack */ for (s=0;s<1000;s++) { if (VALID_SNUM(s)) { - if (allow_access(lp_hostsdeny(-1), lp_hosts_allow(-1), cname, caddr) - && allow_access(lp_hostsdeny(s), lp_hosts_allow(s), cname, caddr)) { + if (allow_access(lp_hosts_deny(-1), lp_hosts_allow(-1), cname, caddr) + && allow_access(lp_hosts_deny(s), lp_hosts_allow(s), cname, caddr)) { fprintf(stderr,"Allow connection from %s (%s) to %s\n", cname,caddr,lp_servicename(talloc_tos(), s)); } else { |
