I have samba v2.0.5a and samba 2.0.7 set up on a Linux and Solaris box,
respectively. I
use it in both instances to communicate with a win95 machine. When using
smbclient I can
contact the win95 machine when using the netbios name but can't contact
it when using the
IP address or hostname. I have snooped the network to try and figure out
where the problem
lies and realised that smbclient is contacting the win95 machine
successfully but the win95
machine is responding with "NEGATIVE SESSION RESPONSE". I have tried all
manner
of switches to try and use the IP address but all to no avail! The
problem seems to be that
unless the win95 machine see the netbios name in the dest field of the
NBT header it refuses
connection. Does anyone know of a way of telling win95 to stop f***ing
around and just
accept the damn thing?
I have both NetBEUI and TCP/IP set up on the win95 machine. I should
probably also mention
that the reason I want to use the IP address is that I have used Webmin
to setup the printing
facilities on the Solaris 8 box. Now basically all that does is setup a
filter that uses smbclient to
pipe the stuff through to the win95 printer. The call to smbclient in
that script has the netbios name
in it but for some bizarre reason when it runs it insists on placing the
dest IP address in the dest
field as opposed to the netbios name. When I run the very same command
on the the command line
it use the netbios name in the dest field, no problem.
Regards and thanks for any help,
John.
--
==================================
"There are 3 kind of mathematicians: those who can count and those who
can't"
John Mc Donald,
Dept. of Computer Science,
National University of Ireland,
Maynooth,
Co. Kildare,
Ireland.
Email : johnmcd at cs.may.ie
Phone : +353 -1 - 7084589
Fax : +353 -1 - 7083848
http://www.cs.may.ie/~johnmcd
==================================
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!