81 lines
1.7 KiB
Plaintext
81 lines
1.7 KiB
Plaintext
<html>
|
|
<%onerror error%>
|
|
|
|
<title>IIS - Authentication Manager</title>
|
|
|
|
<STYLE>
|
|
<!--
|
|
A {text-decoration: none}
|
|
-->
|
|
</STYLE>
|
|
|
|
<BODY BGCOLOR=#FFFFFF LINK=000000 VLINK=000000>
|
|
|
|
<%if reqparam RF "cancel"%>
|
|
<%if urlparam RF "denyifcancel"%>
|
|
<%!SetHttpStatus "401"%>
|
|
<%else%>
|
|
<%redirecthttp%><%urlparam%><%/redirecthttp%>
|
|
<%endif%>
|
|
<%goto end%>
|
|
<%endif%>
|
|
|
|
<!-- Windows NT Server with IIS -->
|
|
<%if platformtype EQ 1%>
|
|
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
<TR VALIGN=CENTER>
|
|
<TD></TD>
|
|
<TD WIDTH=20> </TD>
|
|
<TD><FONT SIZE=+3 COLOR=#000000><B>^IISTITLE^</B></FONT></TD>
|
|
</TR>
|
|
</Table>
|
|
<%endif%>
|
|
|
|
<!-- Windows NT Workstation with PWS -->
|
|
<%if platformtype EQ 2%>
|
|
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
<TR VALIGN=CENTER>
|
|
<TD></TD>
|
|
<TD WIDTH=20> </TD>
|
|
<TD><FONT SIZE=+3 COLOR=#000000><B>^PWSTITLE^</B></FONT></TD>
|
|
</TR>
|
|
</Table>
|
|
<%endif%>
|
|
|
|
<p>
|
|
|
|
<%if msgbody.new NE msgbody.new2%>
|
|
Passwords don't match<p>
|
|
<%goto main%>
|
|
<%endif%>
|
|
|
|
<%if reqparam RF "domain"%>
|
|
<%!ChangePassword msgbody.domain msgbody.acct msgbody.old msgbody.new%>
|
|
<%else%>
|
|
<%!ChangePassword "" msgbody.acct msgbody.old msgbody.new%>
|
|
<%endif%>
|
|
Password successfully changed.<p>
|
|
<%goto main%>
|
|
|
|
<%label error%>
|
|
<!-- Need to hardcode these error codes because the error messages for them
|
|
are wrong
|
|
-->
|
|
<%if rpcstatus EQ 53%>
|
|
The specified domain is invalid.<p>
|
|
<%elif rpcstatus EQ 1355%>
|
|
The specified domain or account did not exist.<p>
|
|
<%elif rpcstatus EQ 2245%>
|
|
Either the password is too short or password uniqueness restrictions have not been met.<p>
|
|
<%else%>
|
|
<%rpcstatusstring%>
|
|
<%endif%>
|
|
|
|
<br>
|
|
<%label main%>
|
|
<a href="<%urlparam%>">
|
|
Back to <%urlparam%>
|
|
</a>
|
|
<%label end%>
|
|
</body></html>
|