OpenAFS CVS Commit: openafs/src/tsm41 by shadow

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


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

Modified Files:
      Tag: openafs-stable-1_4_x
	aix41_auth.c 
Log Message:
DELTA STABLE14-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 for openafs-stable-1_4_x follows ---
STABLE14-aix-auth-speedup-20050508 openafs/src/tsm41/aix41_auth.c 1.10 1.10.2.1