[Owncloud] ldap question

Pekka Sutela pekka.sutela at gmail.com
Fri Jun 14 07:54:36 UTC 2013


On 13.6.2013 21.08, Timo Springmann wrote:
> here's my solution to allow all members of the group "owncloud"  to login to my owncloud installation:
> 
> $>ldapsearch -x cn=owncloud
> dn: cn=owncloud,ou=groups,dc=example,dc=local
> objectClass: groupOfNames
> objectClass: top
> cn: owncloud
> description: Owncloud Users
> member: cn=Test Muster,ou=people,dc=example,dc=local
> member: cn=Test2 Testor,ou=people,dc=example,dc=local
> 
> OwnCloud User Login Filter: (&(uid=%uid)(memberOf=cn=owncloud,ou=groups,dc=example,dc=local))
> 
> You need the "memberof" overlay in your OpenLDAP (http://www.openldap.org/doc/admin24/guide.html#Reverse%20Group%20Membership%20Maintenance) for this to work.
> 
> slapd.conf:
> module load      memberof.la
> overlay memberof
> 

Hi,

is there any way to do this with Open Directory (Mac OS X Server 10.8)?
There is no memberof attribute in OD but there is memberuid.


-- 

Pekka Sutela




More information about the Owncloud mailing list