[Samba] Re: Samba/Solaris 8

Gary Ferrer gary at ferrer.yi.org
Fri Feb 22 09:46:04 GMT 2002


In addition, let me add that nothing gets logged in log.smbd.  This is what
gets logged in log.nmbd during the attempt:

[2002/02/22 09:37:07, 5] libsmb/nmblib.c:read_packet(741)
  Received a packet of len 50 from (24.76.43.2) port 137
[2002/02/22 09:37:07, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
  find_workgroup_on_subnet: workgroup search for VANCOUVER on subnet
192.168.0.5: found.
[2002/02/22 09:37:07, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
  dump_workgroups()
   dump workgroup on subnet     192.168.0.5: netmask=  255.255.255.0:
        VANCOUVER(1) current master browser = UNKNOWN
                SUNBOX 40009a03 (Samba 2.2.2)
[2002/02/22 09:37:08, 5] libsmb/nmblib.c:read_packet(741)
  Received a packet of len 50 from (24.76.43.2) port 137
[2002/02/22 09:37:08, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
  find_workgroup_on_subnet: workgroup search for VANCOUVER on subnet
192.168.0.5: found.
[2002/02/22 09:37:08, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
  dump_workgroups()
   dump workgroup on subnet     192.168.0.5: netmask=  255.255.255.0:
        VANCOUVER(1) current master browser = UNKNOWN
                SUNBOX 40009a03 (Samba 2.2.2)
[2002/02/22 09:37:09, 5] libsmb/nmblib.c:read_packet(741)
  Received a packet of len 50 from (24.76.43.2) port 137
[2002/02/22 09:37:09, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
  find_workgroup_on_subnet: workgroup search for VANCOUVER on subnet
192.168.0.5: found.
[2002/02/22 09:37:19, 4]
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
  find_workgroup_on_subnet: workgroup search for VANCOUVER on subnet
192.168.0.5: found.


Thanks, Gary.


----- Original Message -----
From: "Gary Ferrer" <gary at ferrer.yi.org>
To: "Samba-users" <samba at lists.samba.org>
Sent: February 22, 2002 12:07 AM
Subject: [Samba] (no subject)


> Hi people, sorry for the previous HTML stuff, I hope this time it's plain
> text.  Here's my problem:
>
> I'm not sure if this is a samba/solaris problem or a Win98 problem and
I'll
> tell you why.  I have a Solaris 8 server running samba 2.2.2, a
linux/samba
> 2.0.7 box and a couple Win 98 boxes.  When I did a complete restore of my
> Win98 box from tape, I could no longer access the Solaris 8 server via
> network neighborhood.  I can see the Solaris/samba box there with the
other
> Win98 and linux box but when I double click on the Solaris box I get
> \\Sunbox is not accessible.  The computer or share name could not be
found.
> Make sure you typed it in correctly".
> This is strange because from the other Win98 box I can access the Solaris
> samba resource without a problem.  I thought this might be a password
> problem so I changed my samba password but that didn't work either.
> Essentially I cannot access the Solaris/samba resource from just one Win98
> workstation (mine).
>
> Here is a dump of the packets on the sunbox:
>
> (/)-->snoop -d iprb1
> Using device /dev/iprb (promiscuous mode)
>         gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20], Success
>         gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20], Success
>         melody -> 64.12.25.92  TCP D=5190 S=3137     Ack=3620371547
> Seq=399977304 Len=6 Win=9520
>         64.12.25.92 -> melody       TCP D=3137 S=5190     Ack=399977310
> Seq=3620371547 Len=0 Win=16384
>         gary -> 192.168.0.255 NBT NS Query Request for SUNBOX[20], Success
>
> The PC 'gary' cannot access samba resource.  All I see are a couple of
> successful NBT NS query requests but that's all.
>
>
> This is the snoop with the PC 'melody' that can access the Solaris 8 samba
> without a problem:
>
>  melody -> 192.168.0.255 NBT NS Query Request for SUNBOX[20], Success
>       melody -> sunbox       NBT C port=3399
>       sunbox -> melody       NBT R port=3399
>       melody -> sunbox       NBT C port=3399
>       melody -> sunbox       NBT Type=SESSION REQUEST Dest=SUNBOX[20]
> Source=MELODY[0] Length=68
>       sunbox -> melody       NBT R port=3399
>       sunbox -> melody       NBT Type=POSITIVE SESSION RESPONSE Length=0
>       melody -> sunbox       SMB C Code=0x72 Name=SMBnegprot
LastDialect=NT
> LM 0.12 Error=0
>       sunbox -> melody       SMB R Code=0x72 Name=SMBnegprot Dialect#=5
> Error=0
>       melody -> sunbox       SMB C Code=0x73 Name=SMBsesssetupX
> Username=MELODY Error=0
>       sunbox -> melody       NBT R port=3399
>       sunbox -> melody       SMB R Code=0x73 Name=SMBsesssetupX Error=0
>       melody -> sunbox       SMB C Code=0x25 Name=SMBtrans Error=0
>       sunbox -> melody       SMB R Code=0x25 Name=SMBtrans Error=0
>       melody -> sunbox       NBT C port=3399
>
> Quite different.
>
> >From PC 'gary' msdos box, net view sees the Solaris 8 box.
>
> An smbclient -L listing from the linuxbox shows resources available on the
> sunbox:
>
> linuxbox:~$ smbclient -L sunbox
> added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
> Password:
> Anonymous login successful
> Domain=[VANCOUVER] OS=[Unix] Server=[Samba 2.2.2]
>
>         Sharename      Type      Comment
>         ---------      ----      -------
>         root           Disk      Root
>         sun-printer    Printer
>         htdocs         Disk
>         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
>
> linuxbox:~$
>
>
> 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 at ferrer.yi.org
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list