UserPasswordAttribute does not handle correctly clear method in templates
UserPasswordAttribute does not handle correctly clear method in templates
Link issues together to show that they're related. Learn more.
Activity
- bmortier changed milestone to %FusionDirectory 1.4
changed milestone to %FusionDirectory 1.4
- bmortier added PJ1802-0188 label
added PJ1802-0188 label
- bmortier created merge request !901 to address this issue
created merge request !901 to address this issue
By Côme Chilliet on 2021-05-06T08:54:01 (imported from GitLab)
- bmortier mentioned in merge request !901
mentioned in merge request !901
By Côme Chilliet on 2021-05-06T08:54:02 (imported from GitLab)
- bmortier added 1h of time spent at 2021-05-06
added 1h of time spent at 2021-05-06
By Côme Chilliet on 2021-05-06T10:02:20 (imported from GitLab)
- bmortier added To Be Tested label
added To Be Tested label
hello @cchilliet
i can i test this, can you put an exemple of the old and new format to be put in a template
Cheers
By bmortier on 2021-07-29T14:10:41 (imported from GitLab)
- bmortier added 5m of time spent
added 5m of time spent
By bmortier on 2021-07-29T14:10:41 (imported from GitLab)
- bmortier changed due date to August 05, 2021
changed due date to August 05, 2021
By bmortier on 2021-08-02T10:17:40 (imported from GitLab)
@bmortier Hello, you can test by using "clear" password method in a user template, modify it, and use it to create users and check it works.
The format to put in the template did not changes, it’s the LDAP format that changed, old was
<hashedpassword>|<clearpassword>
, new one is<method>|<lockstatus>|<clearpassword>
.By Côme Chilliet on 2021-08-25T15:15:02 (imported from GitLab)
hello @cchilliet
i juste tested with a template with clear for the password method and use it to create a user with it but the password is still in ssha.
see all screenshot behind
By bmortier on 2021-08-25T15:15:02 (imported from GitLab)
- Please register or sign in to reply
- bmortier added 5m of time spent
added 5m of time spent
By Côme Chilliet on 2021-08-02T12:29:33 (imported from GitLab)
- bmortier assigned to @bmortier and unassigned @cchilliet
assigned to @bmortier and unassigned @cchilliet
By bmortier on 2021-08-02T19:51:22 (imported from GitLab)
- bmortier added 20m of time spent
added 20m of time spent
By bmortier on 2021-08-25T15:15:03 (imported from GitLab)
- bmortier removed To Be Tested label
removed To Be Tested label
- bmortier assigned to @cchilliet
assigned to @cchilliet
By Jonathan Swaelens on 2021-08-26T13:06:45 (imported from GitLab)
I did not reproduce yet, but the new format does cause problems reading old templates. In may case the old template had
userPassword:{SSHA}!haeBGGqwy4Ax6FLxMqaP8PNNzA4Q/7Ew|%alp|sn%
in the templated fields, because of the|
in the password value it gets split as 3 fields with the new format and puts%alp
in the password field.We should adapt the code reading the format to better detect if middle field is a lock status or if we are reading old format.
By Côme Chilliet on 2021-09-02T14:57:57 (imported from GitLab)