Re: Somethings still up with new NSS?

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Tue, 29 Apr 2003 12:13:15 -0700
Dag-Erling Smorgrav wrote:
> "Jacques A. Vidrine" <nectar_at_FreeBSD.org> writes:
> > But, if you run `pwd_mkdb -u' BEFORE you rebuild the entire database
> > with plain `pwd_mkdb', the database will have version 3 entries for
> > all of your users, but only a version 4 entry for the single target
> > user.  Old binaries still function fine, but new binaries now `see'
> > that the database supports the new version 4 entries.  So, only the
> > single user that was updated is recognized.
> 
> Why do new binaries ignore the older version 3 entries?

Because the file might have been transferred from another machine,
and have the wrong byte-order for the current machine in the version
3 entries.  The version 4 entries are portable, so they don't have
this problem.

It probably would have been better to just put a per record byte
order maker in there, instead of using a version number, but you
would still have the same problem for the records without the
marker, so you'd have to ignore them as "suspect".

-- Terry
Received on Tue Apr 29 2003 - 10:14:41 UTC

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