ok...but whats weird is I UNCHECKED the Anonymous access and CHECKED the Integrated Windows authentication and when I go the the website I still get prompted for a username/password
via NT authentication.

WTF?

--Original Message Text---
From: Ian Skinner
Date: Tue, 16 Mar 2004 08:52:27 -0800

First if all, it is very important that Anonymous access is UNCHECKED and Integrated Windows authentication is CHECKED in the Authentication Methods under Directory Security of any website
(or directory or file) that one wants to get user information from.

<!--------------------------------------------------------
----- Logining in a user to our intranet -----
----------------------------------------------------------/>
<!--- Check Login  --->
<cflogin>
<cfinvoke
  component = "NTSecurity"
  method = "getUserGroups"
  domain = "#ListFirst(cgi.AUTH_USER,'\')#"
  userid = "#ListLast(cgi.AUTH_USER,'\')#"
  returnvariable = "GetUsers">

<cfloginuser
  name="#ListLast(cgi.AUTH_USER,'\')#"
  password="#cgi.AUTH_PASSWORD#"
  roles="#replace(GetUsers,' ','','ALL')#">
</cflogin>
<!------------------------------------------------------>

This gets the user information from cgi.Auth_User and uses it in the NTSecurity CFC from Macromedia to get their user groups from Active Directory.  We then provide different access and
permissions to various sections of our intranet site based on these roles.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

"C code. C code run. Run code run. Please!"
     - Cynthia Dunning
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to