diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-09-04 05:56:42 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-11-20 07:02:52 +0300 |
commit | df045f1646e243572ced34273e4b8ba538732790 (patch) | |
tree | 0dda17ac8934275793509ab8d0f33812d3634bd3 /meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend | |
parent | eeee14fc402d0c54cf0b6480494abb5353c44e67 (diff) | |
download | openbmc-df045f1646e243572ced34273e4b8ba538732790.tar.xz |
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 <ngorugan@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend')
-rw-r--r-- | meta-phosphor/recipes-support/nss-pam-ldapd_fix/nss-pam-ldapd_%.bbappend | 3 |
1 files changed, 3 insertions, 0 deletions
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 +} |