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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|