aboutsummaryrefslogtreecommitdiffstats
path: root/main/squid/squid.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-03 07:06:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-03 07:07:57 +0000
commit755022e91e421537995c02c67b55f27dc8165471 (patch)
treec858066e8c5eb82e368b2c57c8973a2efb343108 /main/squid/squid.pre-install
parentaa5d1b96c31c6337e0788700fb7a3314d39b3bfd (diff)
downloadaports-755022e91e421537995c02c67b55f27dc8165471.tar.gz
aports-755022e91e421537995c02c67b55f27dc8165471.tar.bz2
aports-755022e91e421537995c02c67b55f27dc8165471.tar.xz
main/squid: add squid user to winbind group
This allows Active Directory authentication
Diffstat (limited to 'main/squid/squid.pre-install')
-rw-r--r--main/squid/squid.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/squid/squid.pre-install b/main/squid/squid.pre-install
new file mode 100644
index 0000000000..322d21deab
--- /dev/null
+++ b/main/squid/squid.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+adduser -D squid -H /var/cache/squid 2>/dev/null
+addgroup winbind 2>/dev/null
+addgroup squid winbind
+exit 0