4.2. Summary of Configuration Files, Options, and Packages

Table 4.1. System Configuration Files, Required Options, and Required Packages

Service Configuration File Required Parameters Required Packages
Samba /etc/samba/smb.conf
[global]
    workgroup = ADEXAMPLE  
    security = ads
    realm = ADEXAMPLE.COM
samba
Winbind /etc/security/pam_winbind.conf samba-winbind
Kerberos /etc/krb5.conf
[libdefaults]
  default_realm = ADEXAMPLE.COM

[realms]
  ADEXAMPLE.COM = {
    kdc = kdc.adexample.com
}

[domain_realm]
 adexample.com = ADEXAMPLE.COM
  .adexample.com = ADEXAMPLE.COM
krb5-workstation
PAM /etc/pam.d/system-auth or /etc/pam.d/system-auth-ac (with authconfig)
auth      sufficient   pam_winbind.so use_first_pass
account   [default=bad success=ok user_unknown=ignore] pam_winbind.so
password  sufficient   pam_winbind.so use_authtok
session   optional     pam_winbind.so use_first_pass
NSS /etc/nsswitch.conf
#required
passwd:     files winbind
shadow:     files winbind
group:      files winbind

#optional
hosts:      files dns wins
DNS /etc/resolv.conf
nameserver IPaddress
search domainName