Title: Local Database Hashed Format
Last modified: August 22, 2016

---

# Local Database Hashed Format

 *  [peakbackup](https://wordpress.org/support/users/peakbackup/)
 * (@peakbackup)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/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";
       }
       ?>
       ```
   
 * [https://wordpress.org/plugins/active-directory-integration/](https://wordpress.org/plugins/active-directory-integration/)

The topic ‘Local Database Hashed Format’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/active-directory-integration_e2ecae.
   svg)
 * [Active Directory Integration](https://wordpress.org/plugins/active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/active-directory-integration/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [peakbackup](https://wordpress.org/support/users/peakbackup/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/local-database-hashed-format/)
 * Status: not resolved