This space is archived

For current information please use the current ExamSys documentation

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This document is a work in progress.

 

If you cannot login to Rogo try enabling authentication debugging via the display_auth_debug setting in config/config.inc.php

$display_auth_debug = true;

This will add extra information to the login page:

If you view the source of the page if will be displayed in a more readable format:

Example when no login attempt made
array(40) {
  [0]=>
  string(32) "Loaded Config for authentication"
  [1]=>
  string(44) "Running Registering callback routines for #0"
  [2]=>
  string(95) "register_callback success auth from alreadyloggedin_auth id:0 with name:Internal Authentication"
  [3]=>
  string(103) "register_callback success sessionstore from alreadyloggedin_auth id:0 with name:Internal Authentication"
  [4]=>
  string(106) "register_callback success postauthsuccess from alreadyloggedin_auth id:0 with name:Internal Authentication"
  [5]=>
  string(44) "Running Registering callback routines for #1"
  [6]=>
  string(73) "register_callback success auth from ltilogin_auth id:1 with name:LTI Auth"
  [7]=>
  string(84) "register_callback success postauthsuccess from ltilogin_auth id:1 with name:LTI Auth"
  [8]=>
  string(83) "register_callback success displaystdform from ltilogin_auth id:1 with name:LTI Auth"
  [9]=>
  string(46) "authObj(LTI Auth:ltilogin)[1:0]:: Starting LTI"
  [10]=>
  string(44) "Running Registering callback routines for #2"
  [11]=>
  string(88) "register_callback success displaystdform from guestlogin_auth id:2 with name:Guest Login"
  [12]=>
  string(44) "Running Registering callback routines for #3"
  [13]=>
  string(86) "register_callback success preauth from impersonation_auth id:3 with name:Impersonation"
  [14]=>
  string(89) "register_callback success getauthobj from impersonation_auth id:3 with name:Impersonation"
  [15]=>
  string(91) "register_callback success sessionstore from impersonation_auth id:3 with name:Impersonation"
  [16]=>
  string(44) "Running Registering callback routines for #4"
  [17]=>
  string(84) "register_callback success auth from internaldb_auth id:4 with name:Internal Database"
  [18]=>
  string(92) "register_callback success postauthfail from internaldb_auth id:4 with name:Internal Database"
  [19]=>
  string(95) "register_callback success postauthsuccess from internaldb_auth id:4 with name:Internal Database"
  [20]=>
  string(90) "register_callback success lookupuser from internaldb_auth id:4 with name:Internal Database"
  [21]=>
  string(44) "Running Registering callback routines for #5"
  [22]=>
  string(65) "register_callback success auth from ldap_auth id:5 with name:LDAP"
  [23]=>
  string(73) "register_callback success postauthfail from ldap_auth id:5 with name:LDAP"
  [24]=>
  string(76) "register_callback success postauthsuccess from ldap_auth id:5 with name:LDAP"
  [25]=>
  string(75) "register_callback success displayerrform from ldap_auth id:5 with name:LDAP"
  [26]=>
  string(23) "Starting authentication"
  [27]=>
  string(78) "authObj(Impersonation:impersonation)[3:0]:: Starting up impersination checking"
  [28]=>
  string(63) "authObj(Internal Authentication:alreadyloggedin)[0:0]:: Authing"
  [29]=>
  string(145) "authObj(Internal Authentication:alreadyloggedin)[0:1]:: array (  'authenticationObj' =>   array (    'attempt' => 1,  ),  'current_ip' => '::1',)"
  [30]=>
  string(88) "authObj(Internal Authentication:alreadyloggedin)[0:2]:: No valid userid found in session"
  [31]=>
  string(89) "authObj(LTI Auth:ltilogin)[1:1]:: Not valid LTI Launch: Could not find context in session"
  [32]=>
  string(52) "authObj(Internal Database:internaldb)[4:0]:: Authing"
  [33]=>
  string(66) "authObj(Internal Database:internaldb)[4:1]:: Check 1 blank entries"
  [34]=>
  string(33) "authObj(LDAP:ldap)[5:0]:: Authing"
  [35]=>
  string(47) "authObj(LDAP:ldap)[5:1]:: Check 1 blank entries"
  [36]=>
  string(62) "authObj(Internal Database:internaldb)[4:2]:: Fail function run"
  [37]=>
  string(29) "parameters after running NULL"
  [38]=>
  string(51) "authObj(Guest Login:guestlogin)[2:0]:: Button Check"
  [39]=>
  string(12) "Display form"
}

If no login attempt has been made it will show you only which plugins managed it managed to find in Rogo. You should check that all that you expect are listed, and that they are in the order you expect.

If there are any failures at this stage it means that the $authentication setting in the config/config.inc.php is incorrect.

If that is the case try logging in.

Username of myusername tries to login. The username does not exist
array(42) {
  [0]=>
  string(32) "Loaded Config for authentication"
  [1]=>
  string(171) "Standard form data found - Storing in object array (
  'std' => 
  stdClass::__set_state(array(
     'username' => 'myusername',
     'password' => '***HIDDEN***',
  )),
)"
  [2]=>
  string(44) "Running Registering callback routines for #0"
  [3]=>
  string(95) "register_callback success auth from alreadyloggedin_auth id:0 with name:Internal Authentication"
  [4]=>
  string(103) "register_callback success sessionstore from alreadyloggedin_auth id:0 with name:Internal Authentication"
  [5]=>
  string(106) "register_callback success postauthsuccess from alreadyloggedin_auth id:0 with name:Internal Authentication"
  [6]=>
  string(44) "Running Registering callback routines for #1"
  [7]=>
  string(73) "register_callback success auth from ltilogin_auth id:1 with name:LTI Auth"
  [8]=>
  string(84) "register_callback success postauthsuccess from ltilogin_auth id:1 with name:LTI Auth"
  [9]=>
  string(83) "register_callback success displaystdform from ltilogin_auth id:1 with name:LTI Auth"
  [10]=>
  string(46) "authObj(LTI Auth:ltilogin)[1:0]:: Starting LTI"
  [11]=>
  string(44) "Running Registering callback routines for #2"
  [12]=>
  string(88) "register_callback success displaystdform from guestlogin_auth id:2 with name:Guest Login"
  [13]=>
  string(44) "Running Registering callback routines for #3"
  [14]=>
  string(86) "register_callback success preauth from impersonation_auth id:3 with name:Impersonation"
  [15]=>
  string(89) "register_callback success getauthobj from impersonation_auth id:3 with name:Impersonation"
  [16]=>
  string(91) "register_callback success sessionstore from impersonation_auth id:3 with name:Impersonation"
  [17]=>
  string(44) "Running Registering callback routines for #4"
  [18]=>
  string(84) "register_callback success auth from internaldb_auth id:4 with name:Internal Database"
  [19]=>
  string(92) "register_callback success postauthfail from internaldb_auth id:4 with name:Internal Database"
  [20]=>
  string(95) "register_callback success postauthsuccess from internaldb_auth id:4 with name:Internal Database"
  [21]=>
  string(90) "register_callback success lookupuser from internaldb_auth id:4 with name:Internal Database"
  [22]=>
  string(44) "Running Registering callback routines for #5"
  [23]=>
  string(65) "register_callback success auth from ldap_auth id:5 with name:LDAP"
  [24]=>
  string(73) "register_callback success postauthfail from ldap_auth id:5 with name:LDAP"
  [25]=>
  string(76) "register_callback success postauthsuccess from ldap_auth id:5 with name:LDAP"
  [26]=>
  string(75) "register_callback success displayerrform from ldap_auth id:5 with name:LDAP"
  [27]=>
  string(23) "Starting authentication"
  [28]=>
  string(78) "authObj(Impersonation:impersonation)[3:0]:: Starting up impersination checking"
  [29]=>
  string(63) "authObj(Internal Authentication:alreadyloggedin)[0:0]:: Authing"
  [30]=>
  string(145) "authObj(Internal Authentication:alreadyloggedin)[0:1]:: array (  'authenticationObj' =>   array (    'attempt' => 3,  ),  'current_ip' => '::1',)"
  [31]=>
  string(88) "authObj(Internal Authentication:alreadyloggedin)[0:2]:: No valid userid found in session"
  [32]=>
  string(89) "authObj(LTI Auth:ltilogin)[1:1]:: Not valid LTI Launch: Could not find context in session"
  [33]=>
  string(52) "authObj(Internal Database:internaldb)[4:0]:: Authing"
  [34]=>
  string(105) "authObj(Internal Database:internaldb)[4:1]:: Check 2 record number not = 1 no user or multiple user found"
  [35]=>
  string(33) "authObj(LDAP:ldap)[5:0]:: Authing"
  [36]=>
  string(64) "authObj(LDAP:ldap)[5:1]:: Sucessfull initial bind to ldap server"
  [37]=>
  string(65) "authObj(LDAP:ldap)[5:2]:: <strong>No LDAP account found!</strong>"
  [38]=>
  string(62) "authObj(Internal Database:internaldb)[4:2]:: Fail function run"
  [39]=>
  string(29) "parameters after running NULL"
  [40]=>
  string(51) "authObj(Guest Login:guestlogin)[2:0]:: Button Check"
  [41]=>
  string(12) "Display form"
}

In the example above a username that does not exist in any of the authentication methods was used.

  • No labels