Modify ↓
Opened 17 years ago
Last modified 10 years ago
#1818 new enhancement
Fix for problems with multiple unix groups
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | UnixGroupsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
UnixGroupsPlugin as it is currently written is both extremely slow and non-functional on a server that is bound to a large domain. On my domain-bound Xserve, getgrall() from the grp library in python takes 6 seconds to complete and returns a 500kb list. On top of that, the list comparison to check which other groups the user is a member of fails to return anything.
I rewrote it to use subprocess (python2.4 and up) to run id, and use regular expressions to parse out the group names. I'll attach my version…
Attachments (1)
Change History (4)
Changed 17 years ago by
Attachment: | unixgroups-new.py added |
---|
comment:2 Changed 12 years ago by
#717 closed as a duplicate. This ticket has been left open since it has a patch.
This plugin is in need of a maintainer.
comment:3 Changed 10 years ago by
Owner: | Noah Kantrowitz deleted |
---|
Note: See
TracTickets for help on using
tickets.
Rewritten to use
id
and only return secondary groups