An attempt to mount a CIFS share from a Windows 2019 server configured as external storage on the Configuration > Logs > Session Recording > External Storage page in PAM fails with the following error:
Error: PAM-CM-0058: CIFS mount operation unsuccessful. Mount point: <mount path> Hostname: <Hostname>
CA Privileged Access Manager (PAM) Session Recording configuration.
When SMB Encryption is enabled for a file share or server, only SMB 3.0, 3.02, and 3.1.1 clients are allowed to access the specified file shares. This enforces the administrator's intent of safeguarding the data for all clients that access the shares.
To check if SMB Encryption is enabled, run the following command on the CIFS Server:
Get-SmbShare -Name <ShareName> | Format-List -Property *
In the output, look for EncryptData. If it is set to true, as in the output below, then SMB Encryption is enabled.
EncryptData : True
When EncryptData is set to True, the SMB Version needs to be set to 3.0 in the PAM Session Recording configuration.
This message can also be caused by other problems such as a trailing space in the share name, see the following article: