From 6d4bcf0a75b2a6055055c9ad8ed6b93599082385 Mon Sep 17 00:00:00 2001 From: raviteja-b Date: Tue, 2 Apr 2019 07:39:10 -0500 Subject: LDAP:create single nsswitch.conf file Earlier thought was there would be overhead if we include "ldap" here in the nssswitch.conf file so created nsswitch_ldap.conf, but we have tested both the cases(ldap/local) and we don't find any overhead,so we don't need both nsswitch.conf and nsswitch_ldap.conf files Here is link for nss-pam-ldapd-users discussion thread https://lists.arthurdejong.org/nss-pam-ldapd-users/2019/msg00021.html Tested local and ldap user authentication with valid and invalid credentials. (From meta-phosphor rev: a4ac97cdb199af84a28c2ad691aa5ef85b32d66f) Change-Id: I0c72d3a32a51dcc0cb8cf9c67411d26b5d8658d2 Signed-off-by: Ravi Teja Signed-off-by: Brad Bishop --- meta-phosphor/recipes-core/base-files/base-files_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor/recipes-core/base-files') diff --git a/meta-phosphor/recipes-core/base-files/base-files_%.bbappend b/meta-phosphor/recipes-core/base-files/base-files_%.bbappend index 1dd38a40a..83e455f3d 100644 --- a/meta-phosphor/recipes-core/base-files/base-files_%.bbappend +++ b/meta-phosphor/recipes-core/base-files/base-files_%.bbappend @@ -12,6 +12,6 @@ do_install_append() { install -d ${D}/srv if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ldap', d)}" ]; then - install -D -m 600 ${WORKDIR}/nsswitch_ldap.conf ${D}/${sysconfdir}/ + install -D -m 600 ${WORKDIR}/nsswitch_ldap.conf ${D}/${sysconfdir}/nsswitch.conf fi } -- cgit v1.2.3