summaryrefslogtreecommitdiffstats
path: root/squid-controller.lua
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 /squid-controller.lua
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
Diffstat (limited to 'squid-controller.lua')
-rw-r--r--squid-controller.lua32
1 files changed, 0 insertions, 32 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"],