Samba and Win95 printing problem

Justin Ohl jnohl at paranet.com
Tue Jul 15 20:25:11 GMT 1997


 I am having some problems setting up the printing for samba and was wondering
if anyone has any ideas.
 Samba 1.9.16p11 is running on a SparcStation 20 running SunOS4.1.3_u1.
Accessing the shares, like [homes], is successful. When attempting to
connect to a printer using Win95 with Service Pack 1, an error occurs. The
printer share name, host name, and printcap name are all the same and
exactly eight(8) characters long.

Log and Debug Level 2 results:

*06/20/97 14:53:58 <client computer> (<ip subnet>.190) connect to service
  <printer> as user <username>
*06/20/97 14:53:59 couldn't find service }~t
*06/20/97 14:53:59 couldn't find service }~t
*06/20/97 14:53:59 couldn't find service }~t
*06/20/97 14:53:59 couldn't find service }~t
*06/20/97 14:53:59 <client computer> (<ip subnet>.190) closed connection to
  service <printer>

Log and Debug Level 3 shows a little bit more:

*checking for home directory }~t gave (NULL)
*find_service() failed to find service }~t
*06/23/97 09:36:33 couldn't find service }~t
*06/23/97 09:36:33 error packet at line 129 cmd=117 (SMBtconX) eclass=2 ecode=6

smb.conf sections:
*[global]
*   guest account = nobody
*   printcap name = /etc/printcap
*   postscript = yes
*   print command = cp %s /tmp/tmp.print
*[<printer>]
*   comment = Printer
*   printer = <printer>
*   path = /var/spool/printers/<printer>
*   browseable = yes
*   printable = yes
*   public = no

printcap:
*<printer>:\
*        :mx#0:lp=/var/spool/printers/<printer>/.null:\
*        :sd=/var/spool/printers/<printer>:\
*        :lf=/var/spool/printers/<printer>/log:\
*        :of=/usr/lib/hpnp/hplj.of.sh:\
*        :if=/usr/lib/hpnp/hplj.if.sh:

I would appreciate any help in this matter very much. Thank you for your time.

--------------------------------------------------------------------
| Justin N. Ohl                     |                              |
|                                   |                              |
| NOS Specialist                    | 3101 N. Central Ave.         |
| Red Tail Hawks Branch             | Suite 1440                   |
| Phoenix Office, Western Division  | Phoenix, Arizona  85012      |
| Paranet                           | Phone: (602) 266-9242        |
|                                   | Fax: (602) 266-6086          |
| mailto:jnohl at paranet.com          | http://www.paranet.com/      |
--------------------------------------------------------------------




More information about the samba mailing list