Print Page | Close Window

Admin login + windows authentication

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21754
Printed Date: 08 April 2026 at 6:14pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Admin login + windows authentication
Posted By: synistyr
Subject: Admin login + windows authentication
Date Posted: 27 October 2006 at 6:11pm
I've installed Web Wiz using Windows Authentication, and user logins seem to be working fine.
 
I'm having a problem logging into the system as an Adminstrator tho.  Before I set Windows Authentication, I set myself to the Admin group.  But when I turn on Windows Authentication, I can't log into the admin control panel!
 
(It auto-populates with my AD-username, but won't let me use my network password to login)
 
I also can't login as the original Administrator account either since it autopopulates the username for me.
 
Is there anyway to get around/fix this?
 
 
 



Replies:
Posted By: synistyr
Date Posted: 27 October 2006 at 6:19pm
Found a work-around -
In the admin.asp, at line 243, change:

If an admin anyway don't let em re-type in their username
If intGroupID = 1 Then
 
 Response.Write(strLoggedInUsername & "<input type=""hidden"" name=""name"" id=""name"" value=""" & strLoggedInUsername & """ />")  

Else text box to write in username as well
Else
    Response.Write("<input type=""text"" name=""name"" id=""name"" size=""15"" maxlength=""15"" />")

End If

to:
 
'If an admin anyway don't let em re-type in their username
'If intGroupID = 1 Then
 
' Response.Write(strLoggedInUsername & "<input type=""hidden"" name=""name"" id=""name"" value=""" & strLoggedInUsername & """ />")  
'Else text box to write in username as well
'Else
    Response.Write("<input type=""text"" name=""name"" id=""name"" size=""15"" maxlength=""15"" />")
'End If
 
This will let you re-enter the Administrator username and password to login.
 
 


Posted By: WebWiz-Bruce
Date Posted: 30 October 2006 at 9:26am
The recommend way to do this, as this can course other issues, is that you point your browser directly at the admin login page 'admin.asp' and login directly to the admn area.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: synistyr
Date Posted: 30 October 2006 at 3:37pm
Actually, I tried that first, but I needed the work-around because it would not let me login as someone (the Administrator) because I am using windows authentication.
 
It might be because I had set myself up in the 'admin' group (intGroupId = 1) so it wouldn't let me login as someone else...?
 
 


Posted By: WebWiz-Bruce
Date Posted: 30 October 2006 at 4:28pm
I think you are missing my point, when windows authentication is enabled you need to login directly to the admin section as the forum admin as this section is suppurate to the main forum and is not running under windows authentication.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net