Your problem is that you have to pass the DomainName to the AD lookup and you have two different domain names.
One time you have to check this userid:
<cfset filter="(&(objectclass=use
And the second try has to be:
<cfset filter="(&(objectclass=use
As you see you need no <cfscript> to set those vars.
Also you need no cftry but have to look for the returned recordCount from cfldap.
Additionaly use <cflogon> and and <cflogout> tags instead of cflocation.
Also you have to use loginform.cfm with predefined field names j_username and j_password and not fname as you did.
I hope you do that all in application.cfm with cfapplication tag and with attribute sessionManagement="yes"
Main Topics
Browse All Topics





by: NewcoPosted on 2009-08-24 at 16:15:44ID: 25173408
Have you tried to hit just the top of the subdomain instead of the Users container? What kind of error are you getting?