diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:31 +0000 |
commit | 236cb75e4430569627585a5818d9ce9bc85640f8 (patch) | |
tree | f84b5c0335eb76eb9df1e6c2c0004d7d9667c6e4 /debian/winbind.postrm | |
parent | Adding upstream version 2:4.17.12+dfsg. (diff) | |
download | samba-236cb75e4430569627585a5818d9ce9bc85640f8.tar.xz samba-236cb75e4430569627585a5818d9ce9bc85640f8.zip |
Adding debian version 2:4.17.12+dfsg-0+deb12u1.debian/2%4.17.12+dfsg-0+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/winbind.postrm | 12 |
1 files changed, 12 insertions, 0 deletions
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# |