944,221 Members | Top Members by Rank

Ad:
  • ColdFusion Discussion Thread
  • Unsolved
  • Views: 2881
  • ColdFusion RSS
Oct 17th, 2007
0

Cfldap

Expand Post »
Quote ...
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#"
ColdFusion Syntax (Toggle Plain Text)
  1. <CFLDAP NAME="GetStuff"
  2. ACTION="Query"
  3. SERVER="0.0.0.0"
  4. Port="389"
  5. ATTRIBUTES="dn,cn,sn"
  6. SCOPE="SUBTREE"
  7. START="o=NMTREE">
Last edited by KKopplien; Oct 17th, 2007 at 2:41 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
KKopplien is offline Offline
2 posts
since Oct 2007
Nov 7th, 2007
0

Re: Cfldap

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=*">
Reputation Points: 10
Solved Threads: 0
Newbie Poster
KKopplien is offline Offline
2 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ColdFusion Forum Timeline: Starting With ColdFusion
Next Thread in ColdFusion Forum Timeline: For Sale: New/Unopened MacroMedia ColdFusion MX 6.0 Pro (windows)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC