• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

LDAP setting for coldfusion 7.0

LDAP setting for coldfusion 7.0
is there a setting for coldfusion 7.0 so that we can have the full functinality for CFLDAP?
0
rapace3
Asked:
rapace3
  • 3
  • 2
1 Solution
 
Scott BennettCommented:
There is not a setting that limits the functionality of the cfldap tag. There have been significant chagnes to how the tag works since CF5 though.

http://livedocs.adobe.com/coldfusion/7/htmldocs/00000283.htm#1100581

ColdFusion MX 7: Added the returnAsBinary attribute. Added SSL V3 client based authentication; this means that ColdFusion supports the CFSSL_CLIENT_AUTH option.If CFSSL_CLIENT_AUTH is selected, ColdFusion assumes that the first certificate in the cacerts (or the certificate database) contains the Client Certificate.


ColdFusion MX:

-Changed the name attribute behavior: this tag validates the query name in the name attribute.
-Changed sorting behavior: this tag does not support client-side sorting of query results. (It supports server-side sorting; use the sort and sortcontrol attributes.)
-Changed how results are sorted: server-side sorting results might be sorted slightly differently than in ColdFusion 5. If you attempt a sort against a server that does not support it, ColdFusion MX throws an error.
-Deprecated the filterfile attribute. It might not work, and might cause an error, in later releases.


If you post a sample of your cfldap tag  and the error message you are getting I can help you diagnose the specific issue you may be having.
0
 
Scott BennettCommented:
I should clarify that you can disable the cfldap tag entirely using sandbox security settings in coldfusion administrator, but it is either enabled or disabled there is not a "limit certain features of the tag" settings
0
 
rapace3Author Commented:
ldapsearch -h ldapserver.companyname.com -p 389 -b o=SDS uid=316427 cn
uid=316427,ou=people,o=companyname.com,o=SDS
this works in Unix

    <cfldap
    server="dev-ldap.okla.companyname.com"
    PORT="389"
    ACTION="Query"
    USERNAME="uid=316427,ou=people,o=companyname.com,o=SDS"
    NAME="results"
    TIMEOUT=20000
    MAXROWS=100
    START="ou=people,o=seagate.com,o=SDS"
    ATTRIBUTES="uid,mail,cn,l,findivisioncode,manager"
    FILTER="(uid=316427)"
    >


0
 
rapace3Author Commented:
cfldap Query Example
This tool queries the dev-ldap.okla.seagate.com database to locate a GID in Seagate DEV whose GID contain the text entered in the form.

Enter a GID. 316427
 
1 matches found  
E-Mail Name Department Division Manager
Patrick.M.Albouy@seagate.com PATRICK MARCEL ALBOUY Scotts Valley, California 005 uid=593,ou=people,o=companyname.com,o=SDS

colfusion CFLDAP query on coldfusion 5.0
0
 
Scott BennettCommented:
So you are not longer using anonymous logins like you were in this question:

http://www.experts-exchange.com/Microsoft/Applications/Q_22730238.html

Have you tried just doing something like this:

<cfldap
    server="dev-ldap.okla.companyname.com"
    PORT="389"
    ACTION="Query"
    USERNAME="316427"
    NAME="results"
    TIMEOUT=20000
    MAXROWS=100
    START="ou=people,o=seagate.com,o=SDS"
    ATTRIBUTES="uid,mail,cn,l,findivisioncode,manager"
    FILTER="(uid=316427)"
    >

And is there a password associated this this username on your LDAP server? if so you will want ot use the password attribute.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now