Following is a snip of code that will give the capability for user authentication to a Windows Domain from ColdFusion MX web application running on a Windows 2000 server.
Reference for the NTLMAuthenticate function used.
<cftry>
<cflock name="singlesignon" timeout="5" throwontimeout="yes">
<cfscript>
// create object to authenticate to NT Domain
ntauth = createObject ("java", "com.linar.jintegra.NTLMAuthenticate" );
// call validate function
ntauth.validate ("Windows Domain Servername", "domain", arguments.userid, arguments.passwd);
</cfscript>
</cflock>
<cfcatch>
<!--- if any problems logging in, fail login, give error message --->
<cflog application="yes" file="windows200auth" type="warning" text="Login Failure for #arguments.userid#">
</cfcatch>
</cftry>