Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2005 10:16:37 +0200 (CEST)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        Graham Bentley <gbentley@uk2.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Samba without Cups ?
Message-ID:  <20050726100052.P72944@hades.admin.frm2>
In-Reply-To: <50840.81.174.174.115.1122364591.squirrel@maxproxy1.uk2net.com>
References:  <20050726020239.195DD16A428@hub.freebsd.org> <50840.81.174.174.115.1122364591.squirrel@maxproxy1.uk2net.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050726100052.P72944>