NTLM Authentication
Hello. How do I get ColdFusion 8 to use an Active Directory in Server 2003/8 (NTLM) to authenticate users? I want users to login to the site using their domain information. The server runs Apache... Do I need IIS?
Thanks!
Hello. How do I get ColdFusion 8 to use an Active Directory in Server 2003/8 (NTLM) to authenticate users? I want users to login to the site using their domain information. The server runs Apache... Do I need IIS?
Thanks!
The <cfldap> tag isn't where I have the issue. I know how to get the information with the query.... but how do I combine <cfldap> with my login page to create an authentication mechanism? That is where I am stuck...
Thanks. :-)
I can not go much father with out me, or some other contractor, comming to your site and writing your code for you after interviewing your network adminstrator of the correct data. The usual rate for that type of work is $100 US/hour plus travel expenses and up.
<cfldap action="query"
server="{name or IP of AD server}"
name="returnQry"
start="{starting branches of LDAP tree to search}"
filter="{filterString}"
username="{domain}\#FORM.USERNAME#"
password="#FORM.PASSWORD#"
attributes = "{attributes}">
<cfif returnQry.recordCount GTE 1>
<!---- user has been authenticated against the active directory do something about it. --->
<cfelse>
<!--- user has failed to authenticate against the active directory do something about it. --->
</cfif>The ColdFusion documentation has sample code very similar to what is being provided here.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.