0

I am trying to access a NetMail server through LDAP port with <cfldap>
I keep getting an error
Diagnostics: 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

The line it always refers to it the line with the server= I have the correct IP address.
I know because I checked with our network admin and I was given an LDAP search tool. It can get the information and retrieve it. I have tried: SERVER="netmail.ourdomain.edu"
I have tried with and without filter. FILTER="cn=#session.acctname#"

<CFLDAP NAME="GetStuff" 
        ACTION="Query" 
        SERVER="0.0.0.0"
       Port="389"
      ATTRIBUTES="dn,cn,sn"  
     SCOPE="SUBTREE"  
    START="o=NMTREE">
1
Contributor
1
Reply
2
Views
10 Years
Discussion Span
Last Post by KKopplien
0

Update I finally got the code to return everything but need to narrow down to one account.
Anyone know how?
<CFLDAP ACTION="Query"
NAME="GetS"
SERVER="#session.server#"
Port="389"
ATTRIBUTES="dn,cn,sn"
start="o=NMTREE"
SCOPE="SUBTREE"
FILTER="objectClass=*">

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.