I am currently trying to change a password of an ldap account with ruby. As I used OpenDJ and Java before, it was possible to trigger a password change request which only got the new password as plain text but at the end it was set as crypted password using the function which was set in OpenLDAP options.
But with ruby, I only figured out how to change the password attribute directly.
Can I do the same with ruby what I do in java with OpenDJ?
The operation to change a password in OpenDJ is an LDAP operation, and independent of the language you are using on the client side. So yes, you should be able to do the same with Ruby and Java. How to do it in Ruby depends on the LDAP support and library provided in Ruby, and I'm sorry I have no experience with that.