The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

External Database Authentication Reloaded
[resolved] Password using MySQL password() function (2 posts)

  1. roberthuttinger
    Posted 2 years ago #

    So you have cleverly added support for various versions of crypt, however what if the db we wish to auth against is using MySQLs native password() function (I know it is not best practice by ANY stretch).

    Is there a way to set crypt to 'non' and perform a custom function? I believe MySQL currently performs SHA1 twice, then converts the string to a HEX string.

    Ideas? Workarounds?


  2. roberthuttinger
    Posted 2 years ago #

    aha, it seems on line 415 I can set my own function! disregard previous question!

    case "Other" :             //right now defaulting to plaintext.  People can change code here for their own special hash

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • External Database Authentication Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic