From 633445be1a9be37ae727c044417f5607706cf4ae Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 26 Jun 2018 00:25:28 +0000 Subject: Initial commit --- doc/libnsss/index.html | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 doc/libnsss/index.html (limited to 'doc/libnsss') diff --git a/doc/libnsss/index.html b/doc/libnsss/index.html new file mode 100644 index 0000000..0307725 --- /dev/null +++ b/doc/libnsss/index.html @@ -0,0 +1,97 @@ + + + + + + nsss: the nsss library interface + + + + + + +

+nsss
+Software
+skarnet.org +

+ +

The nsss library interface

+ +

General information

+ +

+ libnsss is a client library meant to be used by client +programs needing utmp functionality. It interacts with various +server-side daemons such as +nsssd-unix. +

+ +

+ Application programs can use it directly, but most existing programs +simply use the standard +pwd.h, +grp.h or +shadow.h +interfaces, which in nsss are implemented as a series of thin wrappers +around the nsss library. +

+ +

Compiling

+ + + +

Linking

+ + + +

Programming

+ +

+ The nsss/nsss.h header is actually a collection of headers: +

+ + + +

+ By default, the getpwnam() et al. functions are aliased +to their nsss-all implementations. You can disable the +nsss-unix fallback by compiling with the NSSS_DISABLE_UNIX +macro defined (-DNSSS_DISABLE_UNIX). Or you can disable any +attempt to connect to a daemon by compiling with the +NSSS_DISABLE_SWITCH macro defined (-DNSSS_DISABLE_SWITCH). +

+ +

+ (To be completed.) +

+ + + -- cgit v1.3.1