How must Samba be configured such that it can check CIFS passwords against those found in /etc/passwd and /etc/shadow?
A. Set the parameters "encrypt passwords = yes" and "password file = /etc/passwd"
B. Set the parameters "encrypt passwords = yes", "password file = /etc/passwd" and "password algorithm = crypt"
C. Delete the smbpasswd file and create a symbolic link to the passwd and shadow file
D. It is not possible for Samba to use /etc/passwd and /etc/shadow directly
E. Run smbpasswd to convert /etc/passwd and /etc/shadow to a Samba password file
题解
Samba 的用户是使用 Linux 操作系统所设置的用户,也就是「/etc/passwd」设置档内的用户。但是密码的话由于设置文件格式不同,不能沿用「/etc/shadow」设置档,只能使用额外的设置档。
