I have got a similar problem when upgrading from samba-3.0.10 to
samba-3.0.14a.
Cups and samba are both started with S20-links. And I get the error
message in samba's log:
smbd version 3.0.14a-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/07/04 08:00:30, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused
[2005/07/04 08:00:30, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused
So the cups printers are not available to windows clients. After
restarting samba everything will be ok.
The problem is, that cups is not ready when samba starts, and samba will
not retry.
I have worked araound the problem by inserting a time delay into the
start-stop-script of samba:
case "$1" in
start)
echo -n "Starting Samba daemons:"
sleep 10
echo -n " nmbd"
start-stop-daemon --start --quiet --exec /usr/sbin/nmbd - -D
This is not really a solution but rather ugly. Samba should retry after
some time or when a client requests service.
Greetings
Werner
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]