integ/ldap/ldapscripts
Andy Ning 1d73a1bd70 Patch ldapscripts to support user password change
This is part of the change to replace nslcd with sssd to
support multiple secure ldap backends.

This change patched ldapscripts (ldapadduser) to reset password
right after the ldap user is created on Debian. With its password
reset, the ldap user will be forced to change its password at
first login, the similar behavior as on CentOS.

Test Plan on Debian (SX and DX):
PASS: Package build, image build.
PASS: System deployment.
PASS: ldap user added by ldapadduser or ldapusersetup will be asked
      to change password at first login (either on console or by
      ssh)
PASS: Change checked by shellcheck, warnings investigated.

Story: 2009834
Task: 46068
Depends-On: https://review.opendev.org/c/starlingx/metal/+/854203
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I13f098c6053816bb3b0450c039caccf94c04d55d
2022-08-24 13:42:54 -04:00
..
centos Make /usr readonly to support OSTree 2022-04-29 11:19:37 -04:00
debian Patch ldapscripts to support user password change 2022-08-24 13:42:54 -04:00
files Make /usr readonly to support OSTree 2022-04-29 11:19:37 -04:00
PKG-INFO Relocate ldapscripts to stx-integ/ldap/ldapscripts 2018-08-01 15:31:54 -04:00