LPIC 3 Samba Domain Integration Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 16 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the primary configuration file for Samba server settings?

Explanation

Samba’s primary configuration file is `/etc/samba/smb.conf`. It defines server-wide settings, security and authentication options, and shared directories and printers. Samba services read this file to determine how the server behaves and which resources are available to network clients. The other listed filenames are not the standard main configuration file.

Submit
Please wait...
About This Quiz
LPIC 3 Samba Domain Integration Quiz - Quiz

This quiz evaluates your knowledge of Samba domain integration at the enterprise level. You'll assess your understanding of Active Directory interoperability, Samba as a domain controller, authentication mechanisms, and network configuration. Ideal for system administrators preparing for LPIC-3 certification or managing mixed Linux-Windows environments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. PAM (Pluggable Authentication Modules) integration with Samba allows Linux login using Active Directory credentials. True or False?

Explanation

PAM is Linux’s modular authentication framework, and Samba can integrate with it alongside domain services such as Winbind. When configured to communicate with Active Directory, this setup lets Linux use AD accounts and credentials for login and authentication, while PAM handles the local system’s authentication requests.

Submit

3. Which DNS service is critical for Kerberos and Samba domain integration?

Explanation

SRV records help Kerberos and Samba clients locate domain services, including domain controllers and key authentication services. They advertise the hosts and ports for services such as LDAP and Kerberos, enabling clients to discover the resources needed for domain integration.

Submit

4. Which utility is used to test Samba configuration syntax?

Explanation

`testparm` is the utility used to check Samba’s configuration file, typically `smb.conf`, for syntax errors and invalid settings. It can also display the configuration as Samba interprets it.

Submit

5. What command displays the current Samba domain membership status?

Explanation

`net ads status` queries Samba’s Active Directory connection and reports the machine’s current domain membership status. The other options are not the standard Samba command for checking domain membership through the ADS interface.

Submit

6. Which protocol does Samba use to communicate with Windows Active Directory?

Explanation

Samba uses LDAP to query and manage directory information in Windows Active Directory, while Kerberos handles secure authentication and ticket-based access. Together, these protocols let Samba integrate with AD for user and group lookups, authentication, and authorization.

Submit

7. Which Samba utility is used to join a Linux machine to an Active Directory domain?

Explanation

The Samba `net` utility provides the `ads` subcommand for Active Directory operations; its `join` action enrolls a Linux host in the domain, typically using appropriate credentials and configuration. Thus, `net ads join` is the Samba-specific command among the choices. `realm join` and `adcli` are alternative tools, not Samba utilities.

Submit

8. Kerberos is optional when integrating Samba with Active Directory. True or False?

Explanation

Kerberos is a core authentication protocol in Active Directory, and Samba uses it to authenticate users and access domain services. Although limited NTLM fallback may be available, Kerberos is not optional for standard, secure Samba integration with Active Directory.

Submit

9. Which file stores Kerberos ticket information on a Samba client?

Explanation

`/etc/krb5.keytab` stores the client’s Kerberos principal keys, which can be used to authenticate and obtain tickets. Strictly speaking, the tickets themselves are kept in a Kerberos credential cache, not in the keytab.

Submit

10. WINBIND allows Linux systems to enumerate users and groups from Active Directory. True or False?

Explanation

Winbind is a Samba service that connects Linux systems to Windows domains, including Active Directory. With suitable configuration, it lets Linux query and enumerate domain user and group accounts, making them available to system services such as name resolution and access-control mechanisms.

Submit

11. What is the default NetBIOS name for a Samba server if not explicitly configured?

Explanation

If no NetBIOS name is explicitly configured, Samba uses the system’s hostname by default. This lets the server appear on the network under the same name as the computer running Samba.

Submit

12. Samba requires the same user account to exist on both Linux and Windows for authentication. True or False?

Explanation

Samba does not require an identical account to exist on both systems. It can authenticate users through its own password database or another configured backend and map an SMB username to a Linux account. Username mapping and password synchronization are optional, so Windows and Linux accounts may differ depending on the server configuration.

Submit

13. Samba can function as a domain controller in an Active Directory environment. True or False?

Explanation

Samba can function as an Active Directory domain controller by providing compatible authentication and directory services, including Kerberos, LDAP, DNS, and SYSVOL-based policy support. Windows clients can join and authenticate to a Samba-managed domain, while administrators manage users and computers. This is possible without requiring Windows Server, so the statement is true.

Submit

14. What does 'net ads testjoin' verify?

Explanation

`net ads testjoin` checks whether the computer’s account is properly joined to the Active Directory domain and whether the domain membership is functioning correctly. It does not test general network connectivity, Samba service status, or access to file shares.

Submit

15. Which parameter in smb.conf specifies the workgroup or domain name?

Explanation

In Samba’s `smb.conf`, the `workgroup` parameter sets the Windows workgroup name or, in some configurations, the domain name that the server associates with. `realm` is typically used for the Kerberos realm, while `netbios name` sets the server’s network name.

Submit

16. The smb.conf parameter 'realm' should match the Active Directory ____ name.

Explanation

In Samba, the `realm` setting identifies the Active Directory domain used for Kerberos authentication. It should match the domain’s DNS name, often written in uppercase by convention, so Samba can locate the domain controllers and authenticate users correctly.

Submit

17. Which Samba daemon handles authentication requests in domain-joined environments?

Explanation

winbindd handles authentication and identity requests in domain-joined Samba environments by communicating with domain controllers. It retrieves user and group information and supports domain-based authentication, allowing Linux systems to use domain accounts and credentials.

Submit

18. The smb.conf parameter 'security = ads' configures Samba to authenticate against ____.

Explanation

With `security = ads`, Samba operates as a member of an Active Directory domain and uses the domain’s authentication services, typically through Kerberos. This lets users authenticate against Active Directory rather than relying on Samba’s local user database.

Submit

19. The 'realm' command is primarily used to manage ____ membership on Linux systems.

Explanation

The `realm` command is part of realmd, a tool for integrating Linux systems with network identity domains. Administrators use it to discover available domains, join or leave a domain, and configure the system’s authentication services, commonly through SSSD. This makes domain-based accounts and centralized authentication available on the Linux machine.

Submit

20. Samba's 'idmap' backend is responsible for mapping Windows SIDs to Linux ____ and ____.

Explanation

Samba’s `idmap` backend translates Windows Security Identifiers (SIDs) into the corresponding Unix user and group identifiers. This mapping lets Linux associate Windows accounts and groups with local file ownership and permissions. Those identifiers are UIDs for users and GIDs for groups.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the primary configuration file for Samba server settings?
PAM (Pluggable Authentication Modules) integration with Samba allows...
Which DNS service is critical for Kerberos and Samba domain...
Which utility is used to test Samba configuration syntax?
What command displays the current Samba domain membership status?
Which protocol does Samba use to communicate with Windows Active...
Which Samba utility is used to join a Linux machine to an Active...
Kerberos is optional when integrating Samba with Active Directory....
Which file stores Kerberos ticket information on a Samba client?
WINBIND allows Linux systems to enumerate users and groups from Active...
What is the default NetBIOS name for a Samba server if not explicitly...
Samba requires the same user account to exist on both Linux and...
Samba can function as a domain controller in an Active Directory...
What does 'net ads testjoin' verify?
Which parameter in smb.conf specifies the workgroup or domain name?
The smb.conf parameter 'realm' should match the Active Directory ____...
Which Samba daemon handles authentication requests in domain-joined...
The smb.conf parameter 'security = ads' configures Samba to...
The 'realm' command is primarily used to manage ____ membership on...
Samba's 'idmap' backend is responsible for mapping Windows SIDs to...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!