Bugzilla – Bug 486
redundant code in common/aix.c::getlimits()
Last modified: 2011-04-11 08:02:13 MDT
The 'getuserattr()' call will always end up by seeking in the "default" stanza on local files, regardless of the user database (I used LDAP). Thus, if an attribute in not defined for a user but exists in "default", 'getuserattr(user)' will return the default value. You don't need to explicitly call 'getuserattr("default")' and therefore you can remove this statement from the code... Regards - Dominique
Thanks, I'll remove that line in the next release.
Fixed in sudo 1.8.1