User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 456,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,553 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 1708 | Replies: 1
Reply
Join Date: Oct 2007
Posts: 2
Reputation: KKopplien is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
KKopplien KKopplien is offline Offline
Newbie Poster

Help Cfldap

  #1  
Oct 17th, 2007
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">
Last edited by KKopplien : Oct 17th, 2007 at 2:41 pm.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Posts: 2
Reputation: KKopplien is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
KKopplien KKopplien is offline Offline
Newbie Poster

Re: Cfldap

  #2  
Nov 7th, 2007
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=*">
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ColdFusion Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 5:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC