Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2000 22:13:53 +0100
From:      "Mark Rowlands" <mark.rowlands@minmail.net>
To:        <freebsd-questions@freebsd.org>
Subject:   FW: Samba config
Message-ID:  <000301bf8230$b7f82fc0$0200a8c0@Mar>

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

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of 
> Matthew Jonkman
> Sent: Monday, February 21, 2000 9:45 PM
> To: freebsd-questions@FreeBSD.ORG
> Subject: Samba config
> 
> 
> I have a very frustrating samba problem. I've followed every 
> handbook and
> man page to the letter.
> However the dumb thing won't work.
> 
> I have 3.3 running as a firewall, using apache and popper. It 
> has 2 nics of
> course, a public IP and the internal net is 10.10.10.
> 
> I installed the samba port today from a port tree that was 
> cvsup'd this
> morning.
> 
> I start samba from inetd.conf with the default lines included.
> 
> Windows machines see the share in network neighborhood but 
> they say "Machine
> is not accessible. The server did not receive your request. 
> Please try again
> later."
> 
> When I try
> 
> smbclient -L <machine name>
> 
> I get
> 
> added interface..... (correct info)
> added interface...... (correct outside interface info)
> session request to <machine name> failed (Called name not present)
> session request to *SMBSERVER failed (Called name not present)
> 
> And back to a prompt.
> 
> I am quite frustrated. Samba is supposed to be pretty simple. 
> I guess that
> makes me below simple minded. :)
> 
> Anyway, here's my smb.conf file. If someone could pick 
> through it and let me
> know what I'm missing I would greatly appreciate it.
> By the way, testparm shows it all good.
> 
> # Global parameters
> [global]
> 	workgroup = SHARP-MITCHELL
> 	netbios name = MAIL
> 	hosts deny = ALL
> 	hosts allow = 10.10.10.1/254 127.
> 	security = SHARE
> 	encrypt passwords = Yes
> 	update encrypted = Yes
> 	lock dir = /usr/local/samba/var/locks
> 	guest account = guest
> 
> [homes]
> 	comment = Home Directories
> 	read only = No
> 	create mask = 0750
> 	browseable = No
> 
> [printers]
> 	comment = All Printers
> 	path = /tmp
> 	create mask = 0700
> 	print ok = Yes
> 	browseable = No
> 
> [public]
> 	path = /usr/local/www/data/calendar
> 	read only = No
> 	guest ok = Yes
> 
> 
> ===========================
> Matthew Jonkman
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

No you are not simpleminded but neother is Samba dumb!
Have you really tried everything?

http://www.oreilly.com/catalog/samba/chapter/book/ch09_02.html

If you would rather jump to step 9.2.5.2 then I would begin by 
simplifying your smb.conf to the most basic possible like :

[global]
	workgroup = SIMPLE 
	bind interfaces only = YES
	interfaces = yourip 127.0.0.1
[test] 
	comment = Test share
	path = /somepath/test
	read only = no
	guest ok = yes


and check that from a workstation on the local subnet first.

good luck




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301bf8230$b7f82fc0$0200a8c0>