CIFS mount point displays the warning "ioctl error in smb2_get_dfs_refer rc=-5" when not using DFS

Solution In Progress - Updated -

Issue

  • When mounting a CIFS share, the following warning is displayed:
Jun 21 16:48:15 vasconcelos kernel: Key type cifs.spnego registered
Jun 21 16:48:15 vasconcelos kernel: Key type cifs.idmap registered
Jun 21 16:48:15 vasconcelos kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 vasconcelos kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 vasconcelos kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 vasconcelos kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 vasconcelos kernel: CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
Jun 21 16:48:15 vasconcelos 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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.