How to use pam_cifscreds with RHEL 8

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.
  • Would like to use pam_cifscreds to avoid having to manually run # cifscreds prior to accessing the SMB share.

Environment

  • Red Hat Enterprise Linux 8
  • cifs-utils
  • pam_cifscreds
  • Non-kerberized 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