[Samba] Stopping smbd from looking for cups

Rowland Penny rowlandpenny241155 at gmail.com
Fri Sep 11 12:52:57 UTC 2015


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 :-)

Rowland




More information about the samba mailing list