4.2. 所有插件的通用属性列表


此列表提供了简短属性描述、条目 DN、有效范围、默认值、语法以及每个属性的示例。

4.2.1. nsslapdPlugin (Object Class)

每个目录服务器插件属于 nsslapdPlugin 对象类。

此对象类在 Directory Server 中定义。

卓越的类

top

OID

2.16.840.1.113730.3.2.41

Expand
表 4.1. 所需属性
属性定义

objectClass

提供分配给条目的对象类。

cn

提供条目的通用名称。

第 4.2.8 节 “nsslapd-pluginPath”

标识插件库名称(没有库后缀)。

第 4.2.7 节 “nsslapd-pluginInitfunc”

标识插件的初始化功能。

第 4.2.10 节 “nsslapd-pluginType”

标识插件的类型。

第 4.2.6 节 “nsslapd-pluginId”

标识插件 ID。

第 4.2.12 节 “nsslapd-pluginVersion”

标识插件的版本。

第 4.2.11 节 “nsslapd-pluginVendor”

标识插件的厂商。

第 4.2.4 节 “nsslapd-pluginDescription”

标识插件的描述。

第 4.2.5 节 “nsslapd-pluginEnabled”

标识是否启用插件。

第 4.2.9 节 “nsslapd-pluginPrecedence”

按照执行顺序设置插件的优先级。

4.2.2. nsslapd-logAccess

此属性允许您将插件运行的搜索操作记录到 cn=confignsslapd-accesslog 参数中设置的文件。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

on | off

默认值

off

语法

DirectoryString

示例

nsslapd-logAccess: Off

4.2.3. nsslapd-logAudit

此属性允许您记录和审核对数据库的修改,这源自于插件。

如果在 cn=config 中启用了 nsslapd-auditlog-logging-enabled 参数,则成功修改事件会在审计日志中记录。要通过插件记录失败的修改数据库操作,请在 cn=config 中启用 nsslapd-auditfaillog-logging-enabled 属性。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

on | off

默认值

off

语法

DirectoryString

示例

nsslapd-logAudit: Off

4.2.4. nsslapd-pluginDescription

此属性提供插件的描述。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

 

默认值

语法

DirectoryString

示例

nsslapd-pluginDescription: acl access check plug-in

4.2.5. nsslapd-pluginEnabled

此属性指定插件是否已启用。此属性可以更改协议,但只有在服务器下次重启时生效。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

on | off

默认值

on

语法

DirectoryString

示例

nsslapd-pluginEnabled: on

4.2.6. nsslapd-pluginId

此属性指定插件 ID。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

任何有效的插件 ID

默认值

语法

DirectoryString

示例

nsslapd-pluginId: chaining database

4.2.7. nsslapd-pluginInitfunc

此属性指定要启动的插件功能。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

任何有效的插件功能

默认值

语法

DirectoryString

示例

nsslapd-pluginInitfunc: NS7bitAttr_Init

4.2.8. nsslapd-pluginPath

此属性指定插件的完整路径。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

任何有效的路径

默认值

语法

DirectoryString

示例

nsslapd-pluginPath: uid-plugin

4.2.9. nsslapd-pluginPrecedence

此属性为插件的执行顺序设置优先级或优先级。优先级定义插件的执行顺序,允许更复杂的环境或交互,因为它可以启用插件以在执行前等待已完成的操作。这对预操作和安装后插件更为重要。

值为 1 的插件具有最高优先级,并且会先运行;值为 99 的插件具有最低的优先级。默认值为 50.

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

1 到 99

默认值

50

语法

整数

示例

nsslapd-pluginPrecedence: 3

4.2.10. nsslapd-pluginType

此属性指定插件类型。详情请查看 第 4.3.5 节 “nsslapd-plugin-depends-on-type”

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

任何有效的插件类型

默认值

语法

DirectoryString

示例

nsslapd-pluginType: preoperation

4.2.11. nsslapd-pluginVendor

此属性指定插件的厂商。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

任何批准的插件厂商

默认值

Red Hat, Inc.

语法

DirectoryString

示例

nsslapd-pluginVendor: Red Hat, Inc.

4.2.12. nsslapd-pluginVersion

此属性指定插件版本。

Expand
插件参数描述

条目 DN

cn=plug-in name,cn=plugins,cn=config

有效值

任何有效的插件版本

默认值

产品版本号

语法

DirectoryString

示例

nsslapd-pluginVersion: 11.3

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat