summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraviteja-b <raviteja28031990@gmail.com>2019-04-02 07:39:10 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-04-09 20:14:59 -0400
commit6d4bcf0a75b2a6055055c9ad8ed6b93599082385 (patch)
tree1cbc879b907024f6d612a0b73a5e0ea36ecef765
parentafe1e2a491cf098ab5ae54cd6728339c1a7da1c7 (diff)
downloadtalos-openbmc-6d4bcf0a75b2a6055055c9ad8ed6b93599082385.tar.gz
talos-openbmc-6d4bcf0a75b2a6055055c9ad8ed6b93599082385.zip
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 <raviteja28031990@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-phosphor/recipes-core/base-files/base-files_%.bbappend2
1 files changed, 1 insertions, 1 deletions
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
}
OpenPOWER on IntegriCloud