Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-26-2009, 10:23 AM   #1
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
Exclamation Problem with samba and sharing it with windows vista machines

My friends on local LAN use windows Vista. I use Kubuntu 8.10.

I installed samba 3.2.3 on my machine and created the following smb.conf file:

workgroup = WORKGROUP
netbios name = Ravi
security = share

comment = Music
path = /media/sda3/Music
read only = Yes
guest ok = Yes
I configured their local network turned on file sharing on their PCs from "network and sharing center" in control panel.

When I went to Start -> Network I couldn't find my machine listed there. I googled and found that Vista uses NTLM authentication and I need to change Vista's settings to LM and NTLN from secpol.msc .
But this article says different about the newer versions of Samba:

Then, on windows vista pc I click on "map network drive" in my computer and create a drive M: with the folder path as

\\<ip of my linux machine>\data\

But it won't find my share and give an error.

Also I can't see Vista's shares on my computer. Please help me.
Old 03-02-2009, 12:40 PM   #2
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
Try adding this to smb.conf [global]

lanman auth = yes
ntlm auth = yes
client NTLMv2 = yes
client lanman auth = yes
client plaintext = no

This will disable plain text but allow LM, NTLM, and NTLMv2.

Old 03-05-2009, 03:55 AM   #3
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15

smbclient -L <my host's ip>

gives the error
Unknown parameter encountered: "client NTLMv2"
Ignoring unknown parameter "client NTLMv2"
Unknown parameter encountered: "client plaintext"
Ignoring unknown parameter "client plaintext"
Old 03-05-2009, 04:10 AM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Does Vista allow the share level security model? It's Windows 95 technology. You might need "map to guest = Bad User" in global and change your security model to "security = user".

Also make sure that these ports are open:
139/tcp open netbios-ssn
445/tcp open microsoft-ds


samba windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba (sharing with M$ Windows) Problem ?! kubed_lovee Linux - General 12 01-27-2008 12:53 AM
Samba problem with windows Vista Rustylinux Linux - Server 3 09-11-2007 11:27 PM
Samba Share problem with Windows Vista Rustylinux Mandriva 0 08-24-2007 04:27 PM
problem seeing Samba server from Windows machines kenviro Linux - Networking 11 08-18-2003 01:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration