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

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content