FILL BLANK
What attribute starts the declaration of an object in an LDIF file? (Specify ONLY the attribute name without any values.)
Answer : A
An LDIF (LDAP Data Interchange Format) file is used to represent directory entries in LDAP (Lightweight Directory Access Protocol).
Each entry in an LDIF file starts with the dn (Distinguished Name) attribute, which uniquely identifies the entry in the directory.
The dn attribute is mandatory and specifies the path to the entry within the LDAP directory.
LDAP documentation: https://ldap.com/ldap-data-interchange-format-ldif/
OpenLDAP LDIF documentation: https://www.openldap.org/doc/admin24/ldif.html
What is true about the container CN=Users in an Active Directory LDAP tree? (Choose two.)
Answer : A, E
CN=Users Container:
GPOs: Group Policy Objects (GPOs) cannot be linked to this container because it is not an Organizational Unit (OU). GPOs can only be applied to OUs.
Default Location: New users are created in the CN=Users container by default when using standard Active Directory tools unless specified otherwise.
Other Options:
Users outside this container can log in.
The container can contain both user objects and user groups.
Users created here do not need to be moved to log in.
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
Which of the following statements about automount in a FreeIPA domain are true? (Choose two.)
Answer : C, D
Automounting in a FreeIPA domain involves several key aspects:
Base Configuration File (/etc/auto.master): The auto.master file is the main configuration file for the automounter. It contains the master map which defines mount points and their corresponding maps. This file is crucial for setting up automount points.
Example entry in /etc/auto.master:
plaintext
Copy code
/home /etc/auto.home
SSSD Requirement: In a FreeIPA domain, automount requires the System Security Services Daemon (SSSD) to be installed and configured on each client. SSSD is used to retrieve automount maps from the FreeIPA server, enabling the automount feature to function correctly.
Example configuration in /etc/sssd/sssd.conf:
[sssd] services = nss, pam, autofs config_file_version = 2 domains = example.com [domain/example.com] autofs_provider = ipa ipa_server = _srv_
Automount Configuration
FreeIPA SSSD Integration
Which group of commands manages the directory replication in an active directory domain?
Answer : C
samba-tool drs: This set of commands is used to manage directory replication in an Active Directory domain. DRS stands for Directory Replication Service.
Functionality: It provides various subcommands to monitor, manage, and troubleshoot replication issues.
Other Commands:
samba-tool repl, directory, domain, sync: These do not specifically manage directory replication in the same way as samba-tool drs.
Samba DRS Command Documentation
Which of the following statements are true regarding the smbpasswd command? (Choose two.)
Answer : A, B
-x Parameter: This parameter is used to remove (delete) an account from the Samba database.
Example: smbpasswd -x username
-a Parameter: This parameter adds a new account to the Samba database. If the account already exists, it will update the account.
Example: smbpasswd -a username
Other Options:
-d Parameter: Disables (not deletes) an account.
-e Parameter: Enables a previously disabled account.
Password Synchronization: The smbpasswd command does not affect Windows domain controllers; it manages Samba-specific passwords.
smbpasswd Command Documentation
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 =
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