Samba without Cups ?

Joerg Pulz Joerg.Pulz at frm2.tum.de
Tue Jul 26 08:16:50 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tue, 26 Jul 2005, Graham Bentley wrote:

> I just want file sharing, not printing.
>
> pkg_add -r samba3 also pulls in cups then my smb log
> complains ...
>
> [2005/07/26 00:31:17, 0] printing/print_cups.c:cups_cache_reload(85)
> Unable to connect to CUPS server localhost - Connection refused
>
> (I havent enabled cups daemon)
>
> but insists ;
>
> Global parameter load printers found in service section!
>
> even thought I have printers = no in my smb.conf ???
>
> Anyone know how to stop Samba trying to pal up with cups ?

Hi,

tha package build defaults to build with cups printing support. so if you 
use the package, you will always get cups installed as a dependency.
if you want to entirely remove this dependency you have to build this port 
from source.and you need to run "make config" in the ports directory and 
should deslect the CUPS option.

setting "load printers = no" in smb.conf should prevent samba from 
acquiring any printers at all and you should not see the error message.
As far as i remember, there is NO "printers = no" option for smb.conf.
You should run testparm(1) to verify the options used in your smb.conf 
file.

Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC5fFoSPOsGF+KA+MRAsmmAJ4thkbwb7AKjgeXIlds+otzPmCDcgCcCQs1
t5RnGpxL5gRVGHXh2F5gmeE=
=G2bT
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list