Skip to content

main/nss-pam-ldapd: enable nss module

Nick O'Connor requested to merge nick-oconnor/aports:nss-pam-ldapd into master

Fixes #7946 (closed) by enabling the nss module and addressing musl compatibility.

Defining NETDB_INTERNAL as -1 appears to be safe. It's set to -1 in glibc, musl doesn't use -1 for any other code, and the source doesn't seem to do any inequality operations on h_errnop. I've tested the changes with openldap and haven't noticed any issues.

glibc codes:

musl codes:

musl implementation:

base test image:

Edited by Nick O'Connor

Merge request reports