mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Make the location of the Kerberos server key file run time configurable
(rather than compile time). For libpq, even when Kerberos support is compiled in, the default user name should still fall back to geteuid() if it can't be determined via the Kerberos system. A couple of fixes for string type configuration parameters, now that there is one.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.3 2000/07/15 21:35:47 petere Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.4 2000/08/25 10:00:29 petere Exp $ -->
|
||||
|
||||
<chapter id="client-authentication">
|
||||
<title>Client Authentication</title>
|
||||
@ -341,7 +341,7 @@ host all 192.168.2.0 255.255.255.0 ident othermap
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="kerberos-auth">
|
||||
<title>Kerberos authentication</title>
|
||||
|
||||
<para>
|
||||
@ -369,13 +369,15 @@ host all 192.168.2.0 255.255.255.0 ident othermap
|
||||
<productname>Postgres</> should operate like a normal Kerberos
|
||||
service. The name of the service principal is normally
|
||||
<literal>postgres</literal>, unless it was changed during the
|
||||
build. Make sure that your server keytab file is readable (and
|
||||
build. Make sure that your server key file is readable (and
|
||||
preferrably only readable) by the Postgres server account (see
|
||||
<xref linkend="postgres-user">). The location of the keytab file
|
||||
is specified at build time; by default it is
|
||||
<filename>/etc/srvtab</filename> in Kerberos 4 and
|
||||
<filename>FILE:/usr/local/pgsql/etc/krb5.keytab</filename> in
|
||||
Kerberos 5.
|
||||
<xref linkend="postgres-user">). The location of the key file
|
||||
is specified with the <varname>krb_server_keyfile</> run time
|
||||
configuration parameter. (See also <xref linkend="runtime-config">.)
|
||||
The default is <filename>/etc/srvtab</> if you are using Kerberos 4
|
||||
and <filename>FILE:/usr/local/pgsql/etc/krb5.keytab</> (or whichever
|
||||
directory was specified as <varname>sysconfdir</> at build time)
|
||||
with Kerberos 5.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.13 2000/07/22 14:48:01 petere Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.14 2000/08/25 10:00:29 petere Exp $ -->
|
||||
|
||||
<chapter id="installation">
|
||||
<title><![%flattext-install-include[<productname>PostgreSQL</> ]]>Installation Instructions</title>
|
||||
@ -577,27 +577,13 @@ su - postgres
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>--with-krb-srvtab=<replaceable>FILE</></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specifies the location of the Kerberos server shared key file
|
||||
(<quote>srvtab</>). If you are using Kerberos 4, this
|
||||
defaults to <filename>/etc/srvtab</>, with Kerberos 5 to
|
||||
<filename>FILE:/usr/local/pgsql/etc/krb5.keytab</>, or
|
||||
equivalent, depending on what you set <option>--sysconfdir</>
|
||||
to above.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>--enable-syslog</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Enables the <productname>PostgreSQL</> server to use the
|
||||
syslog logging facility. (Using this option does not mean
|
||||
that you have to log with syslog or even that it will be done
|
||||
that you will have to log with syslog or even that it will be done
|
||||
by default, it simply makes it possible to turn this option
|
||||
on at run time.)
|
||||
</para>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.18 2000/08/11 18:31:06 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.19 2000/08/25 10:00:29 petere Exp $
|
||||
-->
|
||||
|
||||
<Chapter Id="runtime">
|
||||
@ -898,6 +898,16 @@ env PGOPTIONS='--geqo=off' psql
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>KRB_SERVER_KEYFILE</>
|
||||
<listitem>
|
||||
<para>
|
||||
Sets the location of the Kerberos server key file. See
|
||||
<xref linkend="kerberos-auth"> for details.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>MAX_CONNECTIONS (<type>integer</type>)</term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user