Yes, I do get the groups, and if I test the code below, I get
authenticated = true on both dev and production when I pass in a valid
AD user/pw (and flase when I dont)..

So it seems to me that Farcry on both systems are talking to AD ok,
but for some reason on production, its not moving on.... I have double
checked that core/plugins/project are in sync.

The only place this message is set is in farcryUD.cfc

<cfset stResult.message = "The username or password was incorrect">

which seems to indicate my CMIAD.cfc is being bypassed, but why only
on the other production server if BOTH code bases are the same.

<cfset stProperties.username = "testuser">
<cfset stProperties.password = "testuser">

                                <cftry>
                                        <cfldap 
server="#application.config.ldap.host#" action="query"
name="qResult" start="#application.config.ldap.userstart#"
scope="base" attributes="*" username="#replace
(application.config.ldap.userdn,'{userid}',stProperties.username)#"
password="#stProperties.password#" />
                                        <cfset stResult.authenticated = true />
                                        <cfset stResult.userid = 
stProperties.username />

                                        <cfcatch>

                                                <cfset stResult.authenticated = 
false />
                                                <cfset stResult.userid = 
stProperties.username />
                                                <cfset stResult.message = "The 
username or password is
incorrect" />

                                        </cfcatch>
                                </cftry>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to