NSS module for using PostgreSQL as a naming service

This module works as a replacement for the flat file databases /etc/passwd,
/etc/group etc. It is a plugin to glibc's name service switch.

The module uses tables in a PostgreSQL database to store user, group, and
shadow information. The module can be configured to use custom queries to
retrieve it's information from a database. The module allows to separate the
configuration for shadow information from group and user information to
restrict access to shadow information to privileged users (i.e. root or the
shadow group).

/usr/share/doc/libnss-pgsql2/README

0. What's it about?
-------------------------------------------------------------
This is a so called Name Service Switch (NSS) Module for use with glibc.
With it you can replace /etc/passwd, /etc/shadow, /etc/group etc. with
a PostgreSQL database. Note that you need another piece of software, a
plugin to the Pluggable Authentication Modules (PAM) that lets you
authenticate against this database.
more»

/usr/share/doc/libnss-pgsql2/changelog.gz

2006-01-10 Russell Smith <mr-russ@pws.com.au>
* Merged all changes with the debian project that are known. Version
number is updated to be larger than all current versions of this
module.
* Fixed bug where if you used getpwent, then getspnam, then getpwent
you would end up hanging the application (common perl operation)
* Update autoconf to the best of my ability, which is relatively new
more»