From owner-freebsd-questions@FreeBSD.ORG Mon Oct 20 19:56:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38D791065675 for ; Mon, 20 Oct 2008 19:56:37 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from msa.vap.navalradio.cl (smtp.vap.navalradio.cl [201.236.67.147]) by mx1.freebsd.org (Postfix) with ESMTP id 0EF288FC18 for ; Mon, 20 Oct 2008 19:56:35 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from [172.18.64.125] ([172.18.64.125]) (authenticated bits=0) by msa.vap.navalradio.cl (8.14.2/8.14.2) with ESMTP id m9KDWpCI050953; Mon, 20 Oct 2008 13:32:51 GMT (envelope-from mikhailg@webanoide.org) Message-ID: <48FC887D.90400@webanoide.org> Date: Mon, 20 Oct 2008 10:32:45 -0300 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Valentin Bud References: <48F8A258.2060407@esiee.fr> <20081017174145.L10784@wojtek.tensor.gdynia.pl> <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> <48FC3F66.9080507@esiee.fr> <139b44430810200133o1241cf4w997fddbc4dd7492d@mail.gmail.com> In-Reply-To: <139b44430810200133o1241cf4w997fddbc4dd7492d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Frank Bonnet , freebsd-questions@freebsd.org, charlie@cpsoftware.com Subject: Re: Installing Samba : FreeBSD Vs Linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 19:56:37 -0000 Valentin Bud wrote: > hello list, > a little story about samba and FreeBSD. > I had to make a file server for a company that uses a program for > accounting. that software works with lots of files to do the job. > > the software admin told me that the permissions should be very open on the > directories and files > so i made them 0777. the software worked like a charm for about 2 months but > after that > at some point the client couldn't access the files on the samba server. > The files were there with the correct permissions but the software refused > to access them with > an error that they don't exist. I've tried to debug samba but couldn't find [...] Here's another story. Our accounting packages also dump their files, databases and settings onto network drives. This is what we tend to do: 1.- Create a dedicated network drive for every software package with its own letter. Let's say package XYZ gets letter Y:. All users connecting to Samba must load network drive for XYZ as Y:. Otherwise some client instances may complain that the database was installed on Y: but there's nothing because it is actually somewhere else. 2.- Create user xyz and group xyz. Then map the XYZ network drive as xyz:xyz. By this, we avoid permission problems. 3.- Whenever we call tech support, we tell them that our network drives are located on a Windows 2003 machine. This saves us unnecessary headaches and warranty issues. We've been doing this for years and it works like a charm. Regards, Mikhail. -- Mikhail Goriachev Webanoide