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

Commitdc65b22

Browse files
committed
Add README.kerbros
1 parent9500b35 commitdc65b22

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)

[8]ページ先頭

©2009-2025 Movatter.jp