openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13949
[Bug 983123] Re: LDAP: get rid of searchResultReference replies for use with M$AD
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/983123
Title:
LDAP: get rid of searchResultReference replies for use with M$AD
Status in OpenERP Addons (modules):
Confirmed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/983123/+subscriptions
References