[SRU] search fail with get_ctrls : controls require LDAPv3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
James Page |
Bug Description
[IMPACT]
* Any client connecting in LDAPv3 and using v3 specific feature may fail
* This include libnss-ldap (so id user may not return all group). Thus you may login without all your groups and need to logout/login on more time.
* This issue is known and fixed on upsteam, ITS#7107 (commit 85c1c545f4e2088
[TESTCASE]
To reproduce this issue, you will need to do enough searches, some with version 2, other with version 3 and some control.
Example:
* In terminal A, run: while true; do ldapsearch -h 127.0.0.1 -b o=company uid=dontcare -P 2 > /dev/null;sleep 0.1;done
* Let the loop run for some time (it increases change of failure for next step).
* In terminal B, run ldapsearch -h 127.0.0.1 -b o=company uid=dontcare -M.
You should not have to run more than 20 times before an error occurs.
[REGRESSION POTENTIAL]
Minimal, as this is a simple one-line change to initialize objects before re-use.
Fix has good heritage as Howard is the Chief TA of OpenLDAP.
Changed in openldap (Ubuntu): | |
importance: | Undecided → Medium |
Changed in openldap (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → ubuntu-12.04.1 |
Changed in openldap (Ubuntu): | |
status: | Confirmed → Triaged |
description: | updated |
Changed in openldap (Ubuntu Precise): | |
assignee: | nobody → James Page (james-page) |
Changed in openldap (Ubuntu Precise): | |
status: | Triaged → In Progress |
Status changed to 'Confirmed' because the bug affects multiple users.