[aclug-L] Re: Samba problems
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> > However, I cannot see the server when I use:
> >
> > C:\> net view /workstation:music
> >
> > The latter of these commands DOES show the workstation (nirvana). I have
> > told the Samba server to act as a WINS server (as suggested by the
> > BROWSING.txt document in /usr/doc/samba-doc). I have verified that both
> > machines are in the same workgroup.
>
> That works? On my machine it says to use: net view
> /workgroup:<workgroupname>
Yes, that's what I did. MUSIC is the name of the workgroup.
> > What am I missing?
> >
> > I got this to work once before... long ago... and with only one Windows 95
> > machine (other '95 machines on the network still couldn't see the
> > server in
> > the workgroup).
> >
> > I hope I'm missing something obvious.
> >
> >
>
> How do you have this portion of your smb.conf set?
>
> ; Please read BROWSING.txt and set the next four parameters according
> ; to your network setup. There is no valid default so they are
> commented
> ; out.
> os level = 3
> domain master = yes
> ; local master = no
> preferred master = yes
I had:
os level = 65
domain master = yes
local master = yes
preferred master = yes
As per the BROWSING.txt document (which I have not yet read THUROUGHLY).
(Windows "networking" concepts really have me confused).
> Also your directorys will have to be set as browseable before you will see
> them in network neigborhood. However, if you know the server and share name
> you can still map them to drive letters even when they don't show up.
Well, I can view the directories using "net view \\zeppelin". It just seems
as though the Windows machine doesn't think zeppelin is in its workgroup.
How do I change that?
I also just created an /etc/lmhosts file. Is that the correct place for
that file?
And for some more background info, here's my network setup:
ZEPPELIN is the Samba server (running Debian Linux)
NIRVANA is the Windows 95 (OSR2) Workstation/client
MUSIC is the name of the workgroup
I'll also be adding STYX (a Win98 machine) as a client once I get this
thing working properly between NIRVANA and ZEPPELIN
On the Windows 95 machine (NIRVANA), Network Neighborhood shows:
[] Entire Network
[] Nirvana
Double-clicking on Entire Network shows:
[] Music
Double-clicking on Music shows:
[] Nirvana
Nothing very useful there. Obviously, Zeppelin doesn't show up there at
all. When I go to a DOS prompt, I get the following:
C:\>net view \\zeppelin
Shared resources at \\ZEPPELIN
Sharename Type Comment
----------------------------------------------------------------------------
bj10e Print Canon BJ-10e
jonhall Disk Home Directories
The command was completed successfully
C:\>net view /workgroup:music
Servers available in workgroup MUSIC.
Server name Remark
----------------------------------------------------------------------------
\\NIRVANA Family Workstation
The command was completed successfully.
C:\>
NOTE: There is a long pause between my entering "net view
\\zeppelin" and the appearance of the results. When I do a "net
view /workgroup:music" it displays almost immediately.
I have a feeling that Windows is caching the contents of the workgroup. Is
there some way to force a reload/requery? Doing a 'refresh' in the Network
neighborhood doesn't seem to do it.
Looking at /var/log/smb, when I do a "net view \\zeppelin" on the Windows
machine, I see the following log entries:
[1999/11/07 15:22:59, 1] smbd/server.c:main(628)
smbd version 2.0.5a started.
Copyright Andrew Tridgell 1992-1998
[1999/11/07 15:22:59, 0] param/loadparm.c:lp_do_parameter(2012)
Global parameter interfaces found in service section!
[1999/11/07 15:22:59, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
Then in /var/log/nmb I see the following:
[1999/11/07 15:33:04, 1] nmbd/nmbd.c:main(684)
Netbios nameserver version 2.0.5a started.
Copyright Andrew Tridgell 1994-1998
[1999/11/07 15:33:04, 0] lib/util_sock.c:open_socket_in(886)
bind failed on port 137 socket_addr=206.53.106.207 (Cannot assign
requested ad
dress)
[1999/11/07 15:33:04, 0] nmbd/nmbd_subnetdb.c:make_subnet(135)
nmbd_subnetdb:make_subnet()
Failed to open nmb socket on interface 206.53.106.207 for port 137. Error
was
Cannot assign requested address
[1999/11/07 15:33:04, 0] nmbd/nmbd.c:main(742)
ERROR: Failed when creating subnet lists. Exiting.
That appears about 40 times in 2 seconds time, then stops. I'm not entirely
sure how that corresponds to what I'm doing on the Windows machine.
I have Zeppelin set as the WINS server on the Windows machine.
Any ideas what I'm doing wrong or where else to look for clues?
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jonathan Hall * jonhall@xxxxxxxxxxxx * PGP public key available
Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
http://www.futureks.net * PGP Key ID: FE 00 FD 51
-= Running Debian GNU/Linux 2.0, kernel 2.0.36 =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|