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

LDAP code uses hardcoded 'numericid' field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: web gui (frontend)
    • Labels:
    • Environment:

      CentOS on host and guest

      Description

      The .ht-inc/conf.php and .htinc/authmethods/ldapauth.php files use a hardcoded 'numericid' string to fetch the ldap userid. This does not work on any LDAP system with a different name for this field.

      I have attached my fix for the problem, but I am not familiar enough with the code base to be sure that I got everything.

      patch for conf-default.php: http://pastebin.com/C9ZDCBCD
      patch for ldapauth.php: http://pastebin.com/waK3dTH0

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nsasherr Nathaniel Sherry
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: