When using NT authentication, is there a way to change the password of a user if they are an admin without manually editing the database? This being because even though they are an admin and are authenticated through NT, they are still prompted for a user name and password in the admin section of the board. I find that everytime I edit my profile (admin account), I have to go into the database and edit it to put my password back in...
<% if mlev = 4 then %> <p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Login was successful!</font></p> <% Session(strCookieURL & "Approval") = "15916941253" %> <p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="admin_home.asp" target="_top">Click here to Access.</a></font></p> <meta http-equiv="Refresh" content="2; URL=admin_home.asp"> <!--#INCLUDE file="inc_footer.asp" -->
<% else %>
<center>
<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">You must be an administrator!</font></p>
<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">You are not allowed access.</font></p>
<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">If you think you have reached this message in error, please try again.</font></p>
</center> <!--#INCLUDE file="inc_footer.asp" --> <% end if %> </font>
I noticed a permission problem when changing the authentication type from "NT" to "DB", so I changed the following in ADMIN_CONFIG_SYSTEM.ASP:
change:
if (Request.Form("strAuthType") <> strAuthType) and strAuthType = "nt" then mLev = cint(ChkUser2(Request.Cookies(strUniqueID & "User")("Name"), Request.Cookies(strUniqueID & "User")("Pword"))) if not(mLev = 4 and getMemberNumber(Request.Cookies(strUniqueID & "User")("Name")) = 1) then Err_Msg = Err_Msg & "<li>Only the Admin user can change the Authentication type of the board</li>"
to:
if (Request.Form("strAuthType") <> strAuthType) and strAuthType = "nt" then if not(mLev = 4) then Err_Msg = Err_Msg & "<li>Only the Admin user can change the Authentication type of the board</li>"