|
Bugzilla – Full Text Bug Listing |
| Summary: | redundant code in common/aix.c::getlimits() | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | dlaigle |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.8.1 | ||
| Hardware: | IBM | ||
| OS: | AIX | ||
Thanks, I'll remove that line in the next release. Fixed in sudo 1.8.1 |
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