UCF STIG Viewer Logo

Samba must be configured to use encrypted passwords.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22500 GEN006230 SV-35111r1_rule IAIA-2 IAIA-1 Medium
Description
Samba must be configured to protect authenticators. If Samba passwords are not encrypted for storage, plain-text user passwords may be read by those with access to the Samba password file.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-36706r1_chk )
Check the encryption setting in the Samba configuration file.

# cat /etc/opt/samba/smb.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v "^#" | grep -i "^encrypt passwords = yes"

If the encrypt passwords setting is not set to "yes", this is a finding.
Fix Text (F-32083r1_fix)
Edit the /etc/opt/samba/smb.conf file and change the encrypt passwords setting to yes, for example:

encrypt passwords = yes