Moving (back) to LDAP Auth, would like to migrate passwords
Posted: 17 Jul 2013, 01:59
OK, so back in the day (pre madsonic days) I used to authenticate against my LDAP database which worked great. Well at the time, I shut down my local linux box and did away with LDAP authentication. This was a pain because everyone who had an account had to be recreated and their password reset. What I would like to know is.. is there any way that I can migrate the passwords that are encrypted in the database to OpenLDAP. Fortunately, OpenLDAP supports a number of different password encryption schemes, so if I at least knew what algorithm was used in the MadSonic database, I might be able to simple use the password as is and just let the LDAP directory know what type of encryption it is. Second option, if the encryption that is used for Madsonic users happens to NOT be supported by OpenLDAP, is the encryption algorithm used a one-way algorithm (like MD5 is) or is there some way that I could decrypt the passwords in order to re-encrypt them to what my database already uses and then migrate them over to OpenLDAP. I am just trying to avoid making all my users go in and change their passwords again because I really want it to be as seamless as possible.
Thanks in advance for any pointers that you can give!
-Steve
Thanks in advance for any pointers that you can give!
-Steve