sachin mishra wrote:
Hi all, I am facing problem with "memberof" overlay. I have
followed following
steps for installation on my CentOS release 5.5:
Which OpenLDAP release?
...
modulepath /usr/local/libexec/openldap
moduleload memberof.la
[..]
When I start slapd (slapd -d -1), it gives these lines in log:
line 27 (modulepath /usr/local/libexec/openldap)
/usr/local/etc/openldap/slapd.conf: line 27: keyword <modulepath> ignored
line 31 (moduleload memberof.la)
/usr/local/etc/openldap/slapd.conf: line 31: keyword <moduleload> ignored
This simply means that OpenLDAP was built statically. So the overlays should
be compiled into the slapd binary.
When I try searching for memberof Attribute, it doesn't return
the value:
ldapsearch -LL -D cn=Manager,dc=xxx,dc=com -w secret "cn=sachin" -b
dc=xxx,dc=com memberOf
Did you update the group entries *after* enabling slapo-memberof?
Ciao, Michael.