Package nss_wrapper: Information
Source package: nss_wrapper
Version: 1.1.16-alt1
Build time: Jul 15, 2024, 01:51 PM
Category: Development/Other
Report package bugHome page: https://cwrap.org/
License: BSD
Summary: A wrapper for the user, group and hosts NSS API
Description:
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. To use it set the following environment variables: LD_PRELOAD=libuid_wrapper.so NSS_WRAPPER_PASSWD=/path/to/passwd NSS_WRAPPER_GROUP=/path/to/group NSS_WRAPPER_HOSTS=/path/to/host This package doesn't have a devel package cause this project is for development/testing.
Maintainer: Evgeny Sinelnikov
Last changed
July 14, 2024 Evgeny Sinelnikov 1.1.16-alt1
- Updated to new version 1.1.16 (released 2024-07-05) - Fixes from upstream: + Fixed copy&paste error in the destructor + Fixed thread sanitizer on modern Linux Kernels + Fixed building with newer cmocka versions
March 24, 2023 Evgeny Sinelnikov 1.1.15-alt2
- Fix cmocka >= 1.1.6 find_package()
March 24, 2023 Evgeny Sinelnikov 1.1.15-alt1
- Fixed linking issue in tests - Fixed a memory leak in tests - Fixed implementation of initgroups() - Fixed implementation of getgrouplist() - Avoid dclose(RTLD_NEXT) - Fixed possible mutex and threading issues