samba share multi user access

ARK

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

You may also like...

3 Responses

  1. msdudhani says:

    Hi Ravi,

    i am getting below error while configure the samba client.
    Error details:
    [root@bgclient01 sbin]# mount -a
    /sbin/mount.cifs: invalid option — ‘t’

    Usage: mount.cifs -o

    Mount the remote target, specified as a UNC name, to a local directory.

    Options:
    user=
    pass=
    dom=

    Less commonly used options:
    credentials=,guest,perm,noperm,setuids,nosetuids,rw,ro,
    sep=,iocharset=,suid,nosuid,exec,noexec,serverino,
    mapchars,nomapchars,nolock,servernetbiosname=
    directio,nounix,cifsacl,sec=,sign,fsc

    Options not needed for servers supporting CIFS Unix extensions
    (e.g. unneeded for mounts to most Samba versions):
    uid=,gid=,dir_mode=,file_mode=,sfu

    Rarely used options:
    port=,rsize=,wsize=,unc=,ip=,
    dev,nodev,nouser_xattr,netbiosname=,hard,soft,intr,
    nointr,ignorecase,noposixpaths,noacl,prefixpath=,nobrl

    Options are described in more detail in the manual page
    man 8 mount.cifs

    To display the version number of the mount helper:
    mount.cifs -V

    Configuration File Details:

    [root@bgclient01 sbin]# vi /etc/fstab

    #
    # /etc/fstab
    # Created by anaconda on Mon May 30 09:32:40 2016
    #
    # Accessible filesystems, by reference, are maintained under ‘/dev/disk’
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    UUID=93feecc8-8474-493b-a9e7-c0290421dc7d / ext3 defaults 1 1
    UUID=1fcf2890-98f5-4b69-9db1-35641bcc3826 /boot ext3 defaults 1 2
    UUID=6c5e689a-28c0-4eab-a7ec-f76e547c19f7 swap swap defaults 0 0

    //10.xx.xx.xx/multiuser /nfssamba cifs,credentials=/root/access,defaults,multiuser,sec=ntlmssp 0 0

    Please help to resolve on this.

    regards
    Mahesh Dudhani

    • Syntax what you have written in /etc/fstab file is correct but did you enabled the Firewall ports from server and SELinux context. Try to mount manually without adding an entry in /etc/fstab file use #mount //server/ShareName /mountpoint -o username=user

      while mounting you have to use share name .i.e.[mutiuser] not directory path.

Leave a Reply