Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27266b7

Browse files
committed
Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH to
AUTHTYPE in config file. Patch both branches.
1 parent4fd3e0d commit27266b7

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

‎src/backend/Makefile

Lines changed: 5 additions & 2 deletions
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.47 2000/05/11 17:46:28 momjian Exp $
37+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.47.2.1 2000/05/30 16:36:34 momjian Exp $
3838
#
3939
#-------------------------------------------------------------------------
4040

@@ -188,7 +188,8 @@ endif
188188
install-templates:$(TEMPLATEDIR)\
189189
global1.bki.source local1_template1.bki.source \
190190
global1.description local1_template1.description \
191-
libpq/pg_hba.conf.sample optimizer/geqo/pg_geqo.sample \
191+
libpq/pg_hba.conf.sample libpq/pg_ident.conf.sample \
192+
optimizer/geqo/pg_geqo.sample \
192193
pg_options.sample
193194
$(INSTALL) $(INSTLOPTS) global1.bki.source \
194195
$(TEMPLATEDIR)/global1.bki.source
@@ -200,6 +201,8 @@ install-templates: $(TEMPLATEDIR) \
200201
$(TEMPLATEDIR)/local1_template1.description
201202
$(INSTALL) $(INSTLOPTS) libpq/pg_hba.conf.sample \
202203
$(TEMPLATEDIR)/pg_hba.conf.sample
204+
$(INSTALL) $(INSTLOPTS) libpq/pg_ident.conf.sample \
205+
$(TEMPLATEDIR)/pg_ident.conf.sample
203206
$(INSTALL) $(INSTLOPTS) optimizer/geqo/pg_geqo.sample \
204207
$(TEMPLATEDIR)/pg_geqo.sample
205208
$(INSTALL) $(INSTLOPTS) pg_options.sample \

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#
3838
# Format:
3939
#
40-
# host DBNAME IP_ADDRESS ADDRESS_MASKUSERAUTH [AUTH_ARGUMENT]
40+
# host DBNAME IP_ADDRESS ADDRESS_MASKAUTHTYPE [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 DBNAMEUSERAUTH [AUTH_ARGUMENT]
102+
# local DBNAMEAUTHTYPE [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 ofUSERAUTH are not allowed.
106+
# values ofAUTHTYPE 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 MASKUSERAUTH MAP
113+
# TYPE DATABASE IP_ADDRESS MASKAUTHTYPE MAP
114114

115115
#host all 127.0.0.1 255.255.255.255 trust
116116

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp