Hi, When I startup samba om my fileserver, it writes in samba.log the following message after a minute or 2: [2005/11/26 22:04:48, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost - Connection timed out After another minute or 3 samba continues to startup, getting ready to serve clients. The funny thing about it is that there is no printer connected to the fileserver, no queues defined, just cups is there (not running). Cups can't be undeleted by the way, too many dependencies. My general options are: [global] workgroup = HOMELAN server string = Fileserver hosts allow = 192.168.0. 127. log file = /var/log/samba/%m.log max log size = 250 security = user password level = 8 username level = 6 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd interfaces = 192.168.0.1/24 domain master = yes preferred master = yes wins support = yes dns proxy = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no printable = no read only = no browseable = yes public = no load printers = no Is there a way to speed up the samba startup by telling it not to look to cups? Or should I recompile samba and use -disable-cups in the config line?
On Sun, 2005-11-27 at 01:01 +0100, Jurjan van Ginkel wrote:> Hi, > > > > When I startup samba om my fileserver, it writes in samba.log the following > message after a minute or 2: > > [2005/11/26 22:04:48, 0] printing/print_cups.c:cups_cache_reload(85) > > Unable to connect to CUPS server localhost - Connection timed out > > > After another minute or 3 samba continues to startup, getting ready to serve > clients. > > The funny thing about it is that there is no printer connected to the > fileserver, no queues defined, just cups is there (not running). Cups can't > be undeleted by the way, too many dependencies. > > > > My general options are: > > [global] > > workgroup = HOMELAN > > server string = Fileserver > > hosts allow = 192.168.0. 127. > > log file = /var/log/samba/%m.log > > max log size = 250 > > security = user > > password level = 8 > > username level = 6 > > encrypt passwords = yes > > smb passwd file = /etc/samba/smbpasswd > > interfaces = 192.168.0.1/24 > > domain master = yes > > preferred master = yes > > wins support = yes > > dns proxy = no > > idmap uid = 16777216-33554431 > > idmap gid = 16777216-33554431 > > template shell = /bin/false > > winbind use default domain = no > > printable = no > > read only = no > > browseable = yes > > public = no > > load printers = no > > > > Is there a way to speed up the samba startup by telling it not to look to > cups? Or should I recompile samba and use -disable-cups in the config line?---- I've never done this so I am not familiar with its effects but did you try... disable spoolss = yes ? Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Not yet, I will try this tonight when I have access to my fileserver again.>I've never done this so I am not familiar with its effects but did you >try...>disable spoolss = yes >?>CraigDisclaimer: This message contains information that may be privileged or confidential and is the property of Sogeti Nederland B.V. or its Group members. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.