FreeBSD as Samba Server and Windows as Client

2013-04-16 Thread Beeblebrox
There are just so many things that could go wrong on a samba setup that it is
beyond funny in my opinion. You have authentication method (kerberos, pam,
txt), ports, winbind and dns just to list a few.

I suggest you start samba in debug mode and enable full logging. The
documentation from samba its self is probably going to be much more
comprehensive: http://www.samba.org/samba/docs/man/manpages-3/smbd.8.html

I would also try to connect with various clients like a linux, XP, vista or
win7. These connection attempts should generate comprehensive logs when
samba is running in debug mode. You can then start to get some idea why the
connection is being refused by reading through the generated logs.

Also, several how-to's already exist on the FreeBSD forums - as an example:
http://forums.freebsd.org/showthread.php?t=36137



-
10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & 
xorg.devel

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/FreeBSD-as-Samba-Server-and-Windows-as-Client-tp5804306p5804418.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as Samba Server and Windows as Client

2013-04-16 Thread Mehmet Erol Sanliturk
On Tue, Apr 16, 2013 at 2:40 PM, Joshua Isom  wrote:

> 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.
>


In Windows , Firewall is OFF .
There is no any other firewall in the network .
>From a Linux computer , it is possible to connect .
Guest is allowed .

In Windows , in its menus , during my settings , I could not see any
mention of "Ports" .
Therefore , it is necessary to know how to set such ports .

It seems that , some values are not set in Windows .

In documents , sometimes their writers , are not mentioning some points .
These points may be not important for them but may be critical for a newly
starter
person .

Documentation write-ups are full of such missing "expertise" information .

Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as Samba Server and Windows as Client

2013-04-16 Thread Joshua Isom

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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as Samba Server and Windows as Client

2013-04-16 Thread Mehmet Erol Sanliturk
On Tue, Apr 16, 2013 at 12:34 PM, Richard Sharpe <
realrichardsha...@gmail.com> wrote:

> On Tue, Apr 16, 2013 at 12: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 .
>
> All I can tell you is that it is definitely possible using FreeBSD.
> The FreeNAS folks do exactly that as does the company I work for.
>
> I do not have the time to spend helping you get it going and I note
> that you do not tell us which version of Samba you are using, but it
> does work.
>
> Have you tried setting the permissions correctly on the directory you
> are sharing? Do you know if it is getting Access Denied trying to
> access the Share or trying to create a file.
>
> --
> Regards,
> Richard Sharpe
> (何以解憂?唯有杜康。--曹操)
>


Samba Version : FreeBSD 9.1 amd64 package .

There is no fault in FreeBSD because from a Linux computer , it is possible
to access the Samba service .

I tried FreeNAS , but installation did not work ( It was my first install ,
therefore , it is very likely that I made some mistakes ) .

Windows is not able to see directory contents of Samba server . When
directory is not visible , it is not possible to write into it .


Perhaps in the Windows XP , some settings may be wrong or missing . For
that reason , I wanted to have a COMPLETE settings applied , working
example.


There are the following pages :

http://www.samba.org/samba/docs/using_samba/toc.html
Using Samba, 2nd Edition

http://www.samba.org/samba/docs/using_samba/ch02.html
Chapter 2. Installing Samba on a Unix System


http://www.samba.org/samba/docs/using_samba/ch03.html
Chapter 3. Configuring Windows Clients

http://www.samba.org/samba/docs/using_samba/ch05.html
Chapter 5. Unix Clients


Some Linux distributions have very well designed graphical Samba
configuration applications .

No one of them is working in the Windows side .


My opinion is that , Samba installation is correct , but Windows side has
problem which
I do not know how to isolate it and to correct it .


Only a working complete set up may be useful , because all of the examples
are partial
explanatory demonstrations .


Thank you very much .


Mehmet Erol Sanliturk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: FreeBSD as Samba Server and Windows as Client

2013-04-16 Thread Richard Sharpe
On Tue, Apr 16, 2013 at 12: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 .

All I can tell you is that it is definitely possible using FreeBSD.
The FreeNAS folks do exactly that as does the company I work for.

I do not have the time to spend helping you get it going and I note
that you do not tell us which version of Samba you are using, but it
does work.

Have you tried setting the permissions correctly on the directory you
are sharing? Do you know if it is getting Access Denied trying to
access the Share or trying to create a file.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

FreeBSD as Samba Server and Windows as Client

2013-04-16 Thread Mehmet Erol Sanliturk
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"