Printing using smbclient

Malcolm Burtt malcolm at eurogen.co.uk
Mon Nov 29 13:02:12 GMT 1999


Hi all

I trying to using smbclient to print to a shared printer on a Windows 98 PC
but when I run smbclient (with debug level 5) I get the following error....

	number of interfaces returned is: 3
	Added interface ip=192.100.100.100 bcast=192.100.100.255
nmask=255.255.255.0
	Opening sockets
	Connecting to 192.100.100.30 at port 139
	Connected
	Sent session request
	size=35
	smb_com=0x72
	smb_rcls=2
	smb_reh=0
	smb_err=1311
	smb_flg=128
	smb_flg2=0
	smb_tid=0
	smb_pid=23915
	smb_uid=0
	smb_mid=24015
	smt_wct=0
	smb_bcc=0
	SMBnegprot failed. myname=EUROGEN1 destname=SOMPOB - ERRSRV - 1311

Can anyone throw any light on what might be wrong, I've used smbclient in
this way lots of times before and never had a problem so I'm somewhat
perplexed by this one.

Thanks in advance

Malcolm Burtt
Senior Analyst
EuroGen Systems Limited.

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list