*BSD News Article 67544


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!arclight.uoregon.edu!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!newsfeed.internetmci.com!in2.uu.net!news.mainelink.net!usenet
From: Gary Chrysler <tcg@mainelink.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: FreeBSD nameserver / Samba
Date: Fri, 03 May 1996 09:59:49 -0400
Organization: The Computer Guy
Lines: 71
Message-ID: <318A1155.52FE@mainelink.net>
NNTP-Posting-Host: buxton-1.mainelink.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (Win16; I)

FreeBSD 2.0-RELEASE
Samba 1.9
WFW 3.11

hostnames:		os:
	bsdhost		FreeBSD
	wfwhost		WFW 3.11

Installed Samba.. Worked great using /etc/hosts on all systems..

Then I setup and enabled name_server on bsdhost!  
  Now Samba on bsdhost fails..
	example:
		smbclient -L bsdhost -U%
	Reports: Your server is being unfriendly
	Samba help states that this is an error with loading
	smbd! But it works if name_server is disabled and 
        /etc/hosts is enabled..

  Although 'smbclient -L wfwhost -U%' works.

  I can connect to 'wfwhost' from 'bsdhost'
  but not from     'wfwhost' to   'bsdhost'

I can disable name_server, Setup the hosts files on all systems
and it will then again work!

I have also noticed that it takes forever to get a prompt in either
telnet or ftp.. It say's 'Connected to xxxxxx' ASAP!
Looking at the host that I am conneting to shows it's connected!
But no prompt for a couple of minutes!

Now, My guess would be that the nameserver is not working correctly
Yet I can ping in any direction by name from any host and it works fine!
I can dig nameserver and all reports well!
All this happens almost instantly!!

My primary nameserver db..
@	IN	SOA	bsdhost.mynet.org. root.bsdhost.mynet.org.  (
				960502	; Serial
				3600	; Refresh
				300	; Retry
				3600000	; Expire
				3600 )	; Minimum
		IN	NS	bsdhost.mynet.org.
1		IN	PTR	localhost.mynet.org.
bsdhost		IN	A	129.1.29.4
4.29.1.129	IN	PTR	bsdhost
wfwhost		IN	A	129.1.29.5
5.29.1.129	IN	PTR	wfwhost

I know Bogus IP's are frowned upon! It'll never connect to the outside
like this so please don't warn me! I know!
Is this db properly done??


Help #2
Enabled nfs_server
  Error: cannot open /var/db/mountdtab
I've looked everywhere!! 
All the FAQ's that are included with FreeBSD, Web pages, man pages etc... etc..

But I cannot find any info on mountdtab!
Could sombody point me towards that info??

I'll say Mucho Gracias now for those that reply with usefull comments!

O-yea, PLEASE cc: to email to make darn sure I don't miss it..

Thanks
tcg@mainelink.net