[Date Prev][Date Next] [Chronological] [Thread] [Top]

Finding a maximum attribute value



Hi,

 Perhaps this question is more suitable for openldap-software
but I already sent it there and I have received no response. I
hope you can help me.

 I have entries on a directory with an integer attribute. I'm 
interested on getting the entry on the directory with the maximum
value on this attribute. How can I do this? I'm looking for 
something like a "select max(col)" of SQL but expressed on 
LDAP filters..

Thanks in advance,

---sram
     "Don't listen to what I say; listen to what I mean!" --Feynman
Salvador Ramirez Flandes        PROFC, Universidad de Concepcion, CHILE 
http://www.profc.udec.cl/~sram                mailto:sram@profc.udec.cl