Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • Mounting a Samba Share From Linux Client to Linux Samba Server
    06/02/2017 10:49PM

    In order to be able to access a Samba share on a remote client as a mounted file system execute the following command, as root on the client:

    mount -t cifs -o user=<user-on-samba-share>,uid=<uid-on-local-macheine>,gid=<gid-on-local-machine>,rw,workgroup=<your-workgroup> //ip/share /mnt/mount-point-dir

    You will be prompted for the password for the user defined on the Samba server.

    If you are able to authenticate, and then get the following error:

    ls: reading directory .: Permission denied

    Check the SELinux context type of the directory on the samba share.  It should be samba_share_t

Advanced Search

Categories

Archives