users with different dn in same group
|Reported by:||anonymous||Owned by:||Emmanuel Blot|
Could not see a way to specify the dn for the user if the users are contained in different ou's
I have an ldap structure that separates offices
ou=Users (not in all cities)
so we could in the same group have say a user named
Could this, since we are already logged in (if we are using ldap i'm assuming authentication is done with ldap also and has been verified or at least know the username) search for the user and get the correct dn to pass to the ldapsearch.
Probably should be in another ticket but while trouble shooting this i was looking at the packets it appears that its searching for all groups in the tree then searches each group to see if the user is a member could we just search the groups that are specified in the permissions table? We have around 100 groups and only one/two groups specified in the permissions table seems a waste to see if the user is in each of the other 98 that trac doesn't care about.