Error when using ldap query

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Error when using ldap query

    I am trying to do an LDAP query an AD group. I already have one that queries
    the same server, and works. But on my new query I get the following error that
    I can not figure out:

    An error has occured while trying to execute query :[LDAP: error code 32 -
    0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match
    of: 'OU=Visn 07,DC=v07,DC=med,DC=va,DC=gov' ].

    The query is as follows:
    <cfldap action="QUERY"
    name="AdminResults"
    attributes="sn"
    start="OU=Users,OU=VHA07 msg2 users, OU=Visn 07,DC=v07,DC=Med,DC=va,DC=Gov"
    scope="SUBTREE"
    filter="(&(objectClass=user)(sAMAccountName=#trim( nt_user_id)#))"
    server="serverdc1"
    UserName="bba07\username"
    Password="password">


    Any ideas on where this error is coming from?

    DaSpaz Guest

  2. Similar Questions and Discussions

    1. Filter by MshORAddresses in an LDAP query
      I am trying to query an LDAP server, and search for part of a string within the mshORAddresses field. This field is a string that is comma delimited...
    2. Set LDAP Query Timeout?
      I make an AD query to a remote domain controller and only give it 10 seconds to respond (more than enough in this particular environment). I don't...
    3. LDAP query through ASP
      Can anyone direct me to some simple ASP code samples to do the following? I'd like to, given a UID, check to see if an individual in a public...
    4. LDAP group membership query
      I am trying to query an NDS tree using the Win32::OLE and Win32::OLE::Enum modules. I was able to traverse the tree and gather all the group...
    5. ADSI/LDAP Query
      Arianne, I have the following code in C Sharp which query the Active Directory to get the user details. But it brings up only 1000 records. Is...
  3. #2

    Default Re: Error when using ldap query

    See [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19576[/url] under Active Directory Specific Errors # 4
    mxstu Guest

  4. #3

    Default Re: Error when using ldap query

    When it says "A non-existent DN specified in the User Search field", what does it mean by DN?
    DaSpaz Guest

  5. #4

    Default Re: Error when using ldap query

    Been a while since I've used LDAP ... but its like a key you're using to access
    the information. [url]http://www.pinds.com/blog/one-entry?entry_id=2882[/url] has a good
    definition and some examples

    From [url]http://www.pinds.com/blog/one-entry?entry_id=2882[/url]
    "A directory contains objects, or entries. Each entry has a Distinguished Name
    (DN), that acts as the entry's primary key. The entry could be:

    uid=lars, ou=persons, dc=arsdigita, dc=com "


    mxstu Guest

  6. #5

    Default Re: Error when using ldap query

    I tried the links in the above post, but always got a 'page can not be displayed' error.
    DaSpaz Guest

  7. #6

    Default Re: Error when using ldap query

    Hmm, strange. I just tried it and had no problem. You could also enter "http://www.pinds.com/blog/one-entry?entry_id=2882" (without the quotes) into google and select "Show Google's cache" option.
    mxstu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139