Web lists-archives.com

[Samba] Testparm CUPS warning




Hello,

today i upgrade my printserver from samba 4.8.6 to 4.9.2 (ubuntu 18.04). First, all is working correctly. But whe im typing "testparm" now the following warnings are shown:

##############

Loaded services file OK.

Warning: Service printers defines a print command, but parameter is ignored when using CUPS libraries.

Warning: Service print$ defines a print command, but parameter is ignored when using CUPS libraries.

Warning: Service MX511de defines a print command, but parameter is ignored when using CUPS libraries.

Warning: Service printer01 defines a print command, but parameter is ignored when using CUPS libraries.

Warning: Service printer01_null defines a print command, but parameter is ignored when using CUPS libraries.

Warning: Service pcclient defines a print command, but parameter is ignored when using CUPS libraries.

##############

My smb.conf:

##############

[global]

security = ads
realm = rootrudi.de
workgroup = ROOTRUDI
idmap config *: backend = tdb
idmap config *: range = 3000-7999
idmap config ROOTRUDI:backend = ad
idmap config ROOTRUDI:range = 10000-999999
idmap config ROOTRUDI:schema_mode = rfc2307
idmap config ROOTRUDI: unix_nss_info = no
domain master = No
local master = No
preferred master = No
os level = 0
restrict anonymous = 2
winbind cache time = 10
winbind enum groups = Yes
winbind enum users = Yes
winbind use default domain = Yes
#winbind use default domain = No
map acl inherit = Yes
store dos attributes = Yes
vfs objects = acl_xattr
username map = /usr/local/samba/private/user.map
printing = CUPS
rpc_server:spoolss = external
rpc_daemon:spoolssd = fork
load printers = no
spoolss: architecture = Windows x64
print command=/home/papercut/providers/print/linux-x64/samba-print-provider -u "%u" -J "%J" -h "%h" -m "%m" -p "%p" -s "%s" -a "[standard print command]" &


[printers]
       path = /var/spool/samba/
       printable = yes
       browseable = Yes
       read only = No

[print$]
       path = /srv/samba/printer_drivers/
       read only = no

[MX511de]
       path = /var/spool/samba/
       printable = yes
       printer name = MX511de


[printer01]
       comment = Ricoh MP C4504ex
       path = /var/spool/samba/
       printable = yes
       printer name = printer01

[printer01_null]
       comment = Ricoh MP C4504ex_null
       path = /var/spool/samba/
       printable = yes
       printer name = printer01_null

##############

*Yes the printserver also runs CUPS. But  i dont understand the message. Do i need to do something or can ignore this?*

Regards

Micha

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba