Print drivers permissions default group.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-21 10:10:09 +01:00
parent 071261609b
commit ae4c886d82

View File

@@ -81,7 +81,8 @@ if [ ! -f /var/lib/samba/private/secrets.tdb ]; then
# Note: These commands require running winbind that resolves the group name
sleep 10
chgrp "Domain Admins" /var/lib/samba/printerdrivers
chmod 2775 /var/lib/samba/printerdrivers
chmod 775 /var/lib/samba/printerdrivers
setfacl -m "d:g:Domain Admins:rwx" /var/lib/samba/printerdrivers
# HACK: In Samba 4.16 and above shares are not visible otherwise
smbclient -L 127.0.0.1 -P