December 10, 2015

Mounting Windows Share on Ubuntu 14.04

First of all need to install cifs on ubuntu:

$ sudo apt-get install cifs-utils

 

After successful installation, we can mount windows share from command line:

$ sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path

where 'winuser' is the windows domain user, and optionally we can supply domain using domain=windomain with options.

 

to find out linux user's uid and gid use:

$ id

 

Click Here!