Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfldap question

Status
Not open for further replies.

FALCONSEYE

Programmer
Jul 30, 2004
1,158
US
i am trying to query an ldap server and i got no luck so far in doing so. i have the following:

<cfldap action="query" name="getUser" server="...." start="sn=myLastName" attributes="*">

i keep getting

An error has occured while trying to execute query :[LDAP: error code 32 - NDS error: no such entry (-601)].
One or more of the required attributes may be missing/incorrect or you do not have permissions to execute this operation on the server

no matter what i do to start and attributes. does anyone know how to resolve this error?
thanks

 
Try this:
Code:
<cfldap action="QUERY"
        name="auth"
        attributes="objectClass,cn,dn,dc"
        start="DC=yourdomain, DC=com"
        scope="SUBTREE"
        server="[URL unfurl="true"]www.yourdomain.com"[/URL]
        username="domain/username"
        password="password">


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
thanks ecar, that gives me the following error:

An error has occured while trying to execute query :[LDAP: error code 13 - Confidentiality Required].
One or more of the required attributes may be missing/incorrect or you do not have permissions to execute this operation on the server .

this one works perfectly fine

<cfldap server="x500.bund.de" action="query" name="getS" start="o=Bund,c=DE" attributes="mail">
<cfdump var="#getS#">

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top