Archive pour la catégorie 'Tips and Tricks'

Mount Windows share

Thursday 9 November 2006

As the smbmount command was deleted, here is an example how to mount a Windows share from network on a linux machine:

  1. mkdir /mnt/cifs
  2. mount -t cifs '\\windows_server\share_name' /mnt/cifs -o username=windows_user_name,workgroup=workgroup_name,rw,iocharset=utf8,uid=500,gid=500
  3. Here the uid and gid are those you want to use on the linux machine;
  4. You will be then prompted with the windows password of windows_user_name from workgroup_name.