From 04f55cd566109037971af84e5adf02984c3e5eaf Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Tue, 10 Jan 2023 22:00:24 +0100 Subject: [PATCH] Add winbind apt pinnung --- src/zmb-standalone/install-service.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/zmb-standalone/install-service.sh b/src/zmb-standalone/install-service.sh index 3d56835..e6a56ee 100644 --- a/src/zmb-standalone/install-service.sh +++ b/src/zmb-standalone/install-service.sh @@ -17,7 +17,13 @@ echo "deb https://pkg.ltec.ch/public/ $(lsb_release -cs) main" > /etc/apt/source echo "deb http://ftp.de.debian.org/debian $(lsb_release -cs)-backports main contrib" > /etc/apt/sources.list.d/$(lsb_release -cs)-backports.list cat << EOF > /etc/apt/preferences.d/samba -Package: samba* +Package: samba +Pin: release a=$(lsb_release -cs)-backports +Pin-Priority: 900 +EOF + +cat << EOF > /etc/apt/preferences.d/winbind +Package: winbind Pin: release a=$(lsb_release -cs)-backports Pin-Priority: 900 EOF