Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2007 15:46:53 +0400 (GST)
From:      Rakhesh Sasidharan <rakhesh@rakhesh.com>
To:        "Drew Tomlinson" <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Upgraded Samba and Can't Connect with Win XP
Message-ID:  <41312.212.72.24.148.1185709613.squirrel@rakhesh.com>
In-Reply-To: <46ABBA47.2070901@mykitchentable.net>
References:  <46ABBA47.2070901@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> <user name> (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41312.212.72.24.148.1185709613.squirrel>