------------------------------------------------------------------------------
This directory contains the 2.5 release of the Berkeley DB NSS module.
This is a fork of the original Berkeley DB NSS module, hosted at:
http://nssdb.sf.net
The forked code is based on the source for version 2.2 available from:
http://ftp.gnu.org/gnu/glibc/nss_db-2.2.tar.gz
It has patches installed from:
http://www.linuxfromscratch.org/patches/downloads/nss_db/nss_db-2.2-update-2.patch
Red Hat nss_db-2.2.3-0.3.pre1.el6_1.1.src.rpm
Some hints on how to build the package are available at:
http://www.linuxfromscratch.org/hints/downloads/files/nss_db.txt
The passwd and group database functionality has been ported to Solaris 10
by Mark R. Bannister <cambridge@users.sourceforge.net>.
This allows an additional NSS source for passwords or groups from a
Berkeley 4.x database on Solaris, which is useful for caches or overrides.
This has been implemented using Solaris wrappers defined in the db-sol-* files.
There is no particular reason that the other databases have not been ported to
Solaris, just lack of time and no current requirement to do so.
Note that by rolling up patches applied over the years to the 2.2 release
and producing a fork, it is hoped that all new patches for both
Linux and Solaris can be contained in one place:
http://nssdb.sf.net
------------------------------------------------------------------------------
See the file NEWS for the user-visible changes from previous releases.
For general building and installation instructions, see the file INSTALL.
The Berkeley DB NSS module provides an alternative means for storing
configuration information traditionally kept in several plain-text
files in `/etc' (e.g. `/etc/passwd'). The module uses the Berkeley DB
Library to store this information in several database files in
`/var/db' (e.g. `/var/db/passwd.db'). Using these databases can lead
to a considerable speedup if the files in `/etc' are large (e.g. on a
system with a lot of accounts). Currently the module support the
`aliases', `ethers', `group', `netgroup', `protocols', `passwd',
`rpc', `services' and `shadow' databases.
The Berkeley DB NSS module used to be an integral part of the GNU C
Library. However, starting with version 2.2, the Berkeley DB Library
is no longer part of the GNU C Library, and the Berkeley DB NSS module
was moved into its own package. Unbundling the module has the
additional advantage that it is no longer tied to the specific version
of Berkeley DB that comes with the GNU C Library. This version of the
module can be built with Berkeley DB version 2 and version 3.
*Warning*: If you use this module with a version of Berkeley DB that's
not installed on the root partition the module won't be available
until the partition that contains the Berkeley DB Library has been
mounted. Therefore you should make sure that all essential
information is available via another NSS module (i.e. by duplicating
the information in the files in `/etc'), or install Berkeley DB on the
root partition.