I would like to know how to get ownCloud to not send me email in German. Not that I don't like German but, I only speak English. :-)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Timo Springmann Sent: Thursday, June 13, 2013 11:08 AM To: [email protected] Subject: Re: [Owncloud] ldap question Hi Michael, Am 13.06.2013 um 19:53 schrieb Michael Pfitzner <[email protected]>: > my question is now, how do I restrict owncloud access to users of > certain groups, without changing anithing at the ldap tree. > > I can filter for user whose maingroup is set in the user tree, but > these aren't all I want to give access to owncloud. 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 Regards, Timo -- funny, but it's still rock and roll to me _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
