Showing posts from February, 2017

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***