LPI 300-300 LPIC-3: Mixed Environments - Exam 300 - version 3.0 Exam Practice Test

Page: 1 / 14
Total 53 questions
Question 1

FILL BLANK

Which command line option instructs smbclient to authenticate using an existing Kerberos token? (Specify ONLY the option name without any values or parameters.)



Answer : A

The smbclient command is used to access shared resources on a server running the SMB/CIFS protocol. To authenticate using an existing Kerberos token, the -k option is used. This instructs smbclient to use Kerberos for authentication, assuming that the user already has a valid Kerberos ticket (usually obtained via the kinit command).

Example:

smbclient //server/share -k


smbclient man page

Kerberos Authentication with Samba

Question 2

Which of the following groups exists by default in an Active Directory domain?



Answer : B

In an Active Directory domain, the Domain Users group exists by default. This group includes all user accounts created in the domain and is commonly used for assigning permissions and rights to all users.


Microsoft Docs - Active Directory Default Groups

Question 3

Which of the following lines is missing in the given [printers] share definition?



Answer : B

In the context of a Samba configuration for printer shares, the [printers] section usually requires the printable = yes directive to indicate that the share is meant for printing. Without this directive, Samba would not treat the share as a printer share, even if other settings like path are configured properly.

The given snippet is:

The line printable = yes is missing and is essential for defining a printer share.


Samba Official Documentation - Printer Sharing

Question 4

Which of the following Samba commands provides comprehensive information and status flags on the user candidate?



Answer : C

pdbedit: This Samba command is used to manage the user accounts stored in the Samba password database.

-v: The verbose option provides detailed information.

-u candidate: Specifies the user for which to display the information.

Other Commands:

smbpasswd, net sam show, samba-tool user list, getent smbpasswd: These commands do not provide the same comprehensive information and status flags as pdbedit.


Samba pdbedit Documentation

Question 5

In order to generate an individual log file for each of the machines connecting to a Samba server, which of the following statements must be used in the Samba configuration file?



Answer : A

Individual Log Files:

A . log file = /var/log/samba/log.%m: To generate an individual log file for each machine connecting to a Samba server, the %m variable is used in the log file path. This variable represents the machine name of the connecting client. Thus, the configuration line log file = /var/log/samba/log.%m creates a unique log file for each client machine.


Samba smb.conf manual

Logging configurations in Samba

Question 6

What is a correct statement about FreeIPA ID views?



Answer : C

In FreeIPA, ID views allow administrators to override default POSIX attributes for users and groups. This feature is useful when integrating with other identity management systems, enabling specific attribute values to be used on a per-host basis. This way, different POSIX attributes can be set for the same user or group in different contexts.


FreeIPA: ID Views

FreeIPA Documentation

Question 7

A Samba 4 server provides DNS information regarding an Active Directory Domain. All other DNS information is provided by an additional DNS server. Which of the following solutions ensures that the clients of the Samba server can look up all DNS records including those from the domain?



Answer : E

dns forwarder: This smb.conf option specifies the DNS server to which queries should be forwarded if they cannot be resolved locally by the Samba server.

Configuration:

Add dns forwarder = to smb.conf on the Samba server.

Ensure all clients are configured to query the Samba server for DNS information.

Process:

Clients send all DNS queries to the Samba server.

If the Samba server cannot resolve a query locally, it forwards the request to the additional DNS server.

Benefit: This ensures that all DNS records, including those from the Active Directory domain and other DNS information, can be resolved by the clients.


Samba DNS Forwarding

Page:    1 / 14   
Total 53 questions