RE: [SLUG] Using SMB

From: Steven Buehler (swbuehler@yahoo.com)
Date: Mon Jul 07 2003 - 09:09:42 EDT


On Mon, 2003-07-07 at 01:08, William Lindfors wrote:
> Someone had suggested I install/use Swat to setup the linux to MS
> shares. I used the where is swat command so I know I have it on the RH9
> Box. How do I setup a share so that I can map my Win XP box to the RH9
> Box? Want to run MS Backup to the RH9 BOX. Tried using l: \\IP
> Address\root but that did not work. Not sure what the share would be.
> Any ideas.

Swat is a web-based service. If you run 'nmap localhost' you should be
able to find out which port it's running on (I can't remember off the
top of my head), and then use your browser to point to
'http://localhost: port>'. You can then use the browser to set up
your Linux box' identity on the network and create any mounts for Samba
(SMB) shares located on your Windows PCs. The web service does have
documentation on the web server itself if you should get stuck.

The other alternative is using Webmin (which is standard on most
distros, look for the 'webmin' RPM, or if you're using Mandrake you can
just 'su' and 'urpmi webmin'). Once installed, you can web to
'
http://localhost:10000', click on the 'Servers' tab, and then click the
button for Samba to set it up that way. I've found that swat is a bit
easier to work with though.

The last alternative is to manually set up the mounts yourself, as long
as smb and nmb are both up and running ('service smb start' in
Mandrake). Then you can mount a Windows share using the mount command
('mount -t smbfs -o username=<user>,password=<pw> //computer/share
/mnt/localsharename') and add these entries to fstab if you're doing it
frequently. Be advised that this is the least safe way, though, because
anyone with read access to fstab can find out your windows passwords.
You'd also need to set up lines in /etc/hosts to tell the system what IP
address each Windows server resides on.

-- 
Steven Buehler <swbuehler@yahoo.com>




This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:49:57 EDT