Actions
Bug #6403
closedCommand-line user management does not handle hashed passwords
Start date:
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
Description
From original ticket in the identity service redmine instance (https://projects.nceas.ucsb.edu/nceas/issues/862):
When i tried to add a user by running this command:
./authFileManager.sh useradd -h $2a$04$csilPspPJdMx8zt7L9XKXeUxZjkPgKZd.o7TTPC0oJOFmT2kQ/E92 -dn uid=jing2,o=NCEAS,dc=ecoinformatics,dc=orgIt showed the creation succeeded. However, the password filed is not "$2a$04$csilPspPJdMx8zt7L9XKXeUxZjkPgKZd.o7TTPC0oJOFmT2kQ/E92". So the loging in can't be successful.
The API - authFile.addUser works since the junit test can set the hashed password correctly.
This is a problem in the Metacat code base so I'm moving this here so we can more easily track the 2.4.0 release.
Actions