On 7/7/10 8:30 PM, mark ardiente wrote:
How do I add an ldap filter?
Short answer is: You don't.
Long Answer: I initially created the plugin for my own needs and opted
for easy simple config rather than complex config. I personally hate
writing ldap filters. The active directory auth plugin does a simply
search of the base_dn looking for objectCategory=person and pulling
sAMAccountName, mail, proxyAddresses, and displayName attributes. If
one specifies an auth group, then it will only look at the members of
said group. It will, however, recurse into any groups in the specified
auth group.
There is a ticket [1] open asking to address the inherent weakness in
this approach. While I am not averse to implementing an ldap filter
approach/addition, I don't have tons of time to work on it. Patches are
very welcome.
-John
[1] https://trac-hacks.org/ticket/7327
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.