LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2009, 09:23 AM   #1
ravi.xolve
Member
 
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:

Code:
[global]
workgroup = WORKGROUP
netbios name = Ravi
security = share

[data]
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: http://blogs.zdnet.com/Bott/?p=236

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, 11:40 AM   #2
carlmarshall
Member
 
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.

Carl.
 
Old 03-05-2009, 02:55 AM   #3
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Exclamation

smbclient -L <my host's ip>

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

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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
 
  


Reply

Tags
samba windows



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-26-2008 11:53 PM
Samba problem with windows Vista Rustylinux Linux - Server 3 09-11-2007 10:27 PM
Samba Share problem with Windows Vista Rustylinux Mandriva 0 08-24-2007 03:27 PM
problem seeing Samba server from Windows machines kenviro Linux - Networking 11 08-18-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:57 AM.

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