c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05631
[Bug 582857] Re: users_ldap: Active Directory compatibility
** Changed in: openobject-addons
Status: Confirmed => Triaged
--
users_ldap: Active Directory compatibility
https://bugs.launchpad.net/bugs/582857
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Triaged
Bug description:
Needed to make a couple of changes to make users_ldap from stable 5.0.10 work with AD on Windows Server 2008:
- Turn off referral chasing with: ldap.set_option(ldap.OPT_REFERRALS, 0)
- Remove len() check on result_data. I'm not sure why this was set to 1 or if changing it breaks anything, but the return length using WS 2008/python-ldap 2.3.8 was 4.
Patch attached. Likely could be made a little more robust... possibly validate server version, etc.