LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack 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
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 11:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration