[Patch] Log message if getspnam() fails

Thorsten Kukuk kukuk at suse.de
Sat Aug 15 14:23:24 UTC 2009


On Sat, Aug 15, Matthew W. S. Bell wrote:

> On Sat, 2009-08-15 at 14:16 +0200, Thorsten Kukuk wrote:
> > On Sat, Aug 15, Matthew W. S. Bell wrote:
> 
> > You are under the assumption that there has to be a shadow entry
> > if this function is called. But this is not that case. For example,
> > if you are using NIS, it is most likely that there is no entry. 
> > Which would mean, that the log file would get flooded with this
> > message.
> 
> From the code, I can see that the shadow database is only accessed if
> the relevant information is not in the passwd database.

Which means only that: It is not available in the passwd database and
nothing else.

> In both cases, the database accessed is controlled in an opaque manner
> to this client code by the nsswitch framework.

Don't know what you want to say with that. 

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)




More information about the Pam-list mailing list