FusionForge

Configuration/NSS

From FusionForge Wiki
Revision as of 13:08, 11 January 2010 by Evertlammerts (talk | contribs) (New page: FusionForge provides native security services by coupling your Postgresql database with the Name Service Switch (NSS). To use this functionality you need to compile, install and configure ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

FusionForge provides native security services by coupling your Postgresql database with the Name Service Switch (NSS). To use this functionality you need to compile, install and configure a NSS module that will handle communication with your database.

This module is called libnss_pgsql, and is available from [1]. At the time of writing, the latest version is 1.4.0, which is used in this document and available for download here. Note that different versions might have different compilation and configuration requirements.

In this document we assume you are logged in as root on your server. We have successfully installed the module on CENTOS 5.0, but on different UNIX based systems the process should work in a similar way.

Preparation

First we need to download and unpack the library, and set up our installation directory. Note that we use the /opt directory.

$ cd /opt
$ wget http://pgfoundry.org/frs/download.php/605/libnss-pgsql-1.4.0.tgz
$ tar -xvvf libnss-pgsql-1.4.0.tgz
$ mkdir libnss_pgsql