Lpic 2 Linux Engineer · Free Practice Question Medium
Question 11
- A Change the security directive in smb.conf from share to user.
- B Add all users to the Samba group but keep share-level security enabled.
- C Enable NTLM authentication and keep the existing share permissions.
- D Create an allowlist of client IP addresses in smb.conf.
Reveal correct answer
Correct answer: A
A. Changing the security directive in smb.conf from share to user is the correct approach to transition from share-level security to user-level authentication. This change will require users to authenticate with valid credentials before accessing shared folders, improving security.
B. Adding all users to the Samba group while keeping share-level security enabled does not transition to user-level authentication. Users will still be able to access shared folders without authentication, which does not align with the security policy requirement.
C. Enabling NTLM authentication while keeping the existing share permissions does not transition to user-level authentication. NTLM authentication may provide some level of security, but it does not enforce user-level authentication for accessing shared folders.
D. Creating an allowlist of client IP addresses in smb.conf does not address the transition from share-level security to user-level authentication. This approach restricts access based on IP addresses but does not enforce user-level authentication for accessing shared folders.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
