Mounting Windows Shares using Samba: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Mounting Windows based shares using Samba == | |||
Mounting Windows based shares using Samba is a relatively simple process. | Mounting Windows based shares using Samba is a relatively simple process. | ||
Line 11: | Line 13: | ||
The username should be that of your Windows user and in both examples you will be prompted for your windows password. | The username should be that of your Windows user and in both examples you will be prompted for your windows password. | ||
For Windows 2008 and higher with Samba on Ubuntu 14.04 or higher you will need to use a command similar to below: | |||
mount -t cifs //server/share /mountpoint/ -o domain=my.domain.local,username=User,sec=ntlm | |||
[[Category:Linux]][[Category:Samba]] |
Latest revision as of 11:43, 27 February 2017
Mounting Windows based shares using Samba is a relatively simple process.
If the share is on a Windows XP, Server 2000 or NT machine you can use the following command:
mount -t smbfs -o username=username //server/share /mountpoint
However for Server 2003 the above command will not work so you simply change smbfs for cifs as shown below.
mount -t cifs -o username=username //server/share /mountpoint
The username should be that of your Windows user and in both examples you will be prompted for your windows password.
For Windows 2008 and higher with Samba on Ubuntu 14.04 or higher you will need to use a command similar to below:
mount -t cifs //server/share /mountpoint/ -o domain=my.domain.local,username=User,sec=ntlm