Previous Next Contents

3.1 The core (public) functions

libpwdb offers the following generic interface:

Initialization and termination

Structure management

Database query functions

Diagnostics

Types of database

The pwdb_type of database a request is associated with is given by one of the following values:

PWDB_DEFAULT

no database indicated, use configured list

PWDB_UNIX

generic /etc/passwd and /etc/group files

PWDB_SHADOW

/etc/shadow and /etc/gshadow Intended to supplement other databases

PWDB_NIS

Use NIS server

PWDB_RADIUS

Use RADIUS server


Previous Next Contents