Skip to content

Commit dc65b22

Browse files
committed
Add README.kerbros
1 parent 9500b35 commit dc65b22

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

doc/README.kerberos

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Edit postgresql-7.0RC5/src/Makefile.global.in. Change PG_KRB_SRVTAB to
2+
somewhere useful for you, and PG_KRB_SRVNAM to whatever you want your
3+
postgres kerberos service called.
4+
5+
make and install PostgreSQL.
6+
7+
Generate the keytab (PG_KRB_SRVTAB): kadmin% ank -randkey
8+
postgres/server.my.domain.org kadmin% ktadd -k krb5.keytab
9+
postgres/server.my.domain.org
10+
11+
Make sure the keytab is read-only to the postgres user. Make sure your
12+
client binaries can see the new libraries.
13+
14+
edit pg_hba.conf and change the authentication method to krb5.
15+
16+
Everything should then work. If you use mod_auth_krb and mod_perl on
17+
your web server, you can use AuthType KerberosV5SaveCredentials with a
18+
mod_perl script. This gives secure database access over the web. No
19+
extra passwords required.
20+
21+
Mike Wyer <mw@doc.ic.ac.uk>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy