Forum: 

openLDAP and memberOf

Thomas's picture

Ho folks,

 

I have the owncloud App and the openldap app up and running.

But now I want to restrict the logins to owncloud, so only posixAccounts which are member of a certain posixGroup are allowed.

For this I do need the UserDN-Attribute "memberOf" which does not seem to be included in the out-of-the-box openldap configuration.

my slapd-version is:

@(#) $OpenLDAP: slapd  (Jan 16 2016 23:00:08) $
        root@chimera:/tmp/buildd/openldap-2.4.40+dfsg/debian/build/servers/slapd

 

I followed several howtos on the internet, e.g.  http://www.schenkels.nl/2013/03/how-to-setup-openldap-with-memberof-overlay-ubuntu-12-04/

but I am unable to get it to work.

Any help is greatly appreciated.

 

Greets

Thomas

Jeremy Davis's picture

Unfortunately I have no idea about OpenLDAP so won't be any use to you at all! Perhaps you could try stackoverflow? I googled "openldap memberOf stackoverflow" and saw a couple of Q&As that may be of value? If nothing there works you could try posting your own question?

The OS is probably immaterial but FWIW TurnKey is based on Debian (v14.x = Debian Jessie).

Post new comment