ubuntu 10.4 samba on windows 7

NoOp glgxg at sbcglobal.net
Wed Jul 21 17:56:15 UTC 2010


On 07/21/2010 10:16 AM, Tom H wrote:
> On Wed, Jul 21, 2010 at 12:20 PM, Ben Edwards <list4me2 at googlemail.com> wrote:
>> I am going to atempt to set up Samba on a Ubuntu Server 10.4 box and connect
>> a Windows 7 box to it. Is this lickly to work/is there anything I should
>> know?
> 
> You have to have "client ntlmv2 auth = yes" in smb.conf for the samba
> authentication an authorization security to be strong enough for
> Windows 7's security policy to allow a connection to the samba server.

I have no such setting in my smb.conf & I connect to/from my Win7 w/o
issue. The only thing that I did was ensure that they are on the same
workgroup. On the Win7 I selected the folder to be shared, right
clicked, selected sharing & selected 'Share'. Password protection is set
& I am prompted for the password when accessing the Win7 share.

Now the intersting part is that I do not get prompted for a password
going from Win7 to the Ubuntu shared folder, even with all guest
settings turned off (Samba guest is disabled).

> 
> Will you have any other win clients connecting? winvista will be ok
> with that setting, winxp and older win versions will have to have
> their LMCompatibilityLevel changed.
> 
> If you google samba and win7, you will find many/far more people
> advocating weakening the security level of win7 and winvista so as not
> to require nllmv2 on a samba server. Bad advice AFAIC.
> 






More information about the ubuntu-users mailing list