Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 13:27:37 -0500
From:      Douglas Egan <degan@calcon.net>
To:        freebsd-questions@freebsd.org
Subject:   [Fwd: Re: samba config]
Message-ID:  <3B0D5299.17B990B7@calcon.net>

next in thread | raw e-mail | index | archive | help
I didn't reply-all

-------- Original Message --------
Subject: Re: samba config
Date: Thu, 24 May 2001 12:08:38 -0500
From: Douglas Egan <degan@calcon.net>
To: Blake Swensen <blake@pyramus.com>
References: <4.2.2.20010523211955.00b7b930@pop3.palace.net>
<3B0D3CB7.9169C623@pyramus.com>

One nasty problem I ran into was when doing backups of the unix share.

Windows has the archive bit as one of its file attributes.  Unix doesn't
have this, so by default, Samba maps the the archive bit to the unix
owner
execute bit.

If the mapping is left on, Samba will turn on the user 'x' permission
for
each and every file you access.   Also if you run a backup from your PC
on
the share, this bit gets cleared and user execute permissions go away.
This burned me bad once.

Using 'swat' go to "advanced view" for your share and set the "map
archive"
off if you don't want this default behavior.

Doug Egan

Blake Swensen wrote:

> Rational... no.  Have set it up on FBSD, Linux and Solaris.... not that
> hard, really.
>
> What I have learned is to not over-think the default of the smb.conf
> file. Meaning, don't go crazy trying to set every little option at
> first.  Set up the basics, maybe only one share, and then configure your
> system as needed.
>
> So, just install the bugger... either from the ports collection or the
> package.
>
> Edit the /usr/local/etc/smb.conf  (yours may also end up in
> /usr/local/etc/samba/smb.conf) to add your computer's name and the
> workgroup.  Then check to see if the path to the home directory is
> correct in the example shares.
>
> The best success I have had is to NOT use encrypted passwords.  This
> means that a simple registry edit needs to happen on the windoze boxes.
> The README files will have complete details on the two edits.  (if your
> windoze box is exposed to the internet, then you are asking for trouble
> with this.... but if this is the case, you are asking for trouble anyway
> :) ... Watch out, if you are using a PDC in this context, as that
> changes everything.
>
> I have seen people have sucess with using a Samba box as a PDC, but as
> flakey as windoze networking is, I'll not be the one to give that a
> whirl.  Just keep it simple.
>
> Hope this helps
> Blake
> Walter Betancourt wrote:
>
> > Hello all,
> >
> > Does anyone have a link for a rational setup procedure
> > for  freebsd  samba/win98
> >
> > thanks
> >
> > Walt
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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?3B0D5299.17B990B7>