Mount Windows Share on Ubuntu

$ sudo apt-get install cifs-utils

$ 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.

 

Note: to find out linux user’s uid and gid use:

$ id