From: Zhang H. <zhb...@gm...> - 2009-05-14 13:08:56
|
Michael Ströder wrote: > > 1. Client-side sorting is done within the client libs if supported. So > it wouldn't be listed in the attribute 'supportedControl' of the DSA's > rootDSE anyway. Not sure whether client controls are used in OpenLDAP's > libldap at all. > Any exist python module/function to sort ldap search results? > 2. One should always try out whether a DSA supports a particular control > within a certain naming context. E.g. former versions of OpenLDAP > supported the Tree Deletion Control only for naming contexts served by > back-sql. > > Feature detection is not that easy. > I also need function to delete ldap tree too, and reading your web2ldap/pylib/ldapsession.py now. > Everyone tired of looking up the OIDs should use my http://web2ldap.de > since it contains a registry of OIDs with descriptions of the meaning > which are displayed when displaying the rootDSE. I found it moment ago. :) Tring to learn ldap programing from web2ldap now. Thanks for your great program. :) -- Best regards. Zhang Huangbin - Open Source Mail Server Solution for RHEL, CentOS, Debian: http://code.google.com/p/iredmail/ |