Hi All Im trying to do some authentication with cfldap and Active Directory
and was wondering if anyone has come across this. Using cf 7.02


if my cn and displayname are the same ie: cn=test123 displayname=test123  i
can authenticate just fine with just username and pass in the cfldap call.

if they are different cn=test123 displayname=testuser I have to pass the
whole dn as the user ie: cn=test123 cn=users dn=orgname dn=company dn=com


Is it a permission issue with the subtree query? Im at a loss as far as why
they authenticate differently ANY help would be lovely
here is my cfldap call:

   <cftry>
        <cfldap action="QUERY"
        name="auth"

attributes="dn,cn,displayname,name,userPrincipalName,email,givenName,sn,sAMAccountName"
        start="DC=org,DC=company,DC=com"
        scope="SUBTREE"
        maxrows="1"
        server="#ldapServer#"
        username="#form.username#"
        password="#form.password#">
        <cfset isAuthenticated="true">
        <cfcatch type="ANY">
            <cfset isAuthenticated="no">
        </cfcatch>
    </cftry>




Sam


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246908
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to