commit db291b340e63b74d8d240abfc37d03fb163f33f1
Author: Nathan Kinder <email address hidden>
Date: Wed Oct 15 15:39:55 2014 -0700
Use newer python-ldap paging control API
The API for using the LDAP simple paged results control changed
between python-ldap version 2.3 and 2.4. Our current implementation
fails with an AttributeError when trying to use paging with version
2.4 of python-ldap.
This patch detects the capabilities of the underlying python-ldap
version and uses the newer API in versions of python-ldap that have
removed the older API.
Change-Id: I2986e12daea3edf50f299af5927d2a05278e82f7
Closes-bug: #1381768
(cherry picked from commit 1be4a15454e6917571bc937e3bb3589e8f79bc55)
Reviewed: https:/ /review. openstack. org/129770 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=db291b340e6 3b74d8d240abfc3 7d03fb163f33f1
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit db291b340e63b74 d8d240abfc37d03 fb163f33f1
Author: Nathan Kinder <email address hidden>
Date: Wed Oct 15 15:39:55 2014 -0700
Use newer python-ldap paging control API
The API for using the LDAP simple paged results control changed
between python-ldap version 2.3 and 2.4. Our current implementation
fails with an AttributeError when trying to use paging with version
2.4 of python-ldap.
This patch detects the capabilities of the underlying python-ldap
version and uses the newer API in versions of python-ldap that have
removed the older API.
Change-Id: I2986e12daea3ed f50f299af5927d2 a05278e82f7 571bc937e3bb358 9e8f79bc55)
Closes-bug: #1381768
(cherry picked from commit 1be4a15454e6917