Question 1
Choose 1
A Linux user needs to authenticate to a Windows Active Directory domain. Which of the following
configuration files contains the domain configuration details?
Correct answer:
A. sssd.conf
Explanation:
When a Linux user authenticates to an Active Directory domain using modern methods (such as SSSD - System Security Services Daemon), the domain configuration details are stored in sssd.conf. This file contains AD server addresses, domain names, and authentication parameters.
Correct Option:
A. sssd.conf
The /etc/sssd/sssd.conf file configures SSSD, which caches AD credentials and handles Kerberos/LDAP authentication. It includes domain sections specifying AD domain controllers, LDAP search bases, and authentication providers. SSSD is the recommended method for integrating Linux with Active Directory for centralized authentication.
Incorrect Options:
B. krb5.conf –
This file configures Kerberos realms and KDC servers. While Kerberos is used by AD, krb5.conf alone does not contain complete domain configuration details (e.g., LDAP, password policies). It is a component but not the primary domain configuration file for Linux AD authentication.
C. pam.conf –
The Pluggable Authentication Modules configuration file defines authentication rules (which modules to call). It does not contain domain configuration details (server IPs, domain names). It references SSSD but does not store the configuration itself.
D. smb.conf –
This file configures Samba (file sharing and legacy domain membership). For modern Linux AD authentication using SSSD, smb.conf is not the primary domain configuration file.
Reference:
Red Hat Enterprise Linux Documentation – "Configuring SSSD for Active Directory"
man sssd.conf – SSSD configuration file reference
When a Linux user authenticates to an Active Directory domain using modern methods (such as SSSD - System Security Services Daemon), the domain configuration details are stored in sssd.conf. This file contains AD server addresses, domain names, and authentication parameters.
Correct Option:
A. sssd.conf
The /etc/sssd/sssd.conf file configures SSSD, which caches AD credentials and handles Kerberos/LDAP authentication. It includes domain sections specifying AD domain controllers, LDAP search bases, and authentication providers. SSSD is the recommended method for integrating Linux with Active Directory for centralized authentication.
Incorrect Options:
B. krb5.conf –
This file configures Kerberos realms and KDC servers. While Kerberos is used by AD, krb5.conf alone does not contain complete domain configuration details (e.g., LDAP, password policies). It is a component but not the primary domain configuration file for Linux AD authentication.
C. pam.conf –
The Pluggable Authentication Modules configuration file defines authentication rules (which modules to call). It does not contain domain configuration details (server IPs, domain names). It references SSSD but does not store the configuration itself.
D. smb.conf –
This file configures Samba (file sharing and legacy domain membership). For modern Linux AD authentication using SSSD, smb.conf is not the primary domain configuration file.
Reference:
Red Hat Enterprise Linux Documentation – "Configuring SSSD for Active Directory"
man sssd.conf – SSSD configuration file reference