Hi Antoine,

On 01/21/2015 04:10 PM, Antoine Migeon wrote:
Hello,

I try to limit access to Owncloud with ldap filter. My openldap don't
support member-of-overlay.
In web GUI, the test button work fine and counter show the right number
of users, but other users can still connect..

which means your userlist filter is fine, but your login filter is not


In ldap log (and owncloud debug log), I see the good filter when I press
test button, and wrong filter (always objectClass=*) when user log on.

The raw user filter I want to use :
(& (objectclass=ubPerson)(isMemberOf=applis:calcul_numerique:ucn))

Using the login filter works fine, but I think this is the wrong way :

This should be ok as a login filter:
(&(objectclass=ubPerson)(isMemberOf=applis:calcul_numerique:ucn)(uid=%uid))

You can always check your actual settings directly in the database like this:

select * from oc_appconfig where appid='user_ldap';

                                        Yours: Laszlo


Regards,
Antoine


_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to