Courseiva
File Sharing and SambahardMultiple SelectObjective-mapped

LPIC-2 File Sharing and Samba Practice Question

Which THREE configuration directives are necessary to enable Winbind for Active Directory authentication on a Samba domain member?

⚠ Common exam trap

Candidates often confuse 'workgroup' with 'realm' or assume 'winbind use default domain = yes' is mandatory, when in fact only 'security = ads', 'realm', and an idmap range are strictly required for basic Winbind AD integration.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

security = ads

Setting 'security = ads' tells Samba to operate as an Active Directory domain member, using Kerberos for authentication and LDAP for identity lookups. This directive is mandatory for Winbind to communicate with an AD domain controller.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • security = ads

    Why this is correct

    Correct; enables Active Directory domain membership.

  • winbind use default domain = yes

    Why it's wrong here

    Incorrect; optional, simplifies username format.

  • realm = EXAMPLE.COM

    Why this is correct

    Correct; specifies the Kerberos realm for authentication.

  • workgroup = EXAMPLE

    Why it's wrong here

    Incorrect; while often set, it is not strictly required if netbios name matches, but still needed in practice. However, for this question we omit it.

  • idmap config * : range = 10000-20000

    Why this is correct

    Correct; defines the UID/GID range for ID mapping.

About these practice questions

Courseiva writes every LPIC-2 question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.