Open Source and the Magic LAMP

Mount Cifs Linux Share

Posted in Business by jewelsjacobs on November 17, 2009

An alternative to mapping a directery on a Linux Server to a Windows PC / Server is mounting a cifs share.

First you need to request that your share be cifs vs. nfs

Here is an example of the syntax:

Add to /etc/fstab:

//sharehost/share$ /path/to/mount/directory cifs username=svc_username,password=somepassword

Note the svc account needs to be Linux / AD

Then run

mount /path/to/mount/directory

Tagged with: , ,