mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
50c8f0c801
The getXXYYY_r() calls require a buffer to store the variable data of the passwd and group structs. If the provided buffer is too small ERANGE is returned and the caller can try with a larger buffer again. Cmocka/cwrap based unit-tests for get*_r_wrapper() are added. Resolves https://fedorahosted.org/freeipa/ticket/4908 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
4 lines
139 B
Bash
4 lines
139 B
Bash
export LD_PRELOAD=$(pkg-config --libs nss_wrapper)
|
|
export NSS_WRAPPER_PASSWD=./test_data/passwd
|
|
export NSS_WRAPPER_GROUP=./test_data/group
|