[python-ldap] Pyhton Ldap Error

Pratheesh Rajan pratheeshrajan18 at gmail.com
Wed Mar 7 06:24:49 CET 2012

Hi Group,

I am getting a python ldap error

  Traceback (most recent call last):
File "/appl/share/lookupservices/python/ldap_user_dl.py", line 172, in
udp = UserDlMapper(logger=logger)
File "/appl/share/lookupservices/python/ldap_user_dl.py", line 46, in _*init
self.page_results_control =
SimplePagedResultsControl(ldap.LDAP_CONTROL_PAGE_OID, True, (self.conf
['page_size'], ''))
AttributeError: 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'

Looks like *LDAP_CONTROL_PAGE_OID*, this constant is removed. How to use
that correctly. could any one help me please.

Thanks in advance!!

Pratheesh Rajan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20120307/a821138e/attachment.html>

More information about the python-ldap mailing list