Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Setting up External Authentication and getting error

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1175 Views
  • MKayHavoc
    Avatar
    Community Member
    33 Posts

    Setting up External Authentication and getting error Link to this post

    Hi,

    I'm following the instructions to set up the auth_external module. So i've copied auth_external to the root of my site, copied the _config.ldap file from the docs folder and renamed it to _config.php. That's as far as I've got and I get this message:

    Fatal error: Declaration of ExternalAuthenticator::authenticate() must be compatible with that of Authenticator::authenticate() in /webdata/sites/staff/auth_external/code/ExternalAuthenticator.php on line 458

    Can anyone help?

    Thanks

    Ryan

  • MKayHavoc
    Avatar
    Community Member
    33 Posts

    Re: Setting up External Authentication and getting error Link to this post

    Hasn't anyone else had this problem? Really need to fix this.

  • MKayHavoc
    Avatar
    Community Member
    33 Posts

    Re: Setting up External Authentication and getting error Link to this post

    Has anyone actually got this extension working?

  • MKayHavoc
    Avatar
    Community Member
    33 Posts

    Re: Setting up External Authentication and getting error Link to this post

    OK, i finally made some progress with this problem. On line 323 of ExternalAuthentictor.php it says:

    public static function authenticate(array $RAW_data, Form $form = null) {

    If it's not set to:

    public static function authenticate($RAW_data, Form $form = null) {

    It throws the error.

    Anyway. I don't seem to be able to authenticate against my AD server. I know my details are correct because I use them for other apps.

    How can I attach a debugger log file or something to see exactly were things are going wrong?

    1175 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.