libhome is a library providing a getpwnam() emulation. It support MySQL (3.23), Open LDAP 2 or system /etc/passwd frontend. It's intended to replace getpwnam within a system daemons who needs user authentification or identification when the users are listed on foreign servers. DOWNLOAD You can get new version from the web site http://pll.sourceforge.net/ INSTALLATION The "configure" script try to guess it you have MySQL or LDAP installed and compile with them when found. If they are in a unguessable place, set theyre include path or library path --with-ldap --with-ldap-libdir --with-mysql --with-mysql-libdir --with-pgsql You can disable LDAP, MySQL or PgSQL configuring this the option --without-ldap, --without-mysql or --without-pgsql Sleepycat DB3 or DB4 may be used to cache retrieved information during a while and limit serveur load. It's place is guessed in "configure" but you can define the include and library paths with --with-db3 or --with-db4 and --with-db3-libdir options. Use options --without-db3 and --without-db4 if you don't want this feature. You can download DBx from http://www.sleepycat.com/ One you have run configure with you option, just do a "make" then "make install". CONFIGURATION Check the manal page of home.conf(5) and configure the library with your settings. You are able to test your configuration, you can compile the "home_finger" (just run "make home_finger") and run it home_finger can also be used for benchmarks. Run "home_finger -h" to get the syntax. LINKING YOUR APPLICATION WITH LIBHOME The utilities "libhome.sh" give options for compilation. Option "-i" returns the -I options for the C preprocessor, option "-l" returns the -L and -l options for the linker. example : cc -o main $(libhome.sh -i) main.c $(libhome.sh -l) PERL MODULE The Home subdirectory contains a perl module who wrap the libhome functions.