commit ec2d02c55dbed9d536835ac3471b7529b7ad02c0
Author: Andy Ning <email address hidden>
Date: Thu May 12 11:34:34 2022 -0400
Correct ldapscripts template path in ldapscripts.conf
ldapscripts templates have been relocated to /etc/ldapscripts,
but the path to these templates still point to
/usr/local/etc/ldapscripts. This will cause some attributes are
not setup properly for newly created ldap users. A symptom is
that when the newly created ldap user tries to login, there is
no prompt asking the user to change its password.
Test Plan for Debian and CentOS:
PASS: system installation, bootstrap and unlock
PASS: new ldap user login by ssh, observe it is prompted to change
password.
PASS: new ldap user login by console, observe it is prompted to
change password.
PASS: su to new ldap user from sysadmin, observe it is prompted to
change password.
Closes-Bug: 1973073
Signed-off-by: Andy Ning <email address hidden>
Change-Id: I5328dc4d068785caeff6402542cd4a9bd70aea1f
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/841630 /opendev. org/starlingx/ stx-puppet/ commit/ ec2d02c55dbed9d 536835ac3471b75 29b7ad02c0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ec2d02c55dbed9d 536835ac3471b75 29b7ad02c0
Author: Andy Ning <email address hidden>
Date: Thu May 12 11:34:34 2022 -0400
Correct ldapscripts template path in ldapscripts.conf
ldapscripts templates have been relocated to /etc/ldapscripts, local/etc/ ldapscripts. This will cause some attributes are
but the path to these templates still point to
/usr/
not setup properly for newly created ldap users. A symptom is
that when the newly created ldap user tries to login, there is
no prompt asking the user to change its password.
Test Plan for Debian and CentOS:
PASS: system installation, bootstrap and unlock
PASS: new ldap user login by ssh, observe it is prompted to change
password.
PASS: new ldap user login by console, observe it is prompted to
change password.
PASS: su to new ldap user from sysadmin, observe it is prompted to
change password.
Closes-Bug: 1973073 caeff6402542cd4 a9bd70aea1f
Signed-off-by: Andy Ning <email address hidden>
Change-Id: I5328dc4d068785