]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Add 3 more help pages from Stadler Karel <Karel.Stadler@psi.ch> for Service-Type...
authorkkalev <kkalev>
Fri, 18 Jul 2003 16:18:45 +0000 (16:18 +0000)
committerkkalev <kkalev>
Fri, 18 Jul 2003 16:18:45 +0000 (16:18 +0000)
Changelog
conf/user_edit.attrs
htdocs/help/filter_id_help.html [new file with mode: 0644]
htdocs/help/framed_protocol_help.html [new file with mode: 0644]
htdocs/help/service_type_help.html [new file with mode: 0644]
html/user_admin.html.php3

index 1f255234a7ca6a5df7608b1242fa8fa8148d1783..a0a1e89fe774ceb3378e589f6a393968e57ea74a 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -32,6 +32,7 @@ Ver 1.63:
 * Escape " in login_time create page before parsing the login-time string
 * Add Service-Type in user_edit.attrs
 * In user_finger page if $user is NULL then set it to &nbsp;
+* Add 3 more help pages from Stadler Karel <Karel.Stadler@psi.ch> for Service-Type,Framed-Protocol and Filter-ID
 Ver 1.62:
 * Remove one sql query from user_admin which was not needed.
 * Instead of a query like "LIKE 'YYYY-MM-DD%'" use "AcctStopTime >= 'YYYY-MM-DD 00:00:00 AND AcctStopTime
index f6273894ce78c454b4a68de88752a1c5e5c5a4ed..711c0cefff28063157a85d159a7013a394f6410f 100644 (file)
@@ -6,15 +6,15 @@
 #
 #Auth-Type                     Auth Type
 #Simultaneous-Use              <a href="help/simultaneous_use_help.html" target=su_help onclick=window.open("help/simultaneous_use_help.html","su_help","width=560,height=170,toolbar=no,scrollbars=no,resizable=yes") title="Simultaneous Use Help Page"><font color="blue">Simultaneous Use</font></a>
-Framed-Protocol                        Protocol
+Framed-Protocol                        <a href="help/framed_protocol_help.html" target=fpr_help onclick=window.open("help/framed_protocol_help.htlml","fpr_help","width=560,height=230,toolbar=no,scrollbars=no,resizable=yes") title="Framed-Protocol Help PPage"><font color="blue">Protocol</font></a>
 Framed-IP-Address              <a href="help/framed_ip_address_help.html" target=fia_help onclick=window.open("help/framed_ip_address_help.html","fia_help","width=560,height=230,toolbar=no,scrollbars=no,resizable=yes") title="Framed-IP-Address Help Page"><font color="blue">IP Address</font></a>
 Framed-IP-Netmask              IP Netmask
 #Framed-Route          Route
 #Framed-Routing
-#Filter-Id
+#Filter-Id                     <a href="help/filter_id_help.html" target=fid_help onclick=window.open("help/flter_id_help.html","fid_help","width=560,height=230,toolbar=no,scrollbars=no,resizable=yes") title="Filter-ID Help Page"><font color="blue">Filter ID</font></a>
 Framed-MTU                     MTU
 Framed-Compression             <a href="help/framed_compression_help.html" target=fc_help onclick=window.open("help/framed_compression_help.html","fc_help","width=600,height=210,toolbar=no,scrollbars=no,resizable=yes") title="Framed Compression Help Page"><font color="blue">Compression Used</font></a>
-Service-Type                   Service Type
+Service-Type                   <a href="help/service_type_help.html" target=st_help onclick=window.open("help/service_type_help.html","st_help","width=560,height=230,toolbar=no,scrollbars=no,resizable=yes") title="Service-Type Help Page"><font color="blue">Service Type</font></a>
 #Login-IP-Host
 #Login-Service
 #Login-TCP-Port
