From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 02:34:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ECD92F45 for ; Wed, 17 Apr 2013 02:34:41 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [IPv6:2607:f8b0:400c:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id ADA863DA for ; Wed, 17 Apr 2013 02:34:41 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id p12so924104vbe.1 for ; Tue, 16 Apr 2013 19:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bZCRCpUEMymnDOfyn4332BYpkHf1PwHdGIBlOBRYAnc=; b=lu+lgDTheGIYbOvhqaansagSAmi1/s18VVri5nI4ZNhQlGMECubyqeFp1/VBMoWt68 GA5cX9nC+MfjwD6Qe6I/ahSgxPX71tx1ms2q7WTbYN6GQD5WvNvlrBlskClO37Jofkma gpkyiaUl5jt1rScDsN4MqO8dPzjRl5E+AWwwwCrd+OJRDzgjS4Ke2p/zxdb6NkoYXVGr Heae6lCtRdJK9fLsZ9pSuFapRnxZ6ExBmDmN6cvmcTwy1bNsOfhSDwucUn7dicng81T1 1pa3woDW7Umse40tDW1arpNsKg52C/fsb2Ry1JG3ThDceIQPMBTxlHyXn1ml9GSxv1Re Zt6A== MIME-Version: 1.0 X-Received: by 10.52.249.105 with SMTP id yt9mr2954739vdc.86.1366166081190; Tue, 16 Apr 2013 19:34:41 -0700 (PDT) Received: by 10.58.132.203 with HTTP; Tue, 16 Apr 2013 19:34:41 -0700 (PDT) In-Reply-To: <516DC569.2030409@gmail.com> References: <516DC569.2030409@gmail.com> Date: Tue, 16 Apr 2013 19:34:41 -0700 Message-ID: Subject: Re: FreeBSD as Samba Server and Windows as Client From: Mehmet Erol Sanliturk To: Joshua Isom Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 02:34:42 -0000 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