A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Networking and the Internet with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to connect from WinXP to a Linux Samba Server?



 
 
Thread Tools Display Modes
  #1  
Old November 16th 08, 09:21 AM posted to microsoft.public.windowsxp.network_web,microsoft.public.windowsxp.help_and_support,comp.os.ms-windows.networking.misc
Ken Philips
external usenet poster
 
Posts: 33
Default How to connect from WinXP to a Linux Samba Server?

I want to access a shared directory on a Linux system which runs Samba.

How do I access from WinXP this remote shared directory (say \usr\local\home\log) ?
login and password is available.

Is administration work on the remote (Linux) site necessary?

Ken

Ads
  #2  
Old November 16th 08, 09:45 AM posted to microsoft.public.windowsxp.network_web
Swifty
external usenet poster
 
Posts: 476
Default How to connect from WinXP to a Linux Samba Server?

Ken Philips wrote:
How do I access from WinXP this remote shared directory (say \usr\local\home\log) ?
login and password is available.


I use:

net use l: \\server.ip.name\alias /USER:swifty password

Is administration work on the remote (Linux) site necessary?


In my case, yes, on two counts:

1. The creation of the alias, although you can probably use a path.
2. "net use" will send your password effectively in clear over the
network. So my helpful admin created me a userid/password pair for use
with the specific alias. My ID/password can still be stolen, but the
thief gets access only to this alias, and not my logon details.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
  #3  
Old November 21st 08, 07:00 AM posted to microsoft.public.windowsxp.network_web
Kurt
external usenet poster
 
Posts: 2
Default How to connect from WinXP to a Linux Samba Server?

To connect to a Samba server from a Windows box, you first have to
cofigure Samba to share something. If you want to access
/usr/local/home/log, you need to "share" it by editing your smb.conf
file (usually /etc/samba/smb.conf), and make sure file permissions are
set appropriately using chmod/chown/chgrp. Most Samba installs have a
sample smb.conf file so that you can just copy examples and modify them
to suit your own particulars. Then you create Samba users and map them
to a Linux account, either by editing the smbusers file or using a GUI
Samba config tool like Redhat's "system-config-samba". You can then set
a samba password using the smbpasswd command. The samba user and
password should match the username and password you use to log into your
Windows computer to avoid having to type them in whenever you need to
access a samba share. You assign "share" permissions in the smb.conf
file to the Samba (Windows) user, and file permissions to the
corresponding Linux user.

Once you have that configured (assuming you've also configured your
Linux firewall to permit Windows file sharing) you connect from a
Windows box to a Samba share in exactly the same way you connect to a
real Windows share, i.e. \\linux-server\sharename. Or you can map a drive.

Easy, no?

Kurt


Ken Philips wrote:
I want to access a shared directory on a Linux system which runs Samba.

How do I access from WinXP this remote shared directory (say \usr\local\home\log) ?
login and password is available.

Is administration work on the remote (Linux) site necessary?

Ken

 




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 Off
HTML code is Off






All times are GMT +1. The time now is 11:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.