An smbclient -L listing from the linuxbox shows resources available on the
sunbox:
linuxbox:~$ smbclient -L sunbox
added interface ip=3D192.168.0.3 bcast=3D192.168.0.255 nmask=3D255.255.255.0
Password:=20
Anonymous login successful
Domain=3D[VANCOUVER] OS=3D[Unix] Server=3D[Samba 2.2.2]
Sharename Type Comment
--------- ---- -------
root Disk Root
sun-printer Printer =20
htdocs Disk =20
IPC$ IPC IPC Service (Samba 2.2.2)
ADMIN$ Disk IPC Service (Samba 2.2.2)
Server Comment
--------- -------
SUNBOX Samba 2.2.2
Workgroup Master
--------- -------
VANCOUVER =20
linuxbox:~$=20
I think there's something wrong with my Win98 machine (I really don't
want to blow it away because this is the only problem I have). Can someone give
me some direction?
Thanks a million.
Gary Ferrer
gary@ferrer.yi.org
------=_NextPart_000_0013_01C1B8C8.2A1258E0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html;
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I'm not sure if this is a samba/solaris
problem or a Win98=20
problem and I'll tell you why. I have a Solaris 8 server runing
samba=20
2.2.2, a linux/samba 2.0.7 box and a couple Win 98 boxes. When I did
a=20
complete restore of my Win98 box from tape, I could no longer access the
Solaris=20
8 server via network neighbourhood. I can see the
Solaris/samba=20
box there with the other Win98 and linux box but when I double click on
the=20
Solaris box I get <A=20
href=3D"file://\\Sunbox is not accessible. The computer or share
name could not be found. Make sure you typed it in
correctly">\\Sunbox=20
is not accessible. The computer or share name could not be
found. =20
Make sure you typed it in correctly</A>".</FONT></DIV>
<DIV><FONT size=3D2>This is strange because from the other Win98 box
I can access=20
the Solaris samba resource without a problem. I thought this might be
a=20
password problem so I changed my samba password but that didn't work=20
either. Essentially I cannot access the Solaris/samba
resource from=20
just one Win98 workstation (mine). </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Here is a dump of the packets on the
sunbox:</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>(/)-->snoop -d iprb1<BR>Using
device /dev/iprb (promiscuous=20
mode)<BR>
gary -> 192.168.0.255 NBT=20
NS Query Request for SUNBOX[20],=20
Success<BR>
gary -> 192.168.0.255=20
NBT NS Query Request for SUNBOX[20],=20
Success<BR>
melody ->=20
64.12.25.92 TCP D=3D5190
S=3D3137 Ack=3D3620371547=20
Seq=3D399977304 Len=3D6=20
Win=3D9520<BR> 64.12.25.92
->=20
melody TCP
D=3D3137=20
S=3D5190 Ack=3D399977310
Seq=3D3620371547 Len=3D0=20
Win=3D16384<BR>
gary -> 192.168.0.255=20
NBT NS Query Request for SUNBOX[20],
Success<BR> =20
<BR></FONT><FONT size=3D2>The PC 'gary'
cannot access samba resource. =20
All I see are a couple of successful NBT NS query requests but that's=20
all.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>This is the snoop with the PC 'melody'
that can access the=20
Solaris 8 samba without a problem:</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> melody -> 192.168.0.255 NBT NS
Query Request for=20
SUNBOX[20],
Success<BR> melody
->=20
sunbox NBT C
port=3D3399=20
<BR> sunbox ->=20
melody NBT R
port=3D3399=20
<BR> melody ->=20
sunbox NBT C
port=3D3399=20
<BR> melody ->=20
sunbox NBT
Type=3DSESSION REQUEST=20
Dest=3DSUNBOX[20] Source=3DMELODY[0]
Length=3D68<BR> =20
sunbox ->
melody NBT R
port=3D3399=20
<BR> sunbox ->=20
melody NBT
Type=3DPOSITIVE SESSION RESPONSE=20
Length=3D0<BR> melody
->=20
sunbox SMB C
Code=3D0x72 Name=3DSMBnegprot=20
LastDialect=3DNT LM 0.12 Error=3D0
<BR> sunbox ->=20
melody SMB R
Code=3D0x72 Name=3DSMBnegprot=20
Dialect#=3D5 Error=3D0
<BR> melody ->=20
sunbox SMB C
Code=3D0x73 Name=3DSMBsesssetupX=20
Username=3DMELODY Error=3D0
<BR> sunbox ->=20
melody NBT R
port=3D3399=20
<BR> sunbox ->=20
melody SMB R
Code=3D0x73 Name=3DSMBsesssetupX=20
Error=3D0 <BR> melody
->=20
sunbox SMB C
Code=3D0x25 Name=3DSMBtrans Error=3D0=20
<BR> sunbox ->=20
melody SMB R
Code=3D0x25 Name=3DSMBtrans Error=3D0=20
<BR> melody ->=20
sunbox NBT C
port=3D3399 </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Quite different.</DIV>
<DIV> </DIV>
<DIV>From PC 'gary' msdos box, net view sees the Solaris 8
box. </DIV>
<DIV> </DIV>
<DIV>An smbclient -L listing from the linuxbox shows resources available
on the=20
sunbox:</DIV>
<DIV> </DIV>
<DIV>linuxbox:~$ smbclient -L sunbox<BR>added interface
ip=3D192.168.0.3
bcast=3D192.168.0.255 nmask=3D255.255.255.0<BR>Password:
<BR>Anonymous login=20
successful<BR>Domain=3D[VANCOUVER] OS=3D[Unix] Server=3D[Samba
2.2.2]</DIV>
<DIV> </DIV>
<DIV> =20
Sharename
Type =20
Comment<BR> =20
---------
---- =20
-------<BR> =20
root =20
Disk =20
Root<BR> sun-printer =20
Printer
<BR> =20
htdocs =20
Disk =20
<BR> =20
IPC$ =20
IPC IPC Service
(Samba=20
2.2.2)<BR> =20
ADMIN$ =20
Disk IPC Service (Samba
2.2.2)</DIV>
<DIV> </DIV>
<DIV> =20
Server =20
Comment<BR> =20
--------- =20
-------<BR> =20
SUNBOX =20
Samba 2.2.2</DIV>
<DIV> </DIV>
<DIV> =20
Workgroup =20
Master<BR> =20
--------- =20
-------<BR> =20
VANCOUVER =20
<BR></DIV>
<DIV>linuxbox:~$ <BR><BR></DIV></FONT>
<DIV><FONT size=3D2>I think there's something wrong with my
Win98 machine (I=20
really don't want to blow it away because this is the only problem I=20
have). Can someone give me some direction?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Thanks a
million.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Gary Ferrer<BR><A=20
href=3D"mailto:gary@ferrer.yi.org">gary@ferrer.yi.org</A></FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT
size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0013_01C1B8C8.2A1258E0--