Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH to
authorBruce Momjian <[email protected]>
Tue, 30 May 2000 16:36:34 +0000 (16:36 +0000)
committerBruce Momjian <[email protected]>
Tue, 30 May 2000 16:36:34 +0000 (16:36 +0000)
AUTHTYPE in config file.  Patch both branches.

src/backend/Makefile
src/backend/libpq/pg_hba.conf.sample

index ae90a17b0427924ce738624daf59e02f095a9656..27ce2867e40e16a8d4661caef9f9d0a12d95da99 100644 (file)
@@ -34,7 +34,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.47 2000/05/11 17:46:28 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.47.2.1 2000/05/30 16:36:34 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -188,7 +188,8 @@ endif
 install-templates: $(TEMPLATEDIR) \
          global1.bki.source local1_template1.bki.source \
          global1.description local1_template1.description \
-         libpq/pg_hba.conf.sample optimizer/geqo/pg_geqo.sample \
+         libpq/pg_hba.conf.sample libpq/pg_ident.conf.sample \
+    optimizer/geqo/pg_geqo.sample \
          pg_options.sample
    $(INSTALL) $(INSTLOPTS) global1.bki.source \
      $(TEMPLATEDIR)/global1.bki.source
@@ -200,6 +201,8 @@ install-templates: $(TEMPLATEDIR) \
      $(TEMPLATEDIR)/local1_template1.description
    $(INSTALL) $(INSTLOPTS) libpq/pg_hba.conf.sample \
      $(TEMPLATEDIR)/pg_hba.conf.sample
+   $(INSTALL) $(INSTLOPTS) libpq/pg_ident.conf.sample \
+     $(TEMPLATEDIR)/pg_ident.conf.sample
    $(INSTALL) $(INSTLOPTS) optimizer/geqo/pg_geqo.sample \
      $(TEMPLATEDIR)/pg_geqo.sample
    $(INSTALL) $(INSTLOPTS) pg_options.sample \
index 1152a3c6cfbd8570a1cdc90d581c8655f1bca97c..047a63a217abbcd1d4c561bdd8a4252b18e0d176 100644 (file)
@@ -37,7 +37,7 @@
 #
 # Format:
 # 
-#   host DBNAME IP_ADDRESS ADDRESS_MASK USERAUTH [AUTH_ARGUMENT]
+#   host DBNAME IP_ADDRESS ADDRESS_MASK AUTHTYPE [AUTH_ARGUMENT]
 # 
 # DBNAME is the name of a PostgreSQL database, "all" to indicate all 
 # databases, or "sameuser" to restrict a user's access to a database
@@ -47,7 +47,7 @@
 # mask to identify a set of hosts.  These hosts are allowed to connect to 
 # Database DBNAME. 
 # 
-# USERAUTH is a keyword indicating the method used to authenticate the 
+# AUTHTYPE is a keyword indicating the method used to authenticate the 
 # user, i.e. to determine that the principal is authorized to connect
 # under the PostgreSQL username he supplies in his connection parameters.
 #
 #
 # Format:
 # 
-#   local DBNAME USERAUTH [AUTH_ARGUMENT]
+#   local DBNAME AUTHTYPE [AUTH_ARGUMENT]
 #
 # The format is the same as that of the "host" record type except that the
 # IP_ADDRESS and ADDRESS_MASK are omitted and the "ident", "krb4" and "krb5"
-# values of USERAUTH are not allowed.
+# values of AUTHTYPE are not allowed.
 
 # For backwards compatibility, PostgreSQL also accepts pre-version 6 records,
 # which look like:
 # 
 #   all         127.0.0.1    0.0.0.0
 
-# TYPE       DATABASE    IP_ADDRESS    MASK              USERAUTH  MAP
+# TYPE       DATABASE    IP_ADDRESS    MASK              AUTHTYPE  MAP
  
 #host         all         127.0.0.1     255.255.255.255   trust