Yep, works like a charm once I moved the code to _serverSpecificVarsAfterInit.cfm. Thanks very much.
Regards, Derek. On 9/12/07, Chris Roth <[EMAIL PROTECTED]> wrote: > > > Derek, > > I have it working in 4.0.7 (it broke going from 4.0.5 to 4.0.7) > because of the initilization change, so you're right the code goes in > to _serverSpecificVars.cfm > > > http://groups.google.com/group/farcry-dev/browse_thread/thread/5283dbee32c484bf/0f3e6368795430bb?lnk=gst&q=roth&rnum=7#0f3e6368795430bb > > My AD domain is specified without an extension tho... > > <cfscript> > // Active Directory Client User Directory > Application.dmSec.UserDirectory.AD= StructNew(); > tempAD = Application.dmSec.UserDirectory.AD; > tempAD.type="ADSI"; > tempAD.domain="MYDOMAIN"; > </cfscript> > > > On Sep 12, 12:26 pm, Derek <[EMAIL PROTECTED]> wrote: > > I can't get Farcry to detect that I want to use AD for > > authentication. I could in previous releases of the code base but I > > just installed 4.08, registered NTAdmin.dll and followed the Wiki > > instructions and nothing happens. I've refreshed the app scope and > > Farcry just shows the default user directory. > > > > I see that the files in the project config folder have changed > > (_dmSecUserDirectories.cfm is now gone and _serverSpecificVars.cfm is > > pretty much blank). I've added the following code to > > _serverSpecificVars.cfm, am I missing something? > > > > <cfscript> > > Application.dmSec.UserDirectory.AD = StructNew(); > > tempAD = Application.dmSec.UserDirectory.AD; > > tempAD.type = "ADSI"; > > tempAD.domain = "mydomain.com"; > > </cfscript> > > > > Has anyone had success doing it another way? cfldap maybe? > > > > Thanks, > > Derek. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
