aix-auth-speedup-20050508
authorSteve Roseman <sgr0@lehigh.edu>
Sun, 8 May 2005 06:50:23 +0000 (06:50 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 8 May 2005 06:50:23 +0000 (06:50 +0000)
commit160c01035ca3775d8bf21dd9a34bd0f51f309159
tree8cc1f1ed49e117b9a24a5f800dcfc04b0984fef2
parente8efb3970aef3ec9d2f2ca01a4550ed6c7cf62a1
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.
src/tsm41/aix41_auth.c