← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 582857] Re: users_ldap: Active Directory compatibility

 

Just seeing if I can bump this as well, seems like a pretty small change
and will definitely reduce confusion around using LDAP.

** Changed in: openobject-addons
       Status: New => Confirmed

-- 
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: Confirmed

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.