[Samba] Samba printing problem with samba 4.15.X.

Peter Varkoly peter at varkoly.de
Tue Mar 29 09:05:55 UTC 2022

Hi List,

on samba-4.15.2 and 4.15.5 I've 2 problems with printig with CUPS:

1. load printers = yes does not work. The printers are not loaded.
2. Creating for all printer a section and the GPO described in 
the domain user Administrator can acces the printers but all other 
domain users get an error message that the printer can not be found.

OS is openSUSE Leap 15.3
samba-ad is self built with internal krb.
Here is my smb.conf:
netbios name = admin
realm = DNS.DOMAN
workgroup = DOMAIN
dns forwarder =
server role = active directory domain controller
idmap_ldb:use rfc2307 = Yes
check password script = 
winbind enum users = Yes
winbind enum groups = Yes
wide links = Yes
unix extensions = No
bind interfaces only = yes
interfaces =,
ntlm auth = yes
template shell = /bin/bash
ldap server require strong auth = no
printing = CUPS
load printers = no
rpc_server:spoolss = external
rpc_daemon:spoolssd = fork
hosts deny =
username map = /etc/samba/usermap

path = /var/lib/samba/sysvol
read only = No

comment = All users
path = /home
inherit permissions = Yes
browseable = Yes
guest ok = No
printable = No
read only = No

comment = Folder for all
path = /home/all
inherit permissions = Yes
browseable = Yes
guest ok = No
writable = Yes

comment = Printer Drivers
path = /var/lib/samba/drivers
read only = no

path = /var/tmp/
printable = yes
printer name = generic-postscript
hosts allow =

path = /var/tmp/
printable = yes
printer name = gps
hosts allow =

Content of usermap:
!root = DOMAIN\Administrator

For any help I would be very grateful!!

Peter Varkoly

More information about the samba mailing list