[Samba] Stopping smbd from looking for cups

Reindl Harald h.reindl at thelounge.net
Fri Sep 11 14:16:44 UTC 2015


Am 11.09.2015 um 15:55 schrieb Robert Moskowitz:
> On 09/11/2015 08:52 AM, Rowland Penny wrote:
>> On 11/09/15 13:34, Robert Moskowitz wrote:
>>> The wiki recommends running the AD standalone.  I read that with no
>>> shares (well maybe login scripts and profiles) or printers.
>>>
>>> I have noticed in /var/log/messages attempts by smbd to access cups
>>> information.  I have not loaded cups on this server.
>>>
>>> How do I turn off printing services?  I do not see it listed in
>>> /etc/smaba/smb.conf:
>>>
>>> [global]
>>>     workgroup = HOME
>>>     realm = HOME.HTT
>>>     netbios name = HOMEBASE
>>>     server role = active directory domain controller
>>>     server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
>>> winbindd, ntp_signd, kcc, dnsupdate
>>>     idmap_ldb:use rfc2307 = yes
>>>
>>> I created this AD with the classicupgrade script.
>>>
>> Add this to smb.conf:
>>
>>         load printers = no
>>         printing = bsd
>>         printcap name = /dev/null
>>         disable spoolss = yes
>>
>> Note: this is stolen from one of Louis's scripts :-)
>
> In the global section?

surely, that below is on any smb-server here for years now


  show add printer wizard = no
  load printers = no
  printable = no
  printing = bsd
  printcap name = /dev/null

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20150911/58e8f3e8/signature.sig>


More information about the samba mailing list