Add winbind apt pinnung

This commit is contained in:
thorstenspille 2023-01-10 22:00:24 +01:00
parent 439f2ba64b
commit 04f55cd566

View File

@ -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 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 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: release a=$(lsb_release -cs)-backports
Pin-Priority: 900 Pin-Priority: 900
EOF EOF