• Resolved dereckmartin

    (@dereckmartin)


    Your plugin is the closest I have saw that fits my needs, but I don’t use roles, and my salt is not stored in a separate column. It is just how the system I am authenticating against is designed because these users also are integrated with pam-mysql and other auth services.

    Anyway I can tweak this plugin to support my use case?

    My password field is in the format as stated below:

    
    $6$rounds=XXXXX$salt$thelonghash$
    

    I use this method to validate passwords:

    
    // return first result from db with matching username...then
    if ( crypt($submitted_password, $stored_crypt_hash) == $stored_crypt_hash ) {}
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey dereckmartin,

    Sorry, I’ve only just seen this. I don’t seem to be getting notifications for this support.

    If you’re still interested in using the plugin I’ll look at adding this functionality today.

    I might get back to you at some point so you can test the functionality.

    Thanks,

    Tom

    Plugin Author tbenyon

    (@tbenyon)

    Hi again dereckmartin,

    I’ve added the functionality that you require. Could you please test it your end and let me know if it is working for you.

    I’ve updated the main plugin page with an additional FAQ entry to help users find the correct algorithm option with the use of example hashes.

    The setting you’ll need for the Hash Type is phpcrypt. You can set this by adding the following line to your wp-config.php file:
    define('EXTERNAL_LOGIN_OPTION_HASH_ALGORITHM', 'phpcrypt');

    If you find this is not working please get back to me and let me know and I’ll continue to work with you.

    You also mentioned that you don’t use roles. I don’t think this will stop your use of the plugin. If you set the ‘Unspecified Role’ setting to the role you want all your users to come across as that will do the job. If this is not working for you let me know what specifically is the issue and I’ll rectify it for you.

    If it does all work, a positive review would be much appreciated ??

    Thanks,

    Tom

    Plugin Author tbenyon

    (@tbenyon)

    Hey @dereckmartin,

    I haven’t heard back so I’m assuming this is resolved. Let me know if this is not the case so I can continue to support you.

    Thanks,

    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question about salt in same column as hash…’ is closed to new replies.