[Trunk][saas-2][7.0][6.1]LDAP: get rid of searchResultReference replies for use with M$AD

Bug #983123 reported by Patrick Monnerat
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 1

Bug Description

When using LDAP authentication with a M$ active directory server, the search results contains some searchResultReference items (see LDAP doc). Those are counted as additional result records and thus, make impossible for a user to log in (len(results) should be 1).
The searchResultReference records may be recognized because they have results[i][0] == None.

Software versions:

openerp 6.1-1
python-ldap 2.3.10
python 2.7
kernel 2.6.35

I'm not a python programmer but I managed to produce a patch for that. It's surely not elegant python, but it works. Please find it in attachment.

Tags: maintenance
Revision history for this message
Patrick Monnerat (monnerat) wrote :
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
summary: - LDAP: get rid of searchResultReference replies for use with M$AD
+ [Trunk][saas-2][7.0][6.1]LDAP: get rid of searchResultReference replies
+ for use with M$AD
Revision history for this message
Olivier Laurent (Acsone) (olivier-laurent) wrote :

This bug is still active in [Trunk][Saas-2][7.0] and [6.1].
Importance of the bug has been classified **LOW** ... however, with this issue nobody can login to the application !!
Many thanks to fix definitively this bug on official branches.

Revision history for this message
Olivier Laurent (Acsone) (olivier-laurent) wrote :

Linked to opw-603404

tags: added: maintenance
Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Fixed in 7.0 at revision 9795 Revision ID: <email address hidden>.

Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.