HEADS UP: new NSS
Jacques A. Vidrine
nectar at FreeBSD.org
Fri Apr 18 09:20:16 PDT 2003
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
More information about the freebsd-current
mailing list