Lucas,

A production LDAP query which sorts (CF 4.0):
        <cfldap action="QUERY"
        name="personquery"
        attributes="cn,telephonenumber,mail,title,salutation,o,location"
        start="ou=Users, o=jcu.edu.au"
        scope="ONELEVEL"
        maxrows="30000"
        filter="(&(cn=*#data_entered#*)(accountenabled=true))"
        sort="cn"
        server="ldap"
        port="389"
        timeout="240">

> I know that this will sound like a very simple question but I hope that
> someone can help...
> 
> I know that the server is working and can get results back but I am unable
> to sort them.
> 
> Here is an example of the code that I am running...
> It works, and returns a query with all the locations in it but they are
> un-sorted.
> 
> <cfldap action="QUERY"
>         name="Results"
>         attributes="l"
>         start="ou=staff,o=company.com.au"
>         sortcontrol="l"
>         server="ldap"
>         port="389">
> 
> any ideas?
> Thanks,
> Lucas.
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Lucas Sherwood
> Technical Sales Consultant
> FirmwareDesign
> 
> [EMAIL PROTECTED]
> 
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

-- 
John Anderson (Web Manager)

Computing Systems Officer                | Telephone:  61 7 4781 4670
IT&R, James Cook University              | Facsimilie: 61 7 4781 5230
TOWNSVILLE Queensland 4811 Australia     | Email:
[EMAIL PROTECTED]
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to