Hi I am giving up. I cannot print to my Samba printer (attached to Linux) and I was able to do it before. I do not remember what I have done first upgraded to glibc or recompiled samba 10 times.
It is not my windows client problem -- because when I use smbclient '\\myhost\printer_name' -P on the same machine -- it still does not work. It says share name is not found. when I do smbclient -L myhost -- I see all the shares including the printers (by now I created to services that point to the same printer). I read Samba's hints.txt diagnosis.txt and FAQs -- I can print from my Linux box using lpr command (I use LPRing package) -- everything is OK with printing (no problems with users not being able to write to a spool directory, etc.). Just remembered I also installed 2.1.59 kernel (before I was using 2.1.56) -- but I do not think it matters. I attach to this message my smb.conf and output from testparm. If anyone can help -- I would really appreciate that Vladislav
smb.conf
Description: Binary data
Load smb config files from /etc/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[OKIDATA]" Processing section "[cdrom_share]" Processing section "[progs]" Loaded services file OK. WARNING: You have some share names that are longer than 8 chars These may give errors while browsing or may not be accessible to some older clients Press enter to see a dump of your service definitions Global parameters: debuglevel: 2 syslog: 1 syslog only: No protocol: 5 security: 1 printing: 0 max disk size: 0 lpq cache time: 10 announce as: 1 encrypt passwords: No getwd cache: Yes read prediction: No read bmpx: Yes read raw: Yes write raw: Yes use rhosts: No load printers: Yes null passwords: Yes strip dot: No interfaces: 192.16.2.1/24 192.16.1.1/24 password server: socket options: netbios name: netbios aliases: smbrun: /usr/bin/smbrun log file: config file: smb passwd file: hosts equiv: preload: server string: Samba 1.9.17p4 printcap name: /etc/printcap lock dir: /var/samba/locks root directory: / default service: homes message command: dfree command: passwd program: /bin/passwd passwd chat: *old*password* %o\n *new*password* %n\n *new*password* %n\n *changed* valid chars: workgroup: WORKGROUP domain controller: username map: character set: logon script: logon path: remote announce: socket address: 0.0.0.0 homedir map: announce version: 4.2 max log size: 5000 mangled stack: 50 max mux: 50 max xmit: 65535 max packet: 65535 password level: 0 keepalive: 0 deadtime: 0 time offset: 0 read size: 16384 shared mem size: 102400 shared file entries: 113 client code page: 850 os level: 0 max ttl: 14400 dns proxy: Yes wins support: Yes wins proxy: No wins server: preferred master: No local master: Yes domain master: No domain logons: No browse list: Yes unix realname: No NIS homedir: No time server: No Default service parameters: comment: copy: include: exec: postexec: root preexec: root postexec: alternate permissions: No revalidate: No default case: 0 case sensitive: No preserve case: No short preserve case: No mangle case: No mangling char: ~ browseable: Yes available: Yes path: username: guest account: ftp invalid users: root valid users: admin users: read list: write list: volume: force user: force group: read only: Yes max connections: 0 min print space: 0 create mask: 0744 force create mode: 00 directory mask: 0755 force directory mode: 00 set directory: No status: Yes hide dot files: Yes veto files: hide files: guest only: No guest ok: No print ok: No postscript: No map system: No map hidden: No map archive: Yes locking: Yes strict locking: No share modes: Yes only user: No wide links: Yes follow symlinks: Yes sync always: No mangled names: Yes fake oplocks: No print command: lpr -r -P%p %s lpq command: lpq -P%p lprm command: lprm -P%p %j lppause command: lpresume command: printer: printer driver: NULL hosts allow: hosts deny: dont descend: magic script: magic output: mangled map: delete readonly: No dos filetimes: No Service parameters [homes]: comment: Home Directories browseable: No path: /home/%S read only: No create mask: 0700 Service parameters [printers]: comment: All Printers attached to the Linux Server browseable: No path: /var/spool/lpd/hplj4 read only: No create mask: 0700 print ok: Yes Service parameters [OKIDATA]: comment: OKIDATA LASER ON LINUX path: /var/spool/lpd/hplj4 read only: No create mask: 0700 print ok: Yes printer: hplj4l Service parameters [cdrom_share]: comment: CD-ROM on Linux path: /mnt/cdrom hide dot files: No guest ok: Yes wide links: No fake oplocks: Yes Service parameters [progs]: comment: All The Commonly Used Programs path: /home/forall read only: No hide dot files: No guest ok: Yes wide links: No Service parameters [hplj4l]: comment: HP Laserjet 4L path: /var/spool/lpd/hplj4 read only: No create mask: 0700 print ok: Yes share modes: No printer: hplj4l Service parameters [IPC$]: comment: IPC Service (Samba 1.9.17p4) path: /tmp status: No guest ok: Yes