OpenLDAP memberOf overlay – changing memberOf attribute name

openldap

I set up the memberOf overlay for OpenLDAP – how do I change the memberOf attribute name?

I want to change it to "isMemberOf".

I tried changing this attribute in the configuration

olcMemberOfMemberOfAD: isMemberOf

but ldapadd failed:

ldap_add: Other (e.g., implementation specific) error (80)
    additional info: unable to find memberof attribute="isMemberOf":
attribute type undefined (17)

Any ideas?

Best Answer

You have to use an attribute that actually exists in the schema.