Bug 54496 - Please support multiple KDCs in krb5.conf
Please support multiple KDCs in krb5.conf
Status: NEW
Product: UCS
Classification: Unclassified
Component: Kerberos
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-03-01 15:21 CET by Frank Greif
Modified: 2022-03-01 15:21 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Greif 2022-03-01 15:21:45 CET
For certain configurations, it could be helpful to explicitly specify KDCs in krb5.conf. Currently the template takes the value of 'kerberos/kdc' into one stanza of 'kdc = <the value of kerberos/kdc>'.

MIT's docs (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html#sample-krb5-conf-file) show there can be multiple 'kdc = ...' lines.

I'd propose changing the template of krb5.conf such that the value of 'kerberos/kdc' can contain multiple host names:

```
if kerberos_kdc:
    for kdc in kerberos_kdc.split(','):
        print('\tkdc = %s' % kdc.strip())
```