LFCS · Question #625
Which of the following lines should be added to smb.conf to use authenticate users against the Kerberos domain bc.ep.kerberos.biz?
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.
Question
Options
- Akerberos = bc.ep.kerberos.biz
- Brealm = bc.ep.kerberos.biz
- Ckrb5 = /etc/krb5.conf
- Dkrb5 workgroup = bc.ep.kerberos.biz
How the community answered
(15 responses)- A7% (1)
- B93% (14)
Why each option
To configure Samba for Kerberos authentication, the `realm` parameter in `smb.conf` must specify the target Kerberos domain.
`kerberos` is not a valid `smb.conf` parameter for specifying the Kerberos realm; the correct parameter is `realm`.
The `realm = bc.ep.kerberos.biz` parameter in the `smb.conf` file is essential for configuring Samba to use a specific Kerberos realm for user authentication. This tells Samba which Kerberos Key Distribution Center (KDC) to communicate with for ticket granting.
`krb5 = /etc/krb5.conf` is not an `smb.conf` parameter, but rather the path to the Kerberos client configuration file that the underlying Kerberos library uses.
`krb5 workgroup` is not a valid `smb.conf` parameter; the `workgroup` parameter specifies the NetBIOS domain/workgroup, while `realm` specifies the Kerberos realm.
Concept tested: Samba Kerberos realm configuration
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.