SMBv1 share returns "Permission denied" upon access after an idle period

Solution Verified - Updated -

Issue

  • An SMBv1 share returns Permission denied upon access after an idle period. This error affects some users but not others.
  • When the error CIFS VFS: Unexpected lookup error -5 appears in the logs, shares must be remounted to regain access.

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • SMBv1

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