Samba

From XMission Wiki

Jump to: navigation, search

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.

Set your Samba password here.

Windows

Samba Setup Instructions for Windows 95/98/2000/XP

  1. Right-click on Network Neighborhood and select Map Network Drive.
  2. Select the drive letter you want from Drive:.
  3. In Path:, enter \\198.60.22.5\username, replacing "username" with your XMission username.
  4. If you want the connection to always be open, check the Reconnect at logon box.
  5. Click OK.
  6. When you're prompted for your password, enter your Samba password.
  7. Click OK.
  8. To be sure you're successfully connected, double-click on My Computer 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

  1. Click Start, go to Settings, and select Control Panel.
  2. Double-click Networks.
  3. Choose Client for Microsoft Networks as the Primary Network Login.

If Client for Microsoft Networks isn't installed, click on Add, Client, Microsoft, then Client for Microsoft Networks.

  1. Reboot your computer.
  2. Windows should ask you for a Login Name and Password. Enter your XMission username and set Samba password. This is required.
  3. Follow instructions for Samba setup (above).


Correcting Login for Windows 2000

  1. Click on Start, go to Settings and select Control Panel.
  2. Double-click on Users and Passwords.
  3. Check Users must enter a user name and password to use this computer.
  4. Highlight your user name and click Properties.
  5. If it's not the same as your XMission account name, enter it in the User name: field.
  6. Click OK.
  7. Click OK.
  8. Log off your computer.
  9. On the login screen, enter your XMission account name and click Change Password.
  10. If your Windows login password isn't the same as your Samba password, change it here.
  11. Click OK and login as usual.


Correcting Login for Windows XP

  1. Click on Start, and select Control Panel.
  2. Double-click on User Accounts.
  3. click on your account name.
  4. If your account name isn't the same as your XMission username, click Change my name
  5. Enter your XMission username in Type a new name for <name>:.
  6. Click Change Name.
  7. If the password for your login isn't the same as your Samba password, click Change my password.
  8. Fill out info accordingly, being sure to enter your Samba password in the Type a new password: and Type the new password again to confirm: fields.


OS X

Configuring Samba via Finder

  1. Be sure you're in Finder by clicking on your desktop.
  2. Click on Go and select Connect to Server.
  3. In the Address field, enter smb://198.60.22.5/username, replacing "username" with your XMission username.
  4. When prompted, enter your Samba password in the Password field. Leave the other fields as-is.


Configuring Samba via mount_smbfs (Terminal/Command Prompt)

  1. Open your hard drive, go to Applications, and open Terminal.
  2. Change directories to where you want to mount your share.
  3. Enter "mkdir ./myshare".
  4. Enter "mount_smbfs //acctname@198.60.22.5/username ./myshare", replacing "username" with your XMission username.
  5. Enter your Samba password when prompted.


Linux

Samba Setup Using smbclient

  1. Enter the command smbclient //198.60.22.5/acctname -U acctname, replacing "acctname" with your XMission username.
  2. When prompted, enter your Samba password.


Mounting a Samba Share Using smbmount

  1. Enter ls /sbin | grep mount.smbfs.
  2. If mount.smbfs isn't found, enter ln -s /path/to//mount/sbin/mount.smbfs.
  3. 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.
  4. 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


Other sources

Samba Home

Personal tools