sbj: Not sure, but I think it's only possible to update the userpassword through LDAP, otherwise it's read-only, afaik. If that's the case, you'll probably need to go through the graphql api, or directly to the db.
nitnelave
10/04/2023, 9:18 AM
m00n: rip
i tried looking at the api, but i have no idea how the password is encoded there
To answer the question: I'm not sure what Ansible does (would be interesting to look at the LLDAP logs), but creating a user through LDAP should work (without a password though). Then the recommended way is to reset the password via email. If you really want to, you can either set the password via the utility @wailashi mentioned, or through an extended LDAP request (password modify operation)