Any example of Server/Client Side Sorting?

Michael Ströder michael at stroeder.com
Thu May 14 14:54:14 CEST 2009


Zhang Huangbin wrote:
> Michael Ströder wrote:
>> The error message is pretty clear: This particular LDAP server does not
>> support server-side sorting.
> 
> I checked the rootdse, neither server side sort nor client side sort is 
> supported:

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.

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.

> supportedControl: 2.16.840.1.113730.3.4.18
> supportedControl: 2.16.840.1.113730.3.4.2
> supportedControl: 1.3.6.1.4.1.4203.1.10.1
> supportedControl: 1.2.840.113556.1.4.319
> supportedControl: 1.2.826.0.1.3344810.2.3
> supportedControl: 1.3.6.1.1.13.2
> supportedControl: 1.3.6.1.1.13.1
> supportedControl: 1.3.6.1.1.12
> supportedExtension: 1.3.6.1.4.1.1466.20037
> supportedExtension: 1.3.6.1.4.1.4203.1.11.1
> supportedExtension: 1.3.6.1.4.1.4203.1.11.3
> supportedExtension: 1.3.6.1.1.8

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.

Ciao, Michael.



More information about the python-ldap mailing list