diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-18 12:29:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-18 12:29:20 +0000 |
commit | 28fb85a4404b102e9660c306c2c71e0633c03ddb (patch) | |
tree | f36f93b7c620fc290b54e76e862c1015750b79f3 /squid-authentication-html.lsp | |
parent | 77b5c04c6b5c6aa966c558fc6e63cd2283205dc9 (diff) | |
download | acf-squid-28fb85a4404b102e9660c306c2c71e0633c03ddb.tar.bz2 acf-squid-28fb85a4404b102e9660c306c2c71e0633c03ddb.tar.xz |
Rewrote squid to remove dependence on tags in config file. Removed ntlm settings, which will have to be implemented in winbindd acf. No support yet for advanced config.
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1475 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-authentication-html.lsp')
-rw-r--r-- | squid-authentication-html.lsp | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/squid-authentication-html.lsp b/squid-authentication-html.lsp deleted file mode 100644 index 7e662a7..0000000 --- a/squid-authentication-html.lsp +++ /dev/null @@ -1,85 +0,0 @@ -<% -require("viewfunctions") - - local form, viewlibrary = ... - local config = form.service.config - -%> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("status") -end %> - -<h1>Configuration</h1> -<h2>Authentication Scheme</h2> -<form action="" method="POST"> -<p> -Choose the desired authentication mechanisms and their order. -</p> - -<input type="hidden" name="authmethod" value="<% io.write( config.authmethod.value ) %>"> -<table style="width:100px;"> -<tr> - <td valign="middle"> - <table> - <tr> - <td><input class="submit" type="submit" value="^"></td> - </tr><tr> - <td><input class="submit" type="submit" value="v"></td> - </tr> - </table> - </td><td> - <b>Active</b><br> - <select class="select" name="tmpauth" size="5" style="width:150px;"> - <% - local lap = 1 - local method = config.authmethod.value - if #config.authmethod.value > 0 then - while lap <= #config.authmethod.value do - if string.sub( method, lap, lap ) == "D" then - io.write( "<option value=\"D\">Digest</option>\n" ) - elseif string.sub( method, lap, lap ) == "N" then - io.write( "<option value=\"N\">NTLM</option>\n" ) - elseif string.sub( method, lap, lap ) == "B" then - io.write( "<option value=\"B\">Basic</option>\n" ) - end - lap = lap + 1 - end - end - %> - </select> - </td><td> - <table><tr><td> - <input class="submit" type="submit" name="inout" value=" << "> - </td></tr><tr><td> - <input class="submit" type="submit" name="inout" value=" >> "> - </td></tr></table> - </td><td> - <b>Selectable</b><br> - <select name="tmpempty" size="5" style="width:150px;"> -<% - if string.match( config.authmethod.value, "D" ) == nil then - io.write( "<option value=\"D\">Digest</option>\n" ) - end - if string.match( config.authmethod.value, "N" ) == nil then - io.write( "<option value=\"N\">NTLM</option>\n" ) - end - if string.match( config.authmethod.value, "B" ) == nil then - io.write( "<option value=\"B\">Basic</option>\n" ) - end -%> - </select> - </td> -</tr> -</table> -<h2>Information</h2> -<DL> -<dt>Process information</dt><dd>This process runs as a service. When you make -and save changes, the configuration files for the service are changed. However, -the changes will not be <i>applied</i> until you restart the service.</dd> -</DL> -</form> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("startstop") -end %> |