Hi, all.
Does anyone has working code snippet of server/client side sorting?
I use serverctrls in search_ext_s() like this:
search_ext_s(xxxx, serverctrls = [
ldap.controls.LDAPControl('1.2.840.113556.1.4.473',1,None) ],)
got error msg:
UNAVAILABLE_CRITICAL_EXTENSION: {'info': 'critical extension is not
recognized', 'desc': 'Critical extension is unavailable'}
* Use clientctrls:
search_ext_s(xxxx, clientctrls = [
ldap.controls.LDAPControl('1.2.840.113556.1.4.473',1,None) ],)
got error msg:
NOT_SUPPORTED: {'info': '', 'desc': 'Not Supported'}
My os is Ubuntu 9.04, OpenLDAP-2.4.15-1ubuntu3.
--
Best regards.
Zhang Huangbin
- Open Source Mail Server Solution for RHEL, CentOS, Debian:
http://code.google.com/p/iredmail/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev