Any example of Server/Client Side Sorting?

Zhang Huangbin zhbmaillistonly at gmail.com
Fri May 15 05:05:38 CEST 2009


Michael Ströder wrote:
>
> Compare function for case-insensitive comparison of the DN:
>
> cmp=lambda x,y: cmp(x[0].lower(), y[0}.lower())
>
>   

Thanks Michael. :)

I tried this compare function, but got this err msg:

----
RuntimeError: maximum recursion depth exceeded
----

The result contains less than 10 records.



-- 
Best regards.

Zhang Huangbin

- Open Source Mail Server Solution for RHEL, CentOS, Debian:
  http://code.google.com/p/iredmail/





More information about the python-ldap mailing list