summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-24 14:09:43 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-24 14:09:43 +0000
commit1dab9a55bfa6d4393ae4ad10b9a7842f6b1319b9 (patch)
treefcfd60d76e44ee416385e9275c15fe457a009b3e
parent9f02ef9a5173158b3dc18c304ef8b6b913c469b9 (diff)
downloadacf-squid-1dab9a55bfa6d4393ae4ad10b9a7842f6b1319b9.tar.bz2
acf-squid-1dab9a55bfa6d4393ae4ad10b9a7842f6b1319b9.tar.xz
removed the ntlm/winbindd part from acf-squid
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@633 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--squid-controller.lua32
-rw-r--r--squid-ntlm-html.lsp61
2 files changed, 0 insertions, 93 deletions
diff --git a/squid-controller.lua b/squid-controller.lua
index 87babbb..554289c 100644
--- a/squid-controller.lua
+++ b/squid-controller.lua
@@ -201,38 +201,6 @@ digest = function( self )
return ( cfe ({ option = option, service = service }) )
end
-ntlm = function( self )
-
- local info = { status = { value = "stopped" }, version = { value = self.model.get_winbind_version() }, srvctrl = { value = srvctrl} };
-
- local option = { script = ENV["SCRIPT_NAME"],
- prefix = self.conf.prefix,
- controller = self.conf.controller,
- action = self.conf.action,
- extra = ""
- }
-
- local service = { message="", status="", config="" }
- if self.clientdata.srvcmd then
- local srvcmd = self.clientdata.srvcmd
- if srvcmd == "start" or srvcmd == "stop" or srvcmd == "restart" then
- service.message = self.model.service_control_winbindd( srvcmd )
- end
- end
-
- if self.clientdata.cmd then
- if self.clientdata.cmd == "save" then
- service.message = self.model.update_winbindd_config( self.clientdata.config )
- end
- end
-
- service.status = self.model.get_status_winbindd()
- info.status.value = service.status
- service.config = self.model.get_winbindd_config()
-
- return ( cfe ({ option = option, service = service, info = info }) )
-end
-
saccess = function( self )
local option = { script = ENV["SCRIPT_NAME"],
diff --git a/squid-ntlm-html.lsp b/squid-ntlm-html.lsp
deleted file mode 100644
index 9897532..0000000
--- a/squid-ntlm-html.lsp
+++ /dev/null
@@ -1,61 +0,0 @@
-<?
- local form = ...
- local data = form.option
- local service = form.service
- local config = form.service.config
-
- local srv1fill = ""
- local srv2fill = "disabled"
- if service.status == "running" then
- srv1fill = "disabled"
- srv2fill = ""
- end
-
- local ifthen = function( variable, value, result )
- if variable == value then
- io.write( result )
- end
- end
-
-?>
-<h1>Web Proxy - NTLM Authentication</h1>
-<h2>General Information</h2>
-<p>
-Winbindd is a service that allows squid to authenticate against a Windows Domain Controller.
-Before authentication is possible, this machine must join the Windows domain and the winbindd
-service must be (re)started. It is only necessary to join the domain once.
-</p>
-
-<h2>Status</h2>
-<dl><dt>Program version</dt><dd><? io.write( form.info.version.value ) ?></dd></dl>
-<dl><dt>Process status</dt><dd><? io.write( form.info.status.value ) ?></dd></dl>
-<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 action="" method="POST">
-<dl><dt>Daemon control</dt>
-<dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?>>
-<input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?>>
-<input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?>></dd></dl>
-</form>
-
-<p>
-<pre class=error><? io.write( service.message ) ?></pre>
-</p>
-
-<form action="" method="POST">
-<h2>Configuration</h2>
-<dl><dt>Domain</dt><dd><input class="input" type="text" name="domain" value="<? io.write ( config.domain.value ) ?>"></dd></dl>
-<dl><dt>DC NetBIOS Name</dt><dd><input class="input" type="text" name="domain" value="<? io.write ( config.dcnetbiosname.value ) ?>"></dd></dl>
-<dl><dt>DC IP Address</dt><dd><input class="input" type="text" name="domain" value="<? io.write ( config.dcipaddress.value ) ?>"></dd></dl>
-<dl><dt>Interface</dt><dd><input class="input" type="text" name="domain" value="<? io.write ( config.interface.value ) ?>"></dd></dl>
-<dl><dt>Loglevel</dt><dd><input class="input" type="text" name="domain" value="<? io.write ( config.loglevel.value ) ?>"></dd></dl>
-<dl><dt>Account</dt><dd><input class="input" type="text" name="domain" value=""></dd></dl>
-<dl><dt>Password</dt><dd><input class="input" type="text" name="domain" value=""></dd></dl>
-
-<h3>Action</h3>
-<dl><dt>What to do?</dt>
-<dd><input class="submit" type="submit" name="cmd" value="join domain">
-<input class="submit" type="submit" name="cmd" value="save"></dd></dl>
-</form>
-