Opened 4 years ago

Last modified 19 months 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:

Description

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.

Subtickets

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by Sebastian Hugentobler

Attachment: ldap_user_filter.patch added

comment:1 Changed 4 years ago by Christopher Allan Webber

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 4 years ago by Christopher Allan Webber (previous) (diff)

comment:2 Changed 19 months ago by Meaulnes

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

Note: See TracTickets for help on using tickets.