diff --git a/htdocs/help/filter_id_help.html b/htdocs/help/filter_id_help.html
new file mode 100644 (file)
index 0000000..f86ffb2
--- /dev/null
@@ -0,0 +1,38 @@
+<html>\r
+<head>\r
+<title>Framed-Id Help Page</title>\r
+<link rel="stylesheet" href="../style.css">\r
+</head>\r
+<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black">\r
+<center>\r
+<table border=0 width=540 cellpadding=1 cellspacing=1>\r
+<tr valign=top>\r
+<td width=340></td>\r
+<td bgcolor="black" width=400>\r
+       <table border=0 width=100% cellpadding=2 cellspacing=0>\r
+       <tr bgcolor="#907030" align=right valign=top><th><font color="white">Filter-Id Help Page</font>&nbsp;</th></tr>\r
+       </table>\r
+</td></tr>\r
+<tr bgcolor="black" valign=top><td colspan=2>\r
+       <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>\r
+       <tr><td>\r
+<br>\r
+<center>\r
+<pre>\r
+  This Attribute indicates the name of the filter list for this\r
+  user. Zero or more Filter-Id attributes MAY be sent in an\r
+  Access-Accept packet.\r
+\r
+  Identifying a filter list by name allows the filter to be used on\r
+  different NASes without regard to filter-list implementation\r
+  details.  \r
+</td></tr>\r
+<tr><td align=center>\r
+<a href="javascript:window.close();"><b>Close Window</b></a>\r
+</td></tr>\r
+</center>\r
+</table>\r
+</tr>\r
+</table>\r
+</body>\r
+</html>\r
diff --git a/htdocs/help/framed_protocol_help.html b/htdocs/help/framed_protocol_help.html
new file mode 100644 (file)
index 0000000..a4ce762
--- /dev/null
@@ -0,0 +1,42 @@
+<html>\r
+<head>\r
+<title>Framed Protocol Help Page</title>\r
+<link rel="stylesheet" href="../style.css">\r
+</head>\r
+<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black">\r
+<center>\r
+<table border=0 width=540 cellpadding=1 cellspacing=1>\r
+<tr valign=top>\r
+<td width=340></td>\r
+<td bgcolor="black" width=400>\r
+       <table border=0 width=100% cellpadding=2 cellspacing=0>\r
+       <tr bgcolor="#907030" align=right valign=top><th><font color="white">Framed Protocol Help Page</font>&nbsp;</th></tr>\r
+       </table>\r
+</td></tr>\r
+<tr bgcolor="black" valign=top><td colspan=2>\r
+       <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>\r
+       <tr><td>\r
+<br>\r
+<center>\r
+<pre>\r
+  This Attribute indicates the framing to be used for framed access.\r
+  It MAY be used in both Access-Request and Access-Accept packets.\r
+\r
+  Possible values are:\r
+</pre>\r
+  <i>1 PPP</i><br>\r
+  <i>2 SLIP</i><br>\r
+  <i>3 AppleTalk Remote Access Protocol (ARAP)</i><br>\r
+  <i>4 Gandalf proprietary SingleLink/Multilink protocol</i><br>\r
+  <i>5 Xylogics proprietary IPX/SLIP</i><br>\r
+  <i>6 X.75 Synchronous</i><br>\r
+</td></tr>\r
+<tr><td align=center>\r
+<a href="javascript:window.close();"><b>Close Window</b></a>\r
+</td></tr>\r
+</center>\r
+</table>\r
+</tr>\r
+</table>\r
+</body>\r
+</html>\r
diff --git a/htdocs/help/service_type_help.html b/htdocs/help/service_type_help.html
new file mode 100644 (file)
index 0000000..d8dcf60
--- /dev/null
@@ -0,0 +1,81 @@
+<html>\r
+<head>\r
+<title>Service-Type Help Page</title>\r
+<link rel="stylesheet" href="../style.css">\r
+</head>\r
+<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black">\r
+<center>\r
+<table border=0 width=540 cellpadding=1 cellspacing=1>\r
+<tr valign=top>\r
+<td width=340></td>\r
+<td bgcolor="black" width=400>\r
+       <table border=0 width=100% cellpadding=2 cellspacing=0>\r
+       <tr bgcolor="#907030" align=right valign=top><th><font color="white">Service-Type Help Page</font>&nbsp;</th></tr>\r
+       </table>\r
+</td></tr>\r
+<tr bgcolor="black" valign=top><td colspan=2>\r
+       <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>\r
+       <tr><td>\r
+<br>\r
+<center>\r
+<pre>\r
+  This Attribute indicates the type of service the user has\r
+  requested, or the type of service to be provided. It MAY be used\r
+  in both Access-Request and Access-Accept packets. A NAS is not\r
+  required to implement all of these service types, and MUST treat\r
+  unknown or unsupported Service-Types as though an Access-Reject\r
+  had been received instead.\r
+\r
+  Possible values are.\r
+</pre>\r
+<i>1 Login</i><br>\r
+<i>2 Framed</i><br>\r
+<i>3 Callback Login</i><br>\r
+<i>4 Callback Framed</i><br>\r
+<i>5 Outbound</i><br>\r
+<i>6 Administrative</i><br>\r
+<i>7 NAS Prompt</i><br>\r
+<i>8 Authenticate Only</i><br>\r
+<i>9 Callback NAS Prompt</i><br>\r
+<pre>\r
+  The service types are defined as follows when used in an Access-\r
+  Accept.  When used in an Access-Request, they should be considered\r
+  to be a hint to the RADIUS server that the NAS has reason to\r
+  believe the user would prefer the kind of service indicated, but\r
+  the server is not required to honor the hint.\r
+\r
+      Login               The user should be connected to a host.\r
+      Framed              A Framed Protocol should be started for the\r
+                          User, such as PPP or SLIP.\r
+      Callback Login      The user should be disconnected and called\r
+                          back, then connected to a host.\r
+      Callback Framed     The user should be disconnected and called\r
+                          back, then a Framed Protocol should be started\r
+                          for the User, such as PPP or SLIP.\r
+      Outbound            The user should be granted access to outgoing\r
+                          devices.\r
+      Administrative      The user should be granted access to the\r
+                          administrative interface to the NAS from which\r
+                          privileged commands can be executed.\r
+      NAS Prompt          The user should be provided a command prompt\r
+                          on the NAS from which non-privileged commands\r
+                          can be executed.\r
+      Authenticate Only   Only Authentication is requested, and no\r
+                          authorization information needs to be returned\r
+                          in the Access-Accept (typically used by proxy\r
+                          servers rather than the NAS itself).\r
+      Callback NAS Prompt The user should be disconnected and called\r
+                          back, then provided a command prompt on the\r
+                          NAS from which non-privileged commands can be\r
+                          executed.\r
+</pre>\r
+</td></tr>\r
+<tr><td align=center>\r
+<a href="javascript:window.close();"><b>Close Window</b></a>\r
+</td></tr>\r
+</center>\r
+</table>\r
+</tr>\r
+</table>\r
+</body>\r
+</html>\r
index a3f9e5af5869c0077c7fe7b143a2df911f387b4c..35de6fffd7ea3402c0d551324cdc95ea51803fa0 100644 (file)
@@ -191,6 +191,21 @@ print <<<EOM
        </td><td>
        $descr
        </td></tr>
+EOM;
+if ($logged_now){
+       print <<<EOM
+       <form name="kill_sess" action=post>
+       <tr><td align=center bgcolor="#d0ddb0">
+       Clear Current Session
+       </td><td>
+       <input type=hidden name=clear_sess value="0">
+       <input type=submit class=button value="Clear Session" OnClick="this.form.clear_sess.value=1">
+       </form>
+       </td></tr>
+EOM;
+}
+
+print <<<EOM
        </table>
        </table>
 </table>