Red Hat Bugzilla – Bug 135223
[PATCH] Don't use libuser entity objects for dict indexing
Last modified: 2007-11-30 17:10:51 EST
While researching bug 113730 I have noticed that libuser entity
names are sometimes used instead of entity names for dict indexing;
the attached patch should clean that up (and also halve the number
of libuser entities needed, although that is unrelated to the
leaks reported in bug 113730).
Another note: the lookupUserByName and lookupGroupByName calls
quoted in the patch should not be necessary because 'user'
and 'group', respectively, already are libuser entities.
Created attachment 104993 [details]
s/]/Name]/ in a few places
Thanks! I've added your changes and removed the excessive lookups of
user/groups as well, the fixes are in system-config-users-1.2.24-1. Do
you need these in a RHEL3 package as well?
From my point of view these are just code cleanups, unrelated
to bug 113730.