From owner-freebsd-ports@FreeBSD.ORG Wed Mar 26 10:56:42 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B57F46C for ; Wed, 26 Mar 2014 10:56:42 +0000 (UTC) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8F4B882 for ; Wed, 26 Mar 2014 10:56:41 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id f8so1701026wiw.0 for ; Wed, 26 Mar 2014 03:56:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=rq2SiAddGN2+aw4S7E/I8oHXe5lzmahXyqsB2Jg5mp8=; b=SMU/Jsovn4zfFu1wyPuk8UyK4OGCFrDHWcMER/0CmUeHVBwbrsL75CCSQlechZvkM/ E/BCNotP7oqm2dZ1hGO7V69Nw7Wvn3mbsoRq+Hh8iuqFtwxLhMZzkgbgBMZkVbcJnpLY fpNZc4nvnCvg/u/6xsaIXUaBurGeQZtNZi2rUfljDwOO/96sryURw6LaZiEVHKWJyPhC NGv9OYkyx0hzJ1ZjClLfjNPcJ0CmrQ6U0b9hGTnjN4IWgMo9yyc5BtoRsJ/LTQTeSjBx kJHqKLhLNvS8vdyCr20FvfLg8BbOyyleuc/um9+7j02AHaWC+AF13f5OzZ6EhZwmo+gh kKDA== X-Gm-Message-State: ALoCoQnMpptpsx8pcecNK4PVi0qlbQkYQ3PHDxHgHGfHP3tCg0l3F/x7rQGUpg1JoJLlly9IaOGD X-Received: by 10.180.72.195 with SMTP id f3mr28209452wiv.61.1395831400016; Wed, 26 Mar 2014 03:56:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.152.130 with HTTP; Wed, 26 Mar 2014 03:56:19 -0700 (PDT) In-Reply-To: <5332A10D.8060108@gmail.com> References: <5332A10D.8060108@gmail.com> From: "Timur I. Bakeyev" Date: Wed, 26 Mar 2014 11:56:19 +0100 Message-ID: Subject: Re: samba-4.1.6 FreeBSD 10 cannot read from share. To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 10:56:42 -0000 Hi, Johan! On Wed, Mar 26, 2014 at 10:42 AM, Johan Hendriks wrote: > Hello all. > > I am using samba 3.x.x for a long time to share files across the network > as a domain member server. > All is working like it should. Lately i tried the samba 41 port and > package to do the same job. > However I am not able to get it working. > > Everything seems to work, i can browse the share, i can write to the share > and i can delete files from the share. But as soon as I want to read from > the share windows explorer hangs. wbinfo -u works, id works. I have > rebuild samba41, i installed a new FreeBSD 10 machine and installed > samba41, I also tried the package of samba but the issue remains. Also i > tried to trim down the smb4.conf file. > > The error i get is this (translated from dutch) > There is a problem accessing the file I:\data\filetocopy > Make sure your computer is connected to the network and try again. > > In my logs i do not see a lot of strange things , i do see this.... > > Mar 25 15:47:50 freetest smbd[80071]: [2014/03/25 15:47:50.679688, 0, > pid=80071, effective(0, 10004), real(0, 0)] ../source3/smbd/reply.c:3079( > fake_sendfile) > Mar 25 15:47:50 freetest smbd[80071]: [2014/03/25 15:47:50.680200, 0, > pid=80071, effective(0, 10004), real(0, 0)] ../source3/smbd/smb2_read.c: > 235(smb2_sendfile_send_data) > Mar 25 15:47:50 freetest smbd[80071]: smb2_sendfile_send_data: > fake_sendfile failed for file ubcd526.iso (Socket is not connected). > Terminating > > > Could someone point me in the right direction, i have no idea how to > overcome this. > If i revert back to 3.6.xx all is fine. > > Can't tell you much, but that 'fake_sendfile' looks weird, we do have real one. Can you send be the config.log file? Regards, Timur.