Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-299

shib users may have incorrect full name and email address.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • web gui (frontend)
    • None

    Description

      A bug in the shibboleth code can cause a user's full name info and email address to be changed if their uid equals the row id of another user. Here is the fix:

      — web/.ht-inc/authmethods/shibauth.php (revision 903001)
      +++ web/.ht-inc/authmethods/shibauth.php (working copy)
      @@ -92,7 +92,7 @@
      }
      $query .= "emailnotices = 0, "
      . "lastupdated = NOW() "

      • . "WHERE uid = {$user['id']}";
        + . "WHERE id = {$user['id']}";
        doQuery($query, 101, 'vcl', 1);
        return $user;
        }

      Attachments

        Activity

          People

            jfthomps Josh Thompson
            sean@duke.edu Sean Dilda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: