Opened 11 years ago

Last modified 9 years ago

#985 new defect

users with different dn in same group

Reported by: anonymous Owned by: Emmanuel Blot
Priority: normal Component: LdapPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


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.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Andrew Cooper

You might check out #3993 and see if that works for you. Not only does it address your second point, but a side-effect of the fix is that it uses get_dn() to search for the full DN of a user.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Emmanuel Blot.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.