4.15. POSIX Winsync API 插件属性
默认情况下,在 Active Directory 和 Red Hat Directory Server 之间不会同步与 Posix 相关的属性。在 Linux 系统上,系统用户和组被识别为 Posix 条目,LDAP Posix 属性则包含所需信息。但是,当 Windows 用户同步时,它们会自动添加 ntUser
和 ntGroup
属性,以将其识别为 Windows 帐户,但没有同步 Posix 属性(即使它们存在于 Active Directory 条目中),且在 Directory 服务器上添加 Posix 属性。
Posix Winsync API 插件在 Active Directory 和 Directory Server 条目之间同步 POSIX 属性。
所有 POSIX 属性(如 uidNumber
、gidNumber
和 homeDirectory
)都在 Active Directory 和 Directory Server 条目之间同步。但是,如果新的 POSIX 条目或 POSIX 属性添加到 Directory 服务器中的现有条目中,则只有 POSIX 属性同步到 Active Directory 对应的条目。POSIX 对象类(posixAccount
用于用户,posixGroup
用于组)不会添加到 Active Directory 条目中。
此插件默认是禁用的,且必须在从 Active Directory 条目同步到 Directory 服务器条目之前启用。
4.15.1. posixWinsyncCreateMemberOfTask 复制链接链接已复制到粘贴板!
此属性设置在同步运行后立即运行 memberOf 修复任务,以更新同步用户的组成员资格。默认情况下禁用此设置,因为 memberOf 修复任务可以是资源密集型,如果运行太频繁,则会导致性能问题。
参数 | 描述 |
---|---|
条目 DN | cn=Posix Winsync API Plugin,cn=plugins,cn=config |
有效范围 | true | false |
默认值 | false |
示例 | posixWinsyncCreateMemberOfTask: false |
4.15.2. posixWinsyncLowerCaseUID 复制链接链接已复制到粘贴板!
此属性设置是否在小写中存储(以及转换) memberUID
属性中的 UID 值。
参数 | 描述 |
---|---|
条目 DN | cn=Posix Winsync API Plugin,cn=plugins,cn=config |
有效范围 | true | false |
默认值 | false |
示例 | posixWinsyncLowerCaseUID: false |
4.15.3. posixWinsyncMapMemberUID 复制链接链接已复制到粘贴板!
此属性设置是否将 Active Directory 组中的 memberUID
属性映射到 Directory Server 组中的 uniqueMember
属性。
参数 | 描述 |
---|---|
条目 DN | cn=Posix Winsync API Plugin,cn=plugins,cn=config |
有效范围 | true | false |
默认值 | true |
示例 | posixWinsyncMapMemberUID: false |
4.15.4. posixWinsyncMapNestedGrouping 复制链接链接已复制到粘贴板!
当 Active Directory POSIX 组中的 memberUID
属性发生变化时,posixWinsyncMap NestedGrouping
参数管理嵌套组是否被更新。更新嵌套组支持 5 级的深度。
参数 | 描述 |
---|---|
条目 DN | cn=Posix Winsync API Plugin,cn=plugins,cn=config |
有效范围 | true | false |
默认值 | false |
示例 | posixWinsyncMapNestedGrouping: false |
4.15.5. posixWinsyncMsSFUSchema 复制链接链接已复制到粘贴板!
当从 Active Directory 同步 Posix 属性时,此属性设置到用于 Unix 3.0 (msSFU30)模式的旧 Microsoft System Services。默认情况下,Posix Winsync API 插件对现代 Active Directory 服务器使用 Posix 模式:2005、2008 及更新的版本。Windows Server 2003 和较旧的 Windows 服务器所使用的现代 Active Directory Posix 模式和 Posix 模式之间存在略微差别。如果 Active Directory 域使用旧的模式,则可以改为使用旧的模式。
参数 | 描述 |
---|---|
条目 DN | cn=Posix Winsync API Plugin,cn=plugins,cn=config |
有效范围 | true | false |
默认值 | false |
示例 | posixWinsyncMsSFUSchema: true |