OpenLDAP 24 and MemberOf
Kaya Saman
kayasaman at gmail.com
Wed Sep 20 20:35:47 UTC 2017
On Tue, 2017-09-19 at 23:49 +0200, Per olof Ljungmark wrote:
> On 2017-09-19 17:59, Kaya Saman wrote:
> > Hi,
> >
> > I'm trying to install the MemberOf Overlay in the OpenLDAP 24
> > Server
> > port but for some reason I don't think it's getting installed??
> >
> > Most likely I'm doing something wrong here but on the port dir:
> >
> > /usr/ports/net/openldap24-server
> >
> > make config
> >
> > [X] MemberOf
> >
> > make clean
> >
> > make
> >
> > make deinstall (remove existing install)
> >
> > make install
> >
> >
> > Then look under: ls /usr/local/libexec/openldap/
> >
> > and it's not there?? According to the port a memberof.la file
> > should
> > exist somewhere on the system which it doesn't.
> >
> >
> > I've also tried checking the /usr/local/etc/openldap/schema
> > directory
> > with no luck either.
> >
> >
> > Could someone point me in the right direction of how to
> > install/enable
> > this as I'm lost.
> >
> > I mean it might actually be built in but perhaps I can't find it
> > and
> > don't know how to enable it either... ?? :-S
>
> I ran into the same issue with ppolicy, actually they are statically
> compiled, try
>
> /usr/local/libexec/slapd -VVV
>
> //per
Thanks for the hint. :-)
It's strange, I don't know if compiling with the [X] memberOf , option
worked or not but changing a group in my LDAP DB from POSIX to
groupOfNames then adding the 'uid' entity needed worked??
I took the idea from here:
http://www.openldap.org/doc/admin24/overlays.html
as it says, add: overlay memberof
to slapd.conf
then associate the object with groupOfNames type group.
Kaya
More information about the freebsd-ports
mailing list