Problem: Printer driver upload via Windows-client failes with access denied

Problem:

Printer driver upload via Windows-client failes with access denied.

Investigation:

If you have renamed you Administrator you may have this problem.
In /etc/samba/base.conf

the permission who is allowed to upload the printer drivers is hardcoded.

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        browseable = yes
        guest ok = no
        read only = no
        write list = root, Administrator, @Printer-Admins

So this is root, Administrator, and members of the Printer-Admins group.

Solution:

  • Rename your renamed Administrator back to Administrator.
  • Put the user into the Printer-Admins group

see also:

1 Like
Mastodon