【问题标题】:OpenLDAP configuraion in Yast2 - groupOfUniqueNames/uniqueMemberYast2 中的 OpenLDAP 配置 - groupOfUniqueNames/uniqueMember
【发布时间】:2011-02-16 07:41:37
【问题描述】:

在 /etc/openldap/slapd.conf 我有这个 acl 并且可以工作:

access to dn.subtree="ou=users,dc=domain"
    by group/groupofuniquenames/uniquemember="cn=partner,ou=groups,dc=domain" write
    by users read  

当我想在 OpenSuSE 11.1 Yast2 LDAP 服务器配置中配置它时,它会生成我的文件 /etc/openldap/slap.d/cn=config/olcDatabase={1}bdb.ldif whit acl:

olcAccess: {3}to dn.subtree="ou=users,dc=domain" by  group="cn=partner,ou=groups,dc=domain" manage  

如何像在 slapd.conf 中一样将其从“按组”设置为“按组/groupofuniquenames/uniquemember”?

谢谢, 铝

【问题讨论】:

    标签: configuration openldap opensuse


    【解决方案1】:

    知道了!我在该文件 olcDatabase={1}bdb.ldif 中按 group 子句更改为 group/groupofuniquenames/uniquemember 服务器必须从 yast2 启动(即使没有此更改,service ldap restart 也不起作用 - 这很奇怪!) 然后禁用 Yast2 配置,因为 yast ldap 模块不知道 group/groupofuniquenames/uniquemember 访问控制规则。但 LDAP 工作正常。

    再见

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-13
      • 1970-01-01
      相关资源
      最近更新 更多