Mount DFS-R Share in RedHat Enterprise Linux 6

1. Verify the following packages are available in the linux system:
 
    a. cifs-utils
    b. keyutils

2. The following lines need to be added to the end of the /etc/request-key.conf file:

   
create cifs.spnego * * /usr/sbin/cifs.upcall %k

   
create dns_resolver * * /usr/sbin/cifs.upcall %k


3. Mount the DFS-R folder

     
mount.cifs -o user=windowsuser,password=windowspassword,domain=domainname //domainname/share /localmountpoint

4. Add the following entry in /etc/fstab if the mount point is to mounted with the DFS-R share continuously on server reboot.


//domainname/share                 /localmountpoint             cifs    user=windowsuser,password=windowspassword,domain=domainname,uid=200,gid=2002 0 0




***Thanks to Mike Burr http://mikemstech.blogspot.com/2012/10/how-to-mount-dfs-share-in-linux.html***

Comments

Popular posts from this blog

On-board Linux computers to Azure Log Analytics

Nutanix Calm Blueprint for Single Linux VM

Fluentd error: Unable to push logs to [elasticsearch]