From df045f1646e243572ced34273e4b8ba538732790 Mon Sep 17 00:00:00 2001 From: Nagaraju Goruganti Date: Mon, 3 Sep 2018 21:56:42 -0500 Subject: Add new LDAP config package Package app phosphor-ldap-conf. This app implements an API to update the LDAP config file i.e /etc/nslcd.conf. This commit also creates a file:/etc/nslcd.conf.default, which is to be restored as /etc/nslcd.conf when we disable LDAP configuration. (From meta-phosphor rev: 6d7f640d702b5853268bec58e8529516e7884493) Change-Id: I7183652732c2200b5cc0a644ddb179c8784eb0fb Signed-off-by: Nagaraju Goruganti Signed-off-by: Brad Bishop --- .../recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend (limited to 'meta-phosphor/recipes-support') diff --git a/meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend b/meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend new file mode 100644 index 000000000..d1b092d29 --- /dev/null +++ b/meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend @@ -0,0 +1,3 @@ +do_install_append() { + install -m 0644 ${D}${sysconfdir}/nslcd.conf ${D}${sysconfdir}/nslcd.conf.default +} -- cgit v1.2.3