Samba
From XMission Wiki
Samba is a software package installed at XMission that allows you to map a drive letter on your computer to your home directory at XMission. The benefit of this is being able to access your home directory on XMission as if it were a local hard drive instead of having to FTP to upload or download files.
In order to use Samba with XMission, you will need to configure your computer to mount a share, which is your home directory at XMission.
Contents |
Setup
Set Your Samba Password
Samba uses a separate password from your primary XMission shell/ftp/email password. You must set this password before you can connect with Samba.
Windows
Samba Setup Instructions for Windows 95/98/2000/XP
- Right-click on and select .
- Select the drive letter you want from .
- In , enter \\198.60.22.5\username, replacing "username" with your XMission username.
- If you want the connection to always be open, check the box.
- Click .
- When you're prompted for your password, enter your Samba password.
- Click .
- To be sure you're successfully connected, double-click on and see if the new drive is listed. If this doesn't work, you will need to follow the instructions, for your version of Windows, to correct your login.
Correcting Login for Windows 95/98 and NT
- Click , go to , and select .
- Double-click .
- Choose as the .
If isn't installed, click on , , , then .
- Reboot your computer.
- Windows should ask you for a and . Enter your XMission username and set Samba password. This is required.
- Follow instructions for Samba setup (above).
Correcting Login for Windows 2000
- Click on , go to and select .
- Double-click on .
- Check .
- Highlight your user name and click .
- If it's not the same as your XMission account name, enter it in the field.
- Click .
- Click .
- Log off your computer.
- On the login screen, enter your XMission account name and click .
- If your Windows login password isn't the same as your Samba password, change it here.
- Click and login as usual.
Correcting Login for Windows XP
- Click on , and select .
- Double-click on .
- click on your account name.
- If your account name isn't the same as your XMission username, click
- Enter your XMission username in .
- Click .
- If the password for your login isn't the same as your Samba password, click .
- Fill out info accordingly, being sure to enter your Samba password in the and fields.
OS X
Configuring Samba via Finder
- Be sure you're in by clicking on your desktop.
- Click on and select .
- In the field, enter smb://198.60.22.5/username, replacing "username" with your XMission username.
- When prompted, enter your Samba password in the Password field. Leave the other fields as-is.
Configuring Samba via mount_smbfs (Terminal/Command Prompt)
- Open your hard drive, go to , and open .
- Change directories to where you want to mount your share.
- Enter "mkdir ./myshare".
- Enter "mount_smbfs //acctname@198.60.22.5/username ./myshare", replacing "username" with your XMission username.
- Enter your Samba password when prompted.
Linux
Samba Setup Using smbclient
- Enter the command smbclient //198.60.22.5/acctname -U acctname, replacing "acctname" with your XMission username.
- When prompted, enter your Samba password.
Mounting a Samba Share Using smbmount
- Enter ls /sbin | grep mount.smbfs.
- If mount.smbfs isn't found, enter ln -s /path/to//mount/sbin/mount.smbfs.
- To manually mount the drive, enter smbmount //198.60.22.5/acctname /path/to/mount -o username=acctname,password=passwd, replacing "acctname" and "passwd" with your XMission account name and Samba password.
- To have the drive mount automatically, enter the following into fstab:
- <file system> <mount point> <type> <options> <dump> <pass>
- //198.60.22.5/acctname /path/to/mount smbfs noauto,username=acctname,password=passwd 0 0

