Samba and Windows 7
Posted
by
John Gaughan
on Super User
See other posts from Super User
or by John Gaughan
Published on 2011-11-12T01:52:47Z
Indexed on
2011/11/12
1:57 UTC
Read the original article
Hit count: 465
I built a new computer with the intention of it being primarily a home file server. Here is my setup:
- one desktop with Windows 7 64 HP
- one laptop with Windows 7 64 HP
- one desktop with Kubuntu 11.10 (server)
- The two desktops use static IPs, and I have hostnames mapped in the HOSTS files on all three systems.
- I have the same username/password combo on all three systems.
I have been trying for a while now to set up Samba so the Windows 7 systems can see and use it. Even if I can get the server to show up, Windows is unable to log in.
One of the first things I did was to enable LMv2 authentication, which this version of Samba (3.5.11) supports. The workgroup is set correctly. I can normally see the server, but cannot authenticate. Windows homegroup is turned off. Pinging between machines works fine, and the two Windows 7 systems work together flawlessly.
What I am trying to do is set up Samba to use peer to peer networking using NTLM security and user-mode authentication. According to the documentation this is possible, but there are no examples that I could find. In all the googling I have done, I see a lot of people asking how to set this up but it either works for someone else and not for me (no idea what I'm missing), or it doesn't work.
Has anyone gotten this to work? Is there a place I could download a smb.conf that is set up to work in this environment?
© Super User or respective owner