WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: External DB authentication] Can't login, stuck at configurations... (7 posts)

  1. wpmubp
    Member
    Posted 5 years ago #

    I want to connect to another wordpress installation, but I'm stuck at configurations.

    So far the database information is correct as it can find the admin user from the external database. But even if I input admin password, it returns "invalid password."

    I assume the problem is at encryption method.

    I've tried MD5, SHA1 and none of them are working.

    I don't know what to write in Other encryption field if trying to connect to other wordpress installation.

    If you have any experience connecting two wordpress database using this plugin, please advise.

    http://wordpress.org/extend/plugins/external-database-authentication/

  2. wpmubp
    Member
    Posted 5 years ago #

    I think it should be in the form of:

    $password2 = $password;
    $password2 = md5($password);

    but above two would never work.

    There're three different auth keys set at my config.php, but not sure which one is used for passwords encryption.

    any expert outhere?

  3. charlener
    Member
    Posted 4 years ago #

    From what I can tell, wordpress uses the Portable PHP password hashing framework (phpass). This can be found in wp-includes/class-phpass.php. You can look over it to see the steps to generate passwords if you want to replicate it in the custom hash code, but it looks complicated.

    I think, from pluggable.php, since I don't redefine this function, you can actually use $password2 = wp_hash_password($password);

    If you're still looking for a solution, try this and let me/us know if it works.

  4. charlener
    Member
    Posted 4 years ago #

    FYI I tried that while testing with 2.8, and it doesn't work. I thought this may help: generate hashed pw but still didn't give me any useful results. Sorry...maybe someone else can assist.

  5. charlener
    Member
    Posted 4 years ago #

    Ok Takuya, I think this link may work. It's not using the plugin but describes how to share common logins among multiple wordpress setups.

    http://opensourceexperiments.wordpress.com/2009/02/01/setting-up-a-common-userbase-across-multiple-wordpress-installations/

  6. joshmac
    Member
    Posted 4 years ago #

    Has anyone figured out how to connect to an external wordpress database using this plugin yet?

  7. dickleung
    Member
    Posted 4 years ago #

    I want to clarify, is this plug-in can work for non-wordpress system database structure (my current database is MYSQL and plain text mode)

    I try many time, still can not login correct!

Topic Closed

This topic has been closed to new replies.

About this Topic