Link to home
Start Free TrialLog in
Avatar of rapace3
rapace3

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of Scott Bennett
Scott Bennett
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of rapace3
rapace3

ASKER

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)"
    >


Avatar of rapace3

ASKER

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
So you are not longer using anonymous logins like you were in this question:

https://www.experts-exchange.com/questions/22730238/this-query-fails-with-codfusion-server-7-0.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.