Need to bypass NT login dialog box

Results 1 to 2 of 2

Thread: Need to bypass NT login dialog box

  1. #1
    Join Date
    Dec 1969

    Default Need to bypass NT login dialog box

    We are running an ASP site on NT2000. The site is secured by NT Challenge Response. A splash page welcomes &#039;members&#039; and &#039;visitors&#039;. Visitors are requested to follow a link to another site, while members are requested to follow a link to a &#039;redir.asp&#039; page that is secured and challenges the &#039;user&#039;.<BR><BR>Now, the folks would like a way to pass the NT username, password and domain to NT using an alternate method to the standard dialog box. Preferably, we would like to have fields in the main screen where the users can supply these variables, which in turn would be passed to NT for authentication, without using ADSI. But if ADSI is the only way, please let me know.<BR><BR>Can this be done. Please reply here or email if you think you may have a solution.<BR><BR>Greatly appreciated, <BR><BR>Chris

  2. #2
    AKS Guest

    Default RE: Need to bypass NT login dialog box

    Checking NT Group for User Permissions <BR>To check to see if users have rights to login to your IIS server, check their NT group. First, get their NT group list in the Global.asa file: <BR><BR><BR><BR>Sub Session_OnStart<BR> on error resume next<BR> <BR> strUsername=Replace(ucase(Request.ServerVariables( "LOGON_USER")) , "\", "/") <BR> set adsUser = getobject("WinNT://" & strUsername)<BR> for each group in adsUser.groups<BR> GrpList = GrpList & lcase(trim( & ";"<BR> next <BR><BR> if instr(1, GrpList ,"SecureNTGroupName") then session("permission") = "OK"<BR>End sub<BR><BR><BR>Then in your ASP page, check on a session variable to see if they are allowed in or not.: <BR><BR><BR><BR>&#060;% <BR> if session("permission") &#060;&#062; "OK" then Response.Redirect "loginfailure.asp" <BR>%&#062; <BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts