Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 11:20:13 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Shizuka Kudo <shizukakudo_99@yahoo.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: HEADS UP: new NSS
Message-ID:  <20030418162013.GB45899@madman.celabo.org>
In-Reply-To: <20030418161034.6660.qmail@web11408.mail.yahoo.com>
References:  <20030418131930.GA11946@madman.celabo.org> <20030418161034.6660.qmail@web11408.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418162013.GB45899>