help on print from unix to PC

Feng Qiu fqiu at
Thu Nov 5 18:13:20 GMT 1998

Hello, everyone!
I set the samba running on my sun ultra2 with solaris2.6. Seem every thing works.
I can share the directories and PC can share unix printer too. But the unix can not use
PC's printer.
when I try to directly use the command smbclient to print, I get following error. Antone
can give me a hint?
Feng Qiu

server:Feng 33>cat filename | smbclient \\\\Qiu\\epson -N -P
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter password level = 8
doing parameter encrypt passwords = yes
doing parameter socket options = TCP_NODELAY
doing parameter domain master = yes
doing parameter domain logons = yes
doing parameter dns proxy = no
pm_process() returned Yes
adding IPC service
Added interface ip= bcast= nmask=
Opening sockets
resolve_name: Attempting lmhosts lookup for name QIU
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file
or directory
resolve_name: Attempting host lookup for name QIU
resolve_name: Attempting wins lookup for name QIU<0x20>
resolve_name: WINS server resolution selected and no WINS server present.
resolve_name: Attempting broadcast lookup for name QIU<0x20>
bind succeeded on port 0
Got a positive name query response from ( )
Connecting to at port 139
SMBnegprot failed. myname=SERVER destname=QIU - ERRSRV - 1311

More information about the samba mailing list