- 论坛徽章:
- 0
|
查阅了一些资料,openldap貌似支持“反向组-成员关系”的,如下:- In some scenarios, it may be desirable for a client to be able to determine which groups an entry is a member of, without performing an additional search. Examples of this are applications using the DIT for access control based on group authorization.
- The memberof overlay updates an attribute (by default memberOf) whenever changes occur to the membership attribute (by default member) of entries of the objectclass (by default groupOfNames) configured to trigger updates.
- Thus, it provides maintenance of the list of groups an entry is a member of, when usual maintenance of groups is done by modifying the members on the group entry.
复制代码 可当我试图增加这个特性时,报错如下:
- sudo ldapadd -Y EXTERNAL -H ldapi:///
- SASL/EXTERNAL authentication started
- SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
- SASL SSF: 0
- dn: olcOverlay={0}memberOf,olcDatabase={1}hdb,cn=config
- objectClass: olcOverlayConfig
- olcOverlay: memberOf
- adding new entry "olcOverlay={0}memberOf,olcDatabase={1}hdb,cn=config"
- ldap_add: Other (e.g., implementation specific) error (80)
- additional info: <olcOverlay> handler exited with 1
复制代码 这是什么原因?没有人知道吗? |
|