Merge pull request #49 from nzakaria/master
Moved remote access for other users to end of IPv4 section
This commit is contained in:
commit
9fd8b48074
1 changed files with 1 additions and 1 deletions
|
@ -82,10 +82,10 @@ local all postgres ident <%= "sameuser" if @
|
|||
local all all ident <%= "sameuser" if @postgres_default_version == "8.1" %>
|
||||
# IPv4 local connections:
|
||||
host all postgres <%= @ip_mask_deny_postgres_user + "\t" %> reject
|
||||
host all all <%= @ip_mask_allow_all_users + "\t" %> md5
|
||||
<% @ipv4acls.each do |acl|; parts = acl.split -%>
|
||||
<%= parts[0] + "\t" + parts[1] + "\t" + parts[2] + "\t\t" + parts[3] + "\t\t" + parts[4] + "\t" + parts.last(parts.length - 5).join(" ") %>
|
||||
<% end -%>
|
||||
host all all <%= @ip_mask_allow_all_users + "\t" %> md5
|
||||
# IPv6 local connections:
|
||||
host all all ::1/128 md5
|
||||
<% @ipv6acls.each do |acl|; parts = acl.split -%>
|
||||
|
|
Loading…
Reference in a new issue