462fa4fc08
The change of 3 meta patches refers to %post section in spec file. The comment in the patch mentions that we don't want change our custom binddn and bindpw in nslcd.conf. However, in spec file, "source" variabe could not be assigned to a valid file name, as we could not find these *.conf files in /etc/ folder. if test -s /etc/nss-ldapd.conf ; then source=/etc/nss-ldapd.conf elif test -s /etc/nss_ldap.conf ; then source=/etc/nss_ldap.conf elif test -s /etc/pam_ldap.conf ; then source=/etc/pam_ldap.conf else source=/etc/ldap.conf So it will not change nslcd.conf even if we do not remove below code. if grep -E -q '^base[[:blank:]]' $source 2> /dev/null ; then # Comment out the packaged default base and replace it. sed -i -r -e 's,^(base[[:blank:]].*),# \1,g' $target grep -E '^base[[:blank:]]' $source >> $target fi grep -E '^(binddn|bindpw|port|scope|ssl|pagesize)[[:blank:]]' $source 2> /dev/null >> $target We can use RPM instead of SRPM for nss-pam-ldapd package, since related patches are not used anymore. Deployment test pass. Story: 2003768 Task: 28045 Depends-on: https://review.openstack.org/#/c/619976/ Change-Id: Ia4fa723d1a6ff9a7a8059fc2db1afec640ea41b1 Signed-off-by: zhipengl <zhipengs.liu@intel.com> |
||
---|---|---|
.. | ||
ldapscripts | ||
openldap | ||
openldap-config |