Created attachment 268457 [details] add `nssov` overlay to enable baked in nslcd(8) socket protocol this patch adds an option to build the `nssov` NSS/PAM overlay to enable baked in nslcd(8) socket protocol this allows for using ports/net/nss-pam-ldapd[-sasl] without the need to run the nslcd(8) server slapd(8) with `nssov` does everything nslcd(8) can do and then some. with `nssov` enabled `slapd` will create the same nslcd(8) socket configured in ports/net/nss-pam-ldapd[-sasl] that nslcd(8) would create speaking the same protocol. this patch ensures the single source of truth for configuring the NSLCD_SOCKET path is fetched from ports/net/nss-pam-ldapd[-sasl] settings. e.g. when using ports/ports-mgmt/portconf then this setting in /usr/local/etc/ports.conf: ``` net/nss-pam-ldapd*: NSLCD_VARDIR=/var/run/openldap ``` will ensure all three of these ports will build with the same exact NSLCD_SOCKET path hardcoded at build time: net/nss-pam-ldapd net/nss-pam-ldapd-sasl net/openldap26-server this patch defaults to using the same NSLCD_SOCKET path already being used by the net/nss-pam-ldapd[-sasl] packages -- rebuilding those ports is not needed to start using slapd(8)/nssov as a replacement for nslcd(8)
Created attachment 268459 [details] add `nssov` overlay to enable baked in nslcd(8) socket protocol removed `NSSOV_CONFIGURE_ENABLE= nssov=mod` from the patch -- not needed, throws a WARNIN G