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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In