OpenAFS CVS Commit: openafs/src/tsm41 by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 08 May 2005 01:50:24 EDT


Update of /cvs/openafs/src/tsm41
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/tsm41

Modified Files:
	aix41_auth.c 
Log Message:
DELTA aix-auth-speedup-20050508
AUTHOR sgr0@lehigh.edu
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.


--- DELTA config follows ---
aix-auth-speedup-20050508 openafs/src/tsm41/aix41_auth.c 1.10 1.11