www.delorie.com/gnu/docs/glibc/libc_592.html   search  
Buy the book!

The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

28.1 NSS Basics

The basic idea is to put the implementation of the different services offered to access the databases in separate modules. This has some advantages:

  1. Contributors can add new services without adding them to GNU C Library.
  2. The modules can be updated separately.
  3. The C library image is smaller.

To fulfill the first goal above the ABI of the modules will be described below. For getting the implementation of a new service right it is important to understand how the functions in the modules get called. They are in no way designed to be used by the programmer directly. Instead the programmer should only use the documented and standardized functions to access the databases.

The databases available in the NSS are

Mail aliases
Ethernet numbers,
Groups of users, see section 29.14 Group Database.
Host names and numbers, see section Host Names.
Network wide list of host and users, see section 29.16 Netgroup Database.
Network names and numbers, see section 16.13 Networks Database.
Network protocols, see section 16.6.6 Protocols Database.
User passwords, see section 29.13 User Database.
Remote procedure call names and numbers,
Network services, see section 16.6.4 The Services Database.
Shadow user passwords,

There will be some more added later (automount, bootparams, netmasks, and publickey).

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003