Re: Shadow Passwords

Jon Lewis (jlewis@inorganic5.fdt.net)
Sun, 31 Aug 1997 13:28:56 -0400 (EDT)

On 31 Aug 1997, Miquel van Smoorenburg wrote:

> >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____