Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 1996 16:54:40 -0500 (EST)
From:      John Brann <jbrann@panix.com>
To:        questions@freebsd.org
Subject:   Samba setup help required
Message-ID:  <199601202154.QAA27290@jbrann.dialup.access.net>

next in thread | raw e-mail | index | archive | help
Hi,

(Please note I am also posting this to comp.protocols.smb)

I have 2 PC's - one is a mini-tower running FreeBSD and the other is a 
notebook which runs Win95 (work) and FreeBSD (play).  Until I changed my 
notebook's OS to Win95 I had an NFS client on it and could mount drives and
print happily.  I've lost that facility now and would like to use Samba 
instead.

The situation is slightly complex since I only have 1 real IP address.  This
I use for a PPP connection to my ISP.  The Ethernet port on my deskside
machine has address 10.0.0.2 and on the laptop 10.0.0.3.  The deskside machine
does NOT run DNS.  '/etc/host.conf' tells the machine to check my hosts
file first, so resolution of my bogus IP addresses never hits the 'Net.

I have built and installed the samba port without difficulty.  There is no 
sample smb.conf, but I have created one, following the man page.  Here it is

[global]
hosts allow = 10.*.*.*
browseable = yes
auto services = jb
hosts equiv = /etc/hosts.equiv


[jb]
path = /home/jbrann/nfs
writable = true
browseable = yes

'testparm' tells me it is OK.  Here is the brief output:

bash$ /usr/local/samba/bin/testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[global]"
Processing section "[jb]"
Loaded services file OK.

The basic networking on the laptop is OK.  TCP/IP runs fine (I can run my
X-emulator).  When starting up Win95 the network login dialogue appears,
as expected.  I enter my user name on the FreeBSD machine, the appropriate 
password and it's hostname as the 'Domain'.  The result is a failure - 
Win95 says 'No domain server was available to validate your password'.

Looking at the log produced by 'nmbd' I see the following messages:

01/20/96 16:20:29 netbios nameserver version 1.9.14 started
Copyright Andrew Tridgell 1994
Using IP 10.0.0.2  broadcast 10.255.255.255  netmask 255.0.0.0
bind succeeded on port 137
bind succeeded on port 138
01/20/96 16:20:30 Failed to find a master browser for * using 10.255.255.255

which look OK, up to the last line.

If I try to mount a network drive through the Win95 file manager - using
'\\10.0.0.2\home\jbrann\nfs' as the Path, I get 'The computer or sharename
cannot be found'

I'm stumped.  I've tried a number of variations on the commands above, 
with the same results each time.  Sorry to be so long-winded, but I've tried
to give a fairly full picture of my problem.

TIA

John
-- 
Difficult conversations with great figures of history:
3. Winston Churchill:
	"Excuse me, this is the no-smoking section."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601202154.QAA27290>