aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/pg_ident.conf.sample
blob: f0e9481a1d4dadff969373c5fd871070f511bb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This is the pg_ident.conf file, which is used with Postgres ident-based
# authentication (a subtype of host-based authentication).

# This is a table of ident usernames (typically Unix usernames) and 
# their corresponding Postgres usernames.  For example, user "bryanh" on
# some particular remote system may equate to Postgres user "guest1".

# This file contains multiple maps.  Each has a name.  The pg_hba.conf
# file determines what connections relate to this file and for those that
# do, which map to use.

# Each record consists of 3 tokens:
#
# 1) map name
# 2) ident username
# 3) Postgres username

# Note that it is possible for one user to map to multiple Postgres usernames.
# A user always has to specify when he connects what Postgres username he is
# using.  This file is only used to validate that selection.

#testmap   robert   bob
#testmap   lucy     lucy