From owner-freebsd-questions@FreeBSD.ORG Sun Jul 29 11:48:07 2007 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 5B0BA16A420 for ; Sun, 29 Jul 2007 11:48:07 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 17DF313C46A for ; Sun, 29 Jul 2007 11:48:07 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1022539wxd for ; Sun, 29 Jul 2007 04:48:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:message-id:in-reply-to:references:date:subject:to:cc:user-agent:mime-version:content-type:content-transfer-encoding:x-priority:importance:from:sender; b=DzU82sdK4ICiKySlfOffe0jfGp91afjswHIimPYN0ebR7wW1V3nm34Z+7B3BKXBbfigZwNgiLm5f5N6NcNE4/7ywx/pot4y03uH+J2w4YiDk1CkjBmz7A1xJGSkA6AX174Wtzp9WkpY9G2MLCihdhuJmfFBEgyoO5s7+I0SQ0C4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:in-reply-to:references:date:subject:to:cc:user-agent:mime-version:content-type:content-transfer-encoding:x-priority:importance:from:sender; b=hV+xH39JycK+GdRw9Fh4y0GGT7Px5p601O2VdJy2VL+j26WZBUrcgnmG3/33WPLwVqoL80MzpeLdIq32PTZqHeTk3LY1bc/Yvo7K8F1M654aZvmADy5xAB38lBe3PIiXyH8SG7oUk7ZdkfH1Z2KSNTX9TXNNCg2PvpRxqUBFs0k= Received: by 10.90.103.2 with SMTP id a2mr1257928agc.1185709686538; Sun, 29 Jul 2007 04:48:06 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.139.14]) by mx.google.com with ESMTPS id 20sm2034339agb.2007.07.29.04.47.57 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Jul 2007 04:48:05 -0700 (PDT) Received: from rakhesh.com (asterix.home.rakhesh.com [192.168.17.23]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 5A75811420; Sun, 29 Jul 2007 15:47:25 +0400 (GST) Received: from 212.72.24.148 (SquirrelMail authenticated user rakhesh) by rakhesh.com with HTTP; Sun, 29 Jul 2007 15:46:53 +0400 (GST) Message-ID: <41312.212.72.24.148.1185709613.squirrel@rakhesh.com> In-Reply-To: <46ABBA47.2070901@mykitchentable.net> References: <46ABBA47.2070901@mykitchentable.net> Date: Sun, 29 Jul 2007 15:46:53 +0400 (GST) To: "Drew Tomlinson" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: FreeBSD Questions Subject: Re: Upgraded Samba and Can't Connect with Win XP 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: Sun, 29 Jul 2007 11:48:07 -0000 On Sun, July 29, 2007 01:51, Drew Tomlinson wrote: > I upgraded samba to 3.0.25a from 3.0.24. Now I can't connect with > Windows XP clients however smbclient both locally and remotely works > just fine. Basically when connecting from Windows XP, I see the > connection in log.smbd and then it's immediately closed. See this snip: > > [2007/07/28 14:36:25, 1] smbd/service.c:make_connection_snum(1033) > bigdaddy (192.168.1.3) connect to service Archive initially as user > (uid=0, gid=1001) (pid 82696) > [2007/07/28 14:36:25, 1] smbd/service.c:close_cnum(1230) > bigdaddy (192.168.1.3) closed connection to service Archive > > The Windows machine was working fine with Samba before the upgrade. Any > ideas what changed? I've read UPDATING and the samba docs but see > nothing that addresses my symptoms. Google hasn't helped either. I recollect having some problems while upgrading from Samba 3.0.24 to 3.0.25. In my case, however, Samba kept crashing and complained about some corrupt .tdb files. Finally I deleted all the files in /var/db/samba and that fixed it for good. One thing that caught my attention in your snippet is the "uid=0" part. Is your Windows user you are trying to connect as mapping to the Samba machine's root user? The first time I installed Samba I had made some mistakes in the config file and so my Windows user was getting mapped to uid 0 thus getting denied by Samba (coz I had defined root as an invalid user for security reasons). Maybe something like that is your problem? Regards, Rakhesh