Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41304

Warning shown when debugging is on and user doesn't exist in LDAP Context

XMLWordPrintable

    • PostgreSQL
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • mdl41304-master
    • Hide

      Change debugging to MINIMAL or NONE.

      Show
      Change debugging to MINIMAL or NONE.
    • Hide

      Requirement:

      • Debug ALL on
      • "Search subcontexts" is enable in LDAP settings
      • LDAP account in say staff context and different context for students

      Login via LDAP with an account that exists in only one context.
      If display errors is on the default redirect after login will show the error or in the error_log.

      Show
      Requirement: Debug ALL on "Search subcontexts" is enable in LDAP settings LDAP account in say staff context and different context for students Login via LDAP with an account that exists in only one context. If display errors is on the default redirect after login will show the error or in the error_log.

      We have recently turned on full debugging in our TEST environment and found the warning message prevents redirection:

      Warning: ldap_search(): Search: No such object in /var/www/moodle/lib/ldaplib.php on line 241
       
      Warning: ldap_first_entry() expects parameter 2 to be resource, boolean given in /var/www/moodle/lib/ldaplib.php on line 248
      

            iarenaza Iñaki Arenaza
            tlock Tim Lock
            Mark Nelson Mark Nelson
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.