diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index 6e7cbc92b61007c8be9250bda49b3b25e658f901..36b4a910613a74598d54ab6016a5412140b03f4b 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -1,5 +1,5 @@ @@ -451,6 +451,11 @@ local all all trust # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD host all all 127.0.0.1 255.255.255.255 trust +# The same as the last line but using a CIDR mask +# +# TYPE DATABASE USER IP-ADDRESS/CIDR-mask METHOD +host all all 127.0.0.1/32 trust + # Allow any user from any host with IP address 192.168.93.x to connect # to database "template1" as the same user name that ident reports for # the connection (typically the Unix user name). @@ -458,6 +463,11 @@ host all all 127.0.0.1 255.255.255.255 trust # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD host template1 all 192.168.93.0 255.255.255.0 ident sameuser +# The same as the last line but using a CIDR mask +# +# TYPE DATABASE USER IP-ADDRESS/CIDR-mask METHOD +host template1 all 192.168.93.0/24 ident sameuser + # Allow a user from host 192.168.12.10 to connect to database # "template1" if the user's password is correctly supplied. #