Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
28b0d6bf
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
28b0d6bf
编写于
6月 16, 2006
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add LDAP documentation missed in code patch.
Magnus Hagander
上级
8fc2a5af
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
79 addition
and
3 deletion
+79
-3
doc/src/sgml/client-auth.sgml
doc/src/sgml/client-auth.sgml
+61
-1
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+18
-2
未找到文件。
doc/src/sgml/client-auth.sgml
浏览文件 @
28b0d6bf
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.
89 2006/04/30 21:15:32 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.
90 2006/06/16 15:16:16 momjian
Exp $ -->
<chapter id="client-authentication">
<title>Client Authentication</title>
...
...
@@ -372,6 +372,16 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>ldap</></term>
<listitem>
<para>
Authenticate using LDAP to a central server. See <xref
linkend="auth-ldap"> for details.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>pam</></term>
<listitem>
...
...
@@ -896,6 +906,56 @@ omicron bryanh guest1
</sect3>
</sect2>
<sect2 id="auth-ldap">
<title>LDAP authentication</title>
<indexterm zone="auth-ldap">
<primary>LDAP</primary>
</indexterm>
<para>
This authentication method operates similarly to
<literal>password</literal> except that it uses LDAP
as the authentication method. LDAP is used only to validate
the user name/password pairs. Therefore the user must already
exist in the database before LDAP can be used for
authentication. The server and parameters used are specified
after the <literal>ldap</> key word in the file
<filename>pg_hba.conf</filename>. The format of this parameter is:
<synopsis>
ldap[<replaceable>s</>]://<replaceable>servername</>[:<replaceable>port</>]/<replaceable>base dn</replaceable>[;<replaceable>prefix</>[;<replaceable>suffix</>]]
</synopsis>
for example:
<synopsis>
ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\
</synopsis>
</para>
<para>
If <literal>ldaps</> is specified instead of <literal>ldap</>,
TLS encryption will be enabled for the connection. Note that this
will encrypt only the connection between the PostgreSQL server
and the LDAP server. The connection between the client and the
PostgreSQL server is not affected by this setting. To make use of
TLS encryption, you may need to configure the LDAP library prior
to configuring PostgreSQL.
</para>
<para>
If no port is specified, the default port as configured in the
LDAP library will be used.
</para>
<para>
The server will bind to the distinguished name specified as
<replaceable>base dn</> using the username supplied by the client.
If <replaceable>prefix</> and <replaceable>suffix</> is
specified, it will be prepended and appended to the username
before the bind. Typically, the prefix parameter is used to specify
<replaceable>cn=</>, or <replaceable>DOMAIN\</> in an Active
Directory environment.
</para>
</sect2>
<sect2 id="auth-pam">
<title>PAM authentication</title>
...
...
doc/src/sgml/installation.sgml
浏览文件 @
28b0d6bf
<
!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.25
6 2006/04/25 15:19
:16 momjian Exp $ -->
<
!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.25
7 2006/06/16 15:16
:16 momjian Exp $ -->
<
chapter
id
=
"installation"
>
<
title
><
![%standalone-include[<productname>PostgreSQL</>]]>
...
...
@@ -279,7 +279,8 @@ su - postgres
<
listitem
>
<
para
>
<
application
>
Kerberos
</>,
<
productname
>
OpenSSL
</>,
and
/
or
<
application
>
Kerberos
</>,
<
productname
>
OpenSSL
</>,
<
productname
>
OpenLDAP
</>,
and
/
or
<
application
>
PAM
</>,
if
you
want
to
support
authentication
or
encryption
using
these
services
.
</
para
>
...
...
@@ -848,6 +849,21 @@ su - postgres
</
listitem
>
</
varlistentry
>
<
varlistentry
>
<
term
><
option
>--
with
-
ldap
</
option
></
term
>
<
listitem
>
<
para
>
Build
with
<
acronym
>
LDAP
</><
indexterm
><
primary
>
LDAP
</></>
authentication
support
.
On
Unix
,
this
requires
the
<
productname
>
OpenLDAP
</>
package
to
be
installed
.
<
filename
>
configure
</>
will
check
for
the
required
header
files
and
libraries
to
make
sure
that
your
<
productname
>
OpenLDAP
</>
installation
is
sufficient
before
proceeding
.
On
Windows
,
the
default
<
productname
>
WinLDAP
</>
library
is
used
.
</
para
>
</
listitem
>
</
varlistentry
>
<
varlistentry
>
<
term
><
option
>--
with
-
libedit
-
preferred
</
option
></
term
>
<
listitem
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录