]> granicus.if.org Git - sudo/commit
Only cache by the method we fetched for pwd and grp lookups. Previously
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 8 May 2009 17:07:10 +0000 (17:07 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 8 May 2009 17:07:10 +0000 (17:07 +0000)
commit03f4a2e703df6610dc908754616b02a5218e742a
tree63174d3502c6e7030d87c7350038f55ba44b9504
parent2b89941122bc3fdb1717da45810e49a648409bb7
Only cache by the method we fetched for pwd and grp lookups.  Previously
we cached both by namd and id but this can cause problems for entries
that share the same id.  Also add more info in the error message in case
the insert fails (which should now be impossible).
pwutil.c