Last week I was able to print from Windows machines on a printer shared with samba. Since yesterday I can't.
I get the following message: # smbclient \\\\my-machine\\printer -P -c"print /file.txt" load_client_codepage: filename /etc/samba/codepages/codepage.850 does not exist.Added interface ip=myip bcast=158.42.127.255 nmask=255.255.128.0 Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.2.1a] tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) but the share name is ok, as can be seen with smbclient -L #smbclient -L \\my-machine load_client_codepage: filename /etc/samba/codepages/codepage.850 does not exist.Added interface ip=158.42.39.138 bcast=158.42.127.255 nmask=255.255.128.0 Password: Domain=[DIE] OS=[Unix] Server=[Samba 2.2.1a] Sharename Type Comment --------- ---- ------- JVC Disk COMPARTI Disk Lectura/Escritura IQ Disk LSED Disk TESIS Disk PRINTER Printer IPC$ IPC IPC Service (my-machine) ADMIN$ Disk IPC Service (my-machine) Server Comment I suppose the cause is the debian upgrade I made last week. My smb.conf is: ---------------------------------------------------------------------------------------- ;*******************section global***************** [global] security = share netbios name = MY-MACHINE invalid users = root workgroup = MYDOMAIN server string = MY-MACHINE socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd wins support = no wins server = 158.42.9.1 name resolve order = lmhosts host wins bcast dns proxy = no preserve case = yes short preserve case = yes unix password sync = false passwd program = /usr/bin/passwd %u passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Password\schanged.* . max log size = 1000 ... [PRINTER] guest account = ftp guest ok = yes path = /var/spool/lpd/dj600 printer name = listadosDJ writable = yes public = yes printable = yes print command = lpr -r -h -P %p %s browseable = yes ---------------------------------------------------------------------------------------- My problem is only with the printer: I can access the rest of shared resources. Please HELP ME!!!!!!! -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! --