Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 16:40:57 -0500
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD as Samba Server and Windows as Client
Message-ID:  <516DC569.2030409@gmail.com>
In-Reply-To: <CAOgwaMvTQm-_hE0Dbq0GYXa4rD8WaT8WBY63WBwjSzCkoz5Rog@mail.gmail.com>
References:  <CAOgwaMvTQm-_hE0Dbq0GYXa4rD8WaT8WBY63WBwjSzCkoz5Rog@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/16/2013 2:20 PM, Mehmet Erol Sanliturk wrote:
> Dear All ,
>
> I could be able to connect a FreeBSD 9.1 amd64 computer as client to a
> Windows XP ( 32 bits ) by
> using information supplied by the mail
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2013-April/250500.html
>
> and I sent a mail
>
> http://lists.freebsd.org/pipermail/freebsd-doc/2013-April/021857.html
>
> to share my findings .
>
>
> Previously , I tried to make a FreeBSD 9.1 amd64 as Samba server and
> connect a Windows XP as a client computer .
>
> By using The FreeBSD Handbook , many documents from www.samba.org and
> Internet ,
> I could not be able to access to the FreeBSD Samba server from Windows XP :
>
> Continuously I have received "Access denied" error message in Windows XP
> although in the server the related directory and files have mode
> rwx-rwx-rwx .
>
> The same message is produced even for Linux Samba Server .
>
> The examples given in the documents are partial statements without actually
> used
> files / statements in such a setting , and sometimes inconsistent or
> contradictory
> with each other because they are mostly written manually .
>
>
> If a working , applicable set of files / statements are supplied , it will
> be appreciated very much .
>
> After a successful implementation , I will send an e-mail about this set up
> as an example for
> the FreeBSD Handbook to share our information with other people in need .
>
>
> Thank you very much .
>
> Mehmet Erol Sanliturk

My guess is your firewall.  Samba uses tcp and udp, you have to allow 
udp on ports 137 and 138.  Turn off your firewall and try again.  It's 
frustrated me a couple times when I've first set it up.  Either that, or 
add `guest ok = Yes` lines to the shares.  If you have a second 
non-windows computer available, I'd try with that.  Windows makes some 
assumptions about what to remember, and sort of assumes the server's 
working properly from the beginning.  Using another computer will make 
testing faster.



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