From 236cb75e4430569627585a5818d9ce9bc85640f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:47:31 +0200 Subject: Adding debian version 2:4.17.12+dfsg-0+deb12u1. Signed-off-by: Daniel Baumann --- debian/winbind.postrm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/winbind.postrm (limited to 'debian/winbind.postrm') diff --git a/debian/winbind.postrm b/debian/winbind.postrm new file mode 100644 index 0000000..31001ea --- /dev/null +++ b/debian/winbind.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e +if [ "$1" = purge ]; then + winbindd_privileged_socket_directory='/var/lib/samba/winbindd_privileged' + rm -rf /var/cache/samba/netsamlogon_cache.tdb /var/cache/samba/winbindd_cache.tdb + rm -rf "$winbindd_privileged_socket_directory" + rm -rf /var/log/samba/log.winbind* /var/log/samba/log.wb* + rm -rf /run/samba/winbindd.pid +fi + +#DEBHELPER# -- cgit v1.2.3