-
Bug
-
Resolution: Fixed
-
P3
-
6u24
-
b25
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2210251 | 8 | Sean Coffey | P3 | Closed | Fixed | b01 |
JDK-2210250 | 7u2 | Sean Coffey | P3 | Resolved | Fixed | b03 |
JDK-2213219 | 6u30 | Sean Coffey | P3 | Closed | Fixed | b08 |
JDK-2212606 | 6u29-rev | Sean Coffey | P3 | Resolved | Fixed | b20 |
JDK-2212553 | 6u27-rev | Sean Coffey | P3 | Closed | Fixed | b20 |
The following filter validates OK with 6u24 but an OpenLDAP library throws error.
The filter in question is:
(&(objectclass=user)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)(telephonenumber=+*)))
The issue is due to the misplacement of a parenthesis the second"!" is given two operands.
The filter should be rewriiten as:
(&(objectclass=user)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(telephonenumber=+*))
The open LDAP library Openldap-2_4_19 throws the following error message:
13:33:20.526 |LDAP Search complete. Code: -7|*^*^*
13:33:20.526 |Failed to find user in directory: LDAP code: -7|*^*^*
13:33:20.526 |LDAP failure getting user entry: Bad search filter|*^*^
The filter in question is:
(&(objectclass=user)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)(telephonenumber=+*)))
The issue is due to the misplacement of a parenthesis the second"!" is given two operands.
The filter should be rewriiten as:
(&(objectclass=user)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(telephonenumber=+*))
The open LDAP library Openldap-2_4_19 throws the following error message:
13:33:20.526 |LDAP Search complete. Code: -7|*^*^*
13:33:20.526 |Failed to find user in directory: LDAP code: -7|*^*^*
13:33:20.526 |LDAP failure getting user entry: Bad search filter|*^*^
- backported by
-
JDK-2210250 LDAP API does not catch malformed filters that contain two operands for the ! operator
- Resolved
-
JDK-2212606 LDAP API does not catch malformed filters that contain two operands for the ! operator
- Resolved
-
JDK-2210251 LDAP API does not catch malformed filters that contain two operands for the ! operator
- Closed
-
JDK-2212553 LDAP API does not catch malformed filters that contain two operands for the ! operator
- Closed
-
JDK-2213219 LDAP API does not catch malformed filters that contain two operands for the ! operator
- Closed