• 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.

    https://www.ads-software.com/extend/plugins/external-database-authentication/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter takuya

    (@takuya)

    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?

    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.

    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.

    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.

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

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

    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: External DB authentication] Can’t login, stuck at configurations…’ is closed to new replies.