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」設定檔,只能使用額外的設定檔。