Linux_FoundationLinux_Foundation
LFCS · Question #625
LFCS Question #625: Real Exam Question with Answer & Explanation
The correct answer is B: realm = bc.ep.kerberos.biz. To configure Samba for Kerberos authentication, the realm parameter in smb.conf must specify the target Kerberos domain.
Submitted by miguelv· Apr 18, 2026Service Configuration
Question
Which of the following lines should be added to smb.conf to use authenticate users against the Kerberos domain bc.ep.kerberos.biz?
Options
- Akerberos = bc.ep.kerberos.biz
- Brealm = bc.ep.kerberos.biz
- Ckrb5 = /etc/krb5.conf
- Dkrb5 workgroup = bc.ep.kerberos.biz
Explanation
To configure Samba for Kerberos authentication, the realm parameter in smb.conf must specify the target Kerberos domain.
Common mistakes.
- A.
kerberosis not a validsmb.confparameter for specifying the Kerberos realm; the correct parameter isrealm. - C.
krb5 = /etc/krb5.confis not ansmb.confparameter, but rather the path to the Kerberos client configuration file that the underlying Kerberos library uses. - D.
krb5 workgroupis not a validsmb.confparameter; theworkgroupparameter specifies the NetBIOS domain/workgroup, whilerealmspecifies the Kerberos realm.
Concept tested. Samba Kerberos realm configuration
Reference. https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
#Samba#Kerberos#Authentication#smb.conf
Community Discussion
No community discussion yet for this question.