Opened 9 years ago

Last modified 6 years ago

#5370 new enhancement

LDAP User Filter

Reported by: Sebastian Hugentobler Owned by:
Priority: minor Milestone:
Component: programming Keywords: ldap, filter
Cc: rodney757 Parent Tickets:


I use mediagoblin with ldap authentication and needed group support (whether a user is in the mediagoblin group determines if they get access).

For this I added a new config attribute LDAP_USER_FILTER which holds the filter.

The attached patch shows how I am using it on my instance.

Attachments (1)

ldap_user_filter.patch (2.4 KB ) - added by Sebastian Hugentobler 9 years ago.

Download all attachments as: .zip

Change History (3)

by Sebastian Hugentobler, 9 years ago

Attachment: ldap_user_filter.patch added

comment:1 by Christopher Allan Webber, 9 years ago

Cc: rodney757 added

Hm, it's an interesting patch! I wish I knew enough about LDAP to determine if it should be merged or not.

I've cc'ed Rodney Ewing, who may be better able to comment (if he sees this). Or, anyone else who knows more about LDAP than me: feedback on this patch most welcome.

Last edited 9 years ago by Christopher Allan Webber (previous) (diff)

comment:2 by Meaulnes, 6 years ago

I've also added a patch in #5568 that does this same thing (and more).

Note: See TracTickets for help on using tickets.