Upgraded Samba and Can't Connect with Win XP

Rakhesh Sasidharan rakhesh at rakhesh.com
Sun Jul 29 11:48:07 UTC 2007


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



More information about the freebsd-questions mailing list