mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 20:42:58 +02:00
squid: Add NTLM authentication against Windows Active Directory servers.
This commit is contained in:
@@ -22,6 +22,14 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
# If the wbpriv group does not exist yet, then create it and put squid
|
||||
# into it.
|
||||
if ! getent group wbpriv >/dev/null; then
|
||||
groupadd -g 88 wbpriv
|
||||
usermod -a -G wbpriv squid
|
||||
fi
|
||||
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
/usr/local/bin/sambactrl smbstart
|
||||
|
||||
@@ -23,6 +23,14 @@
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
|
||||
# If the wbpriv group does not exist yet, then create it and put squid
|
||||
# into it.
|
||||
if ! getent group wbpriv >/dev/null; then
|
||||
groupadd -g 88 wbpriv
|
||||
usermod -a -G wbpriv squid
|
||||
fi
|
||||
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
echo "passdb backend = smbpasswd" >> /var/ipfire/samba/smb.conf
|
||||
|
||||
Reference in New Issue
Block a user