RHEL7: CIFS mount point displays the warning "ioctl error in smb2_get_dfs_refer rc=-5" when not using DFS
Issue
- When mounting a CIFS share, the following warning is displayed:
Jun 21 16:48:15 server kernel: Key type cifs.spnego registered
Jun 21 16:48:15 server kernel: Key type cifs.idmap registered
Jun 21 16:48:15 server kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 server kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 server kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 server kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 server kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 server kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
- The share works without any write/access error.
Environment
- Red Hat Enterprise Linux 7.5, 7.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.