Mount Samba Drive on Ubuntu

To mount a Windows Samba drive  on Ubuntu for the current user, you need the following steps:

sudo apt-get install cifs-utils

sudo mkdir /mnt/share

sudo mount.cifs //sambahost/sambaDir /mnt/share -o user=xxx,password=xxx

where the sambahost is the samba server ip address or hostname that you should be able to ping it, sambaDir is the samba directory you want to access, user/password is the credentials you use to access the samba server. I found that I don’t need the windows domain name part in the user field.

This entry was posted in Linux and tagged . Bookmark the permalink.

1 Response to Mount Samba Drive on Ubuntu

  1. Brett the Brit says:

    By far this is the easiest way to do it. Thanks!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s