Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Admin login + windows authentication
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Admin login + windows authentication

 Post Reply Post Reply
Author
synistyr View Drop Down
Newbie
Newbie


Joined: 27 October 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote synistyr Quote  Post ReplyReply Direct Link To This Post Topic: Admin login + windows authentication
    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?
 
 
 
Back to Top
synistyr View Drop Down
Newbie
Newbie


Joined: 27 October 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote synistyr Quote  Post ReplyReply Direct Link To This Post 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.
 
 


Edited by synistyr - 27 October 2006 at 6:19pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
synistyr View Drop Down
Newbie
Newbie


Joined: 27 October 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote synistyr Quote  Post ReplyReply Direct Link To This Post 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...?
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.