Sun Java System Instant Messaging 7.2 管理指南

配置 Instant Messaging 以使用 LDAP 动态组

在 Sun Java System Directory Server 和某些其他 LDAP 服务器中,动态组基于 DN 过滤最终用户并将它们包括在单个组中。动态组在 Directory Server 中由 groupOfUrls 对象类定义。

为使最终用户能够在搜索结果中查看动态组并将动态组添加到其联系人列表中,您需要将 groupOfUrls 对象包括在搜索结果中。

需要对 iim.conf 进行以下修改:

Procedure配置 Instant Messaging 以使用动态组

  1. 打开 iim.conf

    参见 iim.conf 文件语法以获得有关查找和修改 iim.conf 的说明。

  2. 将以下三行添加到 iim.conf


    iim_ldap.usergroupbynamesearchfilter=(|(&(|
    (objectclass=groupofuniquenames)
    (objectclass=groupofurls)))
    (cn={0}))(&(objectclass=inetorgperson)
    (cn={0})))
    
    iim_ldap.groupbrowsefilter=(|
    (objectclass=groupofuniquenames)
    (objectclass=groupofurls))
    
    iim_ldap.groupclass=groupOfUniqueNames,groupOfURLs

    不要一行内包括换行。属性和对象类名称可以进行配置。默认情况下,memberOfUrls 属性被用作动态组的成员属性。如果您要使用 memberOfUrls 以外的属性名称,可将 iim_ldap.groupmemberurlattr 选项设置为您要使用的属性名称。