#3123 closed enhancement (wontfix)
A big enhancement for group lookup's
Reported by: | Bas van der Vlies | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | high | Component: | UnixGroupsPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
First is the plugin still maintained?
I have just installed this plugin for trac version 0,10 and 0.11. I have the same problem as ticket #1818. We have a central LDAP database with a lot of groups (+/- 4000). The plugin wil fetch all the groups and check if the user is a member of this group. This causes a lot ldap lookups.
I have done some optimization for this plugin. First we get the the permission list with:
permsys = PermissionSystem(self.ENV) perm_list = permsys.get_all_permissions()
And check if we have unix group and the username is a member of it. This reduce the ldap lookups. If you are interested i can attach the rewrite
Attachments (0)
Change History (4)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
If you are using LDAP, use the LdapPlugin. This is deisnged to be as simple as possible.
comment:3 Changed 16 years ago by
This can still be useful for sites that use NIS. This patch is only an enhancement also for other users. If i read your reply your are not interested in it and only use the LDAP setup for apache. So i will maintain the plugin
comment:4 Changed 16 years ago by
I don't use LDAP at all. There won't really be much difference for NIS, since I expect it would have exploded long ago if you tried to use that many groups with it. I just use the transfer /etc/passwd+groups memberships into Trac.
Just a question is this plugin still maintained or is it replaced by other one or should i release a new version? Hope to receive an answer ;-)