Flávio Henrique
2004-Jul-06 15:36 UTC
[Samba] Problems with Samba x CUPS x win98 clients... (Help)
Hi all! I'm using Samba 3.0.2a with CUPS serving about 50 win98 clients... All my printers works fine though samba/cups, but sometimes nobody can print in a certain netword printer. I open my CUPS (http://localhost:631) and see the printer stoped (not always) and always with one of the errors messsages above: Printer state: Idle, accepting jobs "Unable to connect to SAMBA host, will retry in 60 seconds..." Printer state: Idle, accepting jobs "Unable to connect to SAMBA host, will retry in 60 seconds... ERROR: Connection failed with error NT_STATUS_UNSUCCESFUL" Printer state: Idle, accepting jobs "Unable to connect to SAMBA host, will retry in 60 seconds... ERROR: Connection failed with error NT_STATUS_BAD_DEVICE_TYPE" Printer state: Idle, accepting jobs "Unable to connect to SAMBA host, will retry in 60 seconds... ERROR: ERRSVR - ERRerror (Non-especific error code) opening remote file smbpm_00000604 Without Name1" And most of cases I need to delete the <printer>.tdb file in /var/cache/samba/printing to make the printer work again... Someone can help with this? Why this happens and what can I do to avoid this ? I post my smb.conf above too. Thank you. Fl?vio Henrique # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/06/25 08:22:20 # Global parameters [global] dos charset = 850 unix charset = ISO8859-1 workgroup = MYGROUP netbios name = SERVIDOR log level = 1 log file = /var/log/samba/log.%m time server = Yes printcap name = cups logon script = logon.bat logon home = \\%N\%U\profile domain logons = Yes os level = 100 preferred master = Yes domain master = Yes wins support = Yes ldap ssl = no create mask = 02777 force create mode = 02770 directory mask = 02750 printing = cups [C] path = /server/sistemas read only = No browseable = No [printers] comment = Todas as impressoras path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes browseable = No