> >Is there really much point in caching 1 passwd entry?
>
> Well, the code in the radiusd calls getpwnam potentially more then one time
> for the same username. It makes sense to cache this, and I took the
> easy way out by using rad_getpwnam in all places I'd normally use getpwnam.
I hadn't looked that closely. Why does the code call getpwnam repeatedly?
------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____