[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-linux-uk-schools
Subject:    Samba shares, Linux connection
From:       "Bill Antonia" <bill () beaconhillcott ! freeserve ! co ! uk>
Date:       2000-04-26 9:09:29
[Download RAW message or body]

Bill Antonia
Beacon Community College
Home e-mail bill@beaconhillcott.freeserve.co.uk
Work e-mail at@beacon.e-sussex.sch.uk

[Note: any "file:" bits attached in the smbmount commands should be ignored
when typing in the command, they get appended by Outlook Express
automatically! Pain! I keep trying to delete them. I would use a Linux email
client on my dual boot machine if I could only get my PCI modem to work with
Linux.]

You can connect to a samba share as if it were a local directory, even if it
is on the same machine. Use smbmount to do this eg
smbmount file://servername/sharename  /mountpoint
This assumes you are going to log on using the user name and password you
used to log onto your Linux machine. However this may not be very useful as
you have to be connected as root to create a mount point.

Follow the smbmount command with any options you may require eg
smbmount file://servername/sharename /mountpoint -U username
To log onto the share as a different user, you will be prompted for a
password.

Otherwise use
smbmount file://servername/sharename /mountpoint -U username%password
if you are not concerned about exposing your password.

The mountpoint has to be an already existing directory, if there is somthing
already in the directory, then it gets hidden but not destroyed. To
disconnect from the share use
umount /mountpoint

There are lots of other options, check using
man smbmount

Bye for now
Bill





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic