Re: HEADS UP: new NSS

From: Jacques A. Vidrine <nectar_at_FreeBSD.org>
Date: Fri, 18 Apr 2003 11:20:13 -0500
On Fri, Apr 18, 2003 at 09:10:34AM -0700, Shizuka Kudo wrote:
> Hi Jacques,
> 
> The named problem was resolved with your latest commits. However, I
> found that 'passwd' was not working and gave the following error. Is
> my nsswitch.conf having any problem (I only have 'passwd: files' and
> 'group: files' in the nsswitch.conf)?
> 
> %passwd
> passwd: can't change little green men's passwords (0x3df)

Hello Shizuka!

No, it is not a problem with nsswitch.conf.  It looks like
getpwent(3) is not setting `_PWF_FILES' in pw_fields.  This not too
surprising for me, because at one point I was going to do away with
_PWF_(FILES|NIS|HESIOD), until I realized that passwd(1) used them.
I know I put them back for `nis' and `dns' (hesiod), but I must have
missed files.  Thanks for the catch!  I will commit a fix shortly.

Cheers,
-- 
Jacques A. Vidrine <nectar_at_celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine_at_verio.net     .  nectar_at_FreeBSD.org  .          nectar_at_kth.se
Received on Fri Apr 18 2003 - 07:20:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC