Howto convert base64 to md5
Hi, all
I have a LDAP database on Redhat 8.x. When I use ldapsearch comand, I receive userPassword at base64 hash format (userPassword:: e0NSWVBUfSQxJEZ1dVR0cGt0JFd0RkM1eUpOeTd2bmQ1cXNzY3ZMTC8=). Now, I want to convert this hash to MD5 hash. After, I will enter this MD5 hash to /etc/shadow and convert /etc/passwd to ldif file.
Do you have any solutions for this?
Thanks.
|