4 Replies Latest reply on Nov 26, 2007 2:17 PM by sprint-mark

    cfldap "LDAP: error code 12 - Sort Response Control"

    sprint-mark

      I have the following cfldap query which worked fine until last week:

      <cfldap server="199.xx.xx.xxx" port="389"
      action="query" name="portallist_AtoM"
      start="ou=people,dc=sprintmrn,dc=com"
      attributes="uid,givenName,sn,mail,sprintshortname,sprintrole,sprintpocrole,sprintcompany"
      filter="(&(!(sprintcompany=Sprint*))(sprintcompany<=NASCAR))"
      sort="sprintcompany,sprintpocrole,sn">

      This query outputted the list of our web portal users for customers whose company name started with A-M. As I said before, this cfldap worked fine ... until last week. Now I get the following error message:

      "An error has occured while trying to execute sort :[LDAP: error code 12 - Sort Response Control].
      One or more of the required attributes may be missing/incorrect or you do not have permissions to execute this operation on the server "

      My LDAP admin states that nothing has changed? Anyone have any ideas on why I'm getting the error message? FYI - If I remove the sort option, everything works fine.