Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2f52eee

Browse files
committed
Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH to
AUTHTYPE in config file. Patch both branches.
1 parent aea9b6e commit 2f52eee

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/backend/Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#
3535
#
3636
# IDENTIFICATION
37-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.50 2000/05/29 20:51:35 tgl Exp $
37+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.51 2000/05/30 16:36:14 momjian Exp $
3838
#
3939
#-------------------------------------------------------------------------
4040

@@ -205,7 +205,8 @@ endif
205205
install-templates: $(TEMPLATEDIR) \
206206
global1.bki.source local1_template1.bki.source \
207207
global1.description local1_template1.description \
208-
libpq/pg_hba.conf.sample optimizer/geqo/pg_geqo.sample \
208+
libpq/pg_hba.conf.sample libpq/pg_ident.conf.sample \
209+
optimizer/geqo/pg_geqo.sample \
209210
pg_options.sample
210211
$(INSTALL) $(INSTLOPTS) global1.bki.source \
211212
$(TEMPLATEDIR)/global1.bki.source
@@ -217,6 +218,8 @@ install-templates: $(TEMPLATEDIR) \
217218
$(TEMPLATEDIR)/local1_template1.description
218219
$(INSTALL) $(INSTLOPTS) libpq/pg_hba.conf.sample \
219220
$(TEMPLATEDIR)/pg_hba.conf.sample
221+
$(INSTALL) $(INSTLOPTS) libpq/pg_ident.conf.sample \
222+
$(TEMPLATEDIR)/pg_ident.conf.sample
220223
$(INSTALL) $(INSTLOPTS) optimizer/geqo/pg_geqo.sample \
221224
$(TEMPLATEDIR)/pg_geqo.sample
222225
$(INSTALL) $(INSTLOPTS) pg_options.sample \

src/backend/libpq/pg_hba.conf.sample

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#
3838
# Format:
3939
#
40-
# host DBNAME IP_ADDRESS ADDRESS_MASK USERAUTH [AUTH_ARGUMENT]
40+
# host DBNAME IP_ADDRESS ADDRESS_MASK AUTHTYPE [AUTH_ARGUMENT]
4141
#
4242
# DBNAME is the name of a PostgreSQL database, "all" to indicate all
4343
# databases, or "sameuser" to restrict a user's access to a database
@@ -47,7 +47,7 @@
4747
# mask to identify a set of hosts. These hosts are allowed to connect to
4848
# Database DBNAME.
4949
#
50-
# USERAUTH is a keyword indicating the method used to authenticate the
50+
# AUTHTYPE is a keyword indicating the method used to authenticate the
5151
# user, i.e. to determine that the principal is authorized to connect
5252
# under the PostgreSQL username he supplies in his connection parameters.
5353
#
@@ -99,18 +99,18 @@
9999
#
100100
# Format:
101101
#
102-
# local DBNAME USERAUTH [AUTH_ARGUMENT]
102+
# local DBNAME AUTHTYPE [AUTH_ARGUMENT]
103103
#
104104
# The format is the same as that of the "host" record type except that the
105105
# IP_ADDRESS and ADDRESS_MASK are omitted and the "ident", "krb4" and "krb5"
106-
# values of USERAUTH are not allowed.
106+
# values of AUTHTYPE are not allowed.
107107

108108
# For backwards compatibility, PostgreSQL also accepts pre-version 6 records,
109109
# which look like:
110110
#
111111
# all 127.0.0.1 0.0.0.0
112112

113-
# TYPE DATABASE IP_ADDRESS MASK USERAUTH MAP
113+
# TYPE DATABASE IP_ADDRESS MASK AUTHTYPE MAP
114114

115115
#host all 127.0.0.1 255.255.255.255 trust
116116

0 commit comments

Comments
 (0)