openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10365
[Bug 983123] Re: LDAP: get rid of searchResultReference replies for use with M$AD
** Patch added: "openerp-6.1.1-searchresref.patch"
https://bugs.launchpad.net/bugs/983123/+attachment/3077625/+files/openerp-6.1.1-searchresref.patch
--
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):
New
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