Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11607

missing escape of '=' in the string used for querying ldap groups

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 3.10.0, 3.9.4, 4.0.0alpha1, 4.0.0trunk
    • None

    Description

      If ldap server uses a charcter other than '=' for query strings, it will not be used when checking ldap groups. Fix follows

      @@ -422,7 +422,6 @@
      $groupSearchingDepth = ( $LDAPGroupMappingType == '1' ) ? 1 : 1000;
      
      // now, get all parents for currently ldap authenticated user
      - $LDAPGroupBaseDN = str_replace( $LDAPEqualSign, "=", $LDAPGroupBaseDN );
      $requiredParams = array();
      $requiredParams[ 'LDAPLoginAttribute' ] = $LDAPLoginAttribute;
      $requiredParams[ 'LDAPGroupBaseDN' ] = $LDAPGroupBaseDN;
      

      Note: prgiginally reported in bug #11500

      Attachments

        Activity

          People

            andre1 andre1
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: