[Samba] Stopping smbd from looking for cups

Robert Moskowitz rgm at htt-consult.com
Fri Sep 11 13:55:01 UTC 2015



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?





More information about the samba mailing list