A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Sharing files between Ubuntu and Vista



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 6th 09, 05:13 PM posted to alt.os.linux.ubuntu,microsoft.public.windows.vista.networking_sharing
Gordon[_8_]
external usenet poster
 
Posts: 100
Default Sharing files between Ubuntu and Vista

I am trying to be able to share files and folders between two machines -
one running Vista Home Premium SP1 and the other running Ubuntu 8.04
Both machines can see each other but I can't seem to get the sharing
right either way!
Both machines have the same User set up with the same password.
The Vista machine has the built-in Vista firewall only, the Ubuntu has
no firewall set as AFAIK.
I've added the directory I want to share on Ubuntu to Samba, and I've
added the User to the Public folder in Vista but no joy.
Any suggestions on what I should do next?

--
Registered Linux User no 240308
gordonATgbpcomputingDOTcoDOTuk
to email me remove the obvious!
  #2 (permalink)  
Old March 6th 09, 05:31 PM posted to alt.os.linux.ubuntu,microsoft.public.windows.vista.networking_sharing
Malke[_2_]
external usenet poster
 
Posts: 4,230
Default Sharing files between Ubuntu and Vista

Gordon wrote:

I am trying to be able to share files and folders between two machines -
one running Vista Home Premium SP1 and the other running Ubuntu 8.04
Both machines can see each other but I can't seem to get the sharing
right either way!
Both machines have the same User set up with the same password.
The Vista machine has the built-in Vista firewall only, the Ubuntu has
no firewall set as AFAIK.
I've added the directory I want to share on Ubuntu to Samba, and I've
added the User to the Public folder in Vista but no joy.
Any suggestions on what I should do next?

Part 1 - Samba setup:

1. On Windows boxen, make sure all accounts are properly named (no damned
spaces) and there are no null passwords. Configure any firewalls to allow
lan traffic.

2. On Linux, create identical user account/passwords with your distro's
configuration method.

3. Make sure you've installed Samba server/client with your distro's
configuration method.

4. Configure run levels so that the nmb and smb daemons start at bootup.

5. Now add your users to Samba. Make these match the ones on Windows. I
think the easiest way is from the console, so open one, su to root, and
type:
smbpasswd -a username [enter]
(enter password)
(enter password again)

(IIRC, Ubuntu uses sudo and your user password instead of grownup Linux
handling of root. You'll need to check.)

6. Go to your distro's configuration method and set your Samba server and
client Identity to match your Windows Workgroup name.

7. I use KDE, so if you use Gnome or another window manager you'll need to
figure this next bit out yourself. Open up the Control Center and go to
Internet/Network and then Samba. Click on the Administrator Mode (enter
root password). I use User security level. Check to make sure Shares (these
are for the Linux box of course) are the way you want them. Apply and close
that part.

8. Click on File Sharing and enable Administrator Mode. Check "Enable local
network file sharing". I have mine set on "Advanced sharing". Check the box
for "Use Samba" rather than NFS.

Part 2 - Fix Vista to work with Samba:

Vista Business/Ultimate only -
Start OrbSearch boxtype: secpol.msc
When secpol.msc appears in Results above, right-click it and "run as
administrator".

Click on "Local Policies" -- "Security Options"

Navigate to the policy "Network Security: LAN Manager authentication level"
and double-click it to get its Properties. By default Windows Vista sets
the policy to "NTVLM2 responses only". Use the drop-down arrow to change
this to "LM and NTLM ? use NTLMV2 session security if negotiated".

In Vista Home Premium, you won't have this tool so per MVP Steve Winograd,
do:

Start OrbSearch boxtype: regedit
When regedit appears in the Results above, right-click it and "run as
administrator"

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa

1. If it doesn't already exist, create a DWORD value named
LmCompatibilityLevel
2. Set the value to 1 and reboot.

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
http://www.elephantboycomputers.com/#FAQ

  #3 (permalink)  
Old March 6th 09, 06:57 PM posted to alt.os.linux.ubuntu,microsoft.public.windows.vista.networking_sharing
Moog[_2_]
external usenet poster
 
Posts: 11
Default Sharing files between Ubuntu and Vista

Gordon illuminated alt.os.linux.ubuntu by typing:
I am trying to be able to share files and folders between two machines -
one running Vista Home Premium SP1 and the other running Ubuntu 8.04
Both machines can see each other but I can't seem to get the sharing
right either way!
Both machines have the same User set up with the same password.
The Vista machine has the built-in Vista firewall only, the Ubuntu has
no firewall set as AFAIK.
I've added the directory I want to share on Ubuntu to Samba, and I've
added the User to the Public folder in Vista but no joy.
Any suggestions on what I should do next?


Easy setup

1) Install samba and smbtools
2) Edit the configuration file from a terminal using the command
$ gksudo gedit /etc/samba/smb.conf
3) Look for the lines
# Change this to the workgroup/NT-domain name your Samba server will
# part of
workgroup = WORKGROUP

Replace "Workgroup" with the domain of the windows machine (This is
usually MS_HOME, but check on your windows box by right clicking the
"My computer" Icon and selecting properties)
4) Save the file
5) Restart samba by issueing the following command in a terminal
$ sudo /etc/init.d/samba restart (NOTE: You may need to restart linux
- this will depend on your configuration)

That's it.

You should then be able to share folders from Ubuntu by right clicking
the folder and selecting "sharing options" and setting your required
options.

You should be able to view all you windows shares from
Places - Network - Windows Networks - "YOUR DOMAIN")

If you need anything more complex due to not having a firewalled
Router then please ask.

--
So I met the bloke who invented crosswords today. I can't remember his
name, it's P something T something R.
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.