Which command sets up Samba 4 as an Active Directory Domain Controller?

Prepare for the LPIC-3 300 Mixed Environment Exam with targeted quizzes. Boost your confidence with detailed explanations, flashcards, and diverse question formats. Get exam-ready today!

The command that sets up Samba 4 as an Active Directory Domain Controller is "samba-tool domain provision." This command is specifically designed for initializing a Samba server to act as a Domain Controller in an Active Directory environment. It facilitates the configuration of the domain, including defining domain names, NetBIOS names, and administrative credentials, while also setting up necessary database connections.

When using this command, administrators can create a new Active Directory forest, provide a DNS backend, and configure various options that are essential for the domain's operation. This makes "samba-tool domain provision" a comprehensive and structured method to establish an AD DC using Samba 4, ensuring all necessary components are properly set up from the start.

The other commands mentioned do not serve the same purpose or may be incorrectly applied in this context. For example, "samldap-domainadd" is not a valid command for setting up a Samba Active Directory and may be confused with LDAP operations. The "net ads prepare domain" relates to the preparation of existing domains for joined systems and does not create a new domain. "smbcontrol dcpromo" is incorrect as it does not exist; instead, the promotion of a server to a Domain Controller is handled within the Samba Tool Suite

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy