]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-aix-auth-speedup-20050508
authorSteve Roseman <sgr0@lehigh.edu>
Sun, 8 May 2005 06:51:24 +0000 (06:51 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 8 May 2005 06:51:24 +0000 (06:51 +0000)
commit3c8c40ce938067a509a34fbe9063bf9f937a9523
tree29057519e9f1dff315330db3d04043b7684f4542
parentbb76b13696ec6fffc057e530c3331a69ada949fb
STABLE14-aix-auth-speedup-20050508

FIXES 18467

The security module "afs_dynamic_auth" can get VERY slow if trying to
authenticate against a user in a large NIS password file. This happens
because it "replaces" getpwnam with code which loops through the
"passwd" file.

this 1) makes external programs use the "real"
getpwnam, and 2) changes the internal routine afs_getpwnam_int to use
getpwnam instead of iterating.

(cherry picked from commit 160c01035ca3775d8bf21dd9a34bd0f51f309159)
src/tsm41/aix41_auth.c