devel/nss_wrapper - The NetBSD Packages Collection

LD_PRELOAD wrapper for the user, group and hosts NSS API

There are projects which provide daemons needing to be able to create,
modify and delete Unix users.  Or just switch user ids to interact with
the system e.g. a user space file server.  To be able to test that you
need the privilege to modify the passwd and groups file.  With
nss_wrapper it is possible to define your own passwd and groups file
which will be used by software to act correctly while under test.

If you have a client and server under test they normally use functions
to resolve network names to addresses (dns) or vice versa.  The
nss_wrappers allow you to create a hosts file to setup name resolution
for the addresses you use with socket_wrapper.

- Provides information for user and group accounts.
- Network name resolution using a hosts file.
- Loading and testing of NSS modules.

Build dependencies

devel/cmocka devel/cmocka devel/cmake pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/perl5

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.