Local Database Hashed Format
-
As an FYI, the password writing of the AD user works; however, the method appears md5 + salt? Anyway, the password hash does not align with what COTS vendors that tie into the WP database expect. For example, the following does not match (but does for a local/native WP account):
<?php require_once ( '../wp-includes/class-phpass.php' ); $ad_password = 'hashvaluefromdb-$B0YqLRTVFgSDJxLnQ/'; $plain_password = 'plaintextpassword'; echo "Active Directory Integration:<br/>"; $wp_hasher = new PasswordHash(8, TRUE); if($wp_hasher->CheckPassword($plain_password, $ad_password)) { echo "YES, Matched"; } else { echo "No, Wrong Password"; } ?>
The topic ‘Local Database Hashed Format’ is closed to new replies.