Is there a PAM module for automatically adding credentials for multiuser CIFS mounts?

Solution Verified - Updated -

Issue

  • Users accessing a SMB share with NTLMSSP/NTLM security and the multiuser mount option have to authenticate to the SMB server with # cifscreds
  • Authentication has to occur each time the user logs in.
  • The credentials are not cached for subsequent sessions.
  • Automated CIFS credentials is not working properly.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • cifs-utils
  • SMB file shares

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