From owner-freebsd-questions Mon May 14 13: 1:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.total.net (rossine.total.net [154.11.89.167]) by hub.freebsd.org (Postfix) with SMTP id 0335237B424 for ; Mon, 14 May 2001 13:01:19 -0700 (PDT) (envelope-from cckok00@hotmail.com) Received: (qmail 29584 invoked from network); 14 May 2001 20:01:17 -0000 Received: from unknown (HELO hotmail.com) (154.20.97.11) by smtp.total.net with SMTP; 14 May 2001 20:01:17 -0000 Message-ID: <3B0039A7.6207EED2@hotmail.com> Date: Mon, 14 May 2001 16:01:43 -0400 From: Peter Kok X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en,zh-TW,zh-CN MIME-Version: 1.0 To: Gabriel Ambuehl Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: apache and samba sharing same directory??? References: <3B0036E9.E17293DF@hotmail.com> <1151575989432.20010514215355@buz.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Gabriel Ambuehl Many tks for your reply. Do you have any backup problem? It seems to have many files to backup eg: backup samba user, samba password, apache's user, apache password In addition, where the samba and apache user and password location? thank you very much regards Peter Gabriel Ambuehl wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > Hello Peter, > > Monday, May 14, 2001, 9:50:01 PM, you wrote: > > > Does anyone have experience about apache and samba sharing the same > > directory? > > Is there any running conflict? or Does it have potential problem eg: > > security > > If you get the permission right (i.e. user can only modify what you > want them to modify) and the access control as well, there shouldn't > be a security risk. > > > samba, smb.conf > > [www] > > comment = www shareing > > path = /usr/local/apache/htdocs/ > > valid users = > > force group = > > read only = No > > create mask = 0770 > > directory mask = 0760 > > guest ok = no > > and samba is using smbpasswd control - access and modify by internal > > users > > > My purpose: For set up intranet server - access from external and > > internal users. > > A pretty similar setup works just fine for our intranet. > > Best regards, > Gabriel > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.0.2i > > iQEVAwUBOwApysZa2WpymlDxAQGgDgf7BZ+3cIeq3Iompx/fEKsmfn5KMQu/RR6u > wFhFWo/nGN27bYYoREwXQMn7RIwL7fhQKS1OAjZn+/k+iIQ1xpHfpCc9pTX0LpbS > 3L1WjkO335KDO/kp1QTq7cBavj0UCbrTyClsDraObEs1MsPffXoS2CUJEVcRQRKv > 6iVBcl3RrC5/60xiXajb1AVmfDnYPAM3LIS8jDDSYdgZlH3sEP+8r9/BL/1ktCjr > dvpMfBBtP7ZX2nQ+GOTK7sqPafuqG9eV+HCf1/8nDlfikGYzt3gsvXZBr1H4wYKI > TfRyy2TSIhapUZZQmTj9wDRRq/O6S7TeJNQ048FCVvc0HhE8i2IioA== > =ADTJ > -----END PGP SIGNATURE----- > > 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