Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2017 21:35:43 +0100
From:      Kaya Saman <kayasaman@gmail.com>
To:        Per olof Ljungmark <peo@intersonic.se>, "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: OpenLDAP 24 and MemberOf
Message-ID:  <1505939743.24081.15.camel@gmail.com>
In-Reply-To: <719b62b1-3e7a-1cd2-e994-fc916e4876f2@intersonic.se>
References:  <1505836743.13891.35.camel@gmail.com> <719b62b1-3e7a-1cd2-e994-fc916e4876f2@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1505939743.24081.15.camel>