/etc/krb5.conf is malformed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kerberos-configs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: krb5-config
The value for the default_realm variable in /etc/krb5.conf is not
specified. When kinit tries to parse the configuration file the
following error is produced: "kinit(v5): Improper format of Kerberos
configuration file while initializing Kerberos 5 library". strace
indicates that krb5.conf is the offending file.
Proposed resolution: Specify arbitrary non-valid domain name
(e.g. default_realm = INVALID.INVALID).
Output of strace:
----------
stat64(
open("/
access(
fstat64(4, {st_mode=
mmap2(NULL, 4096, PROT_READ|
read(4, "[libdefaults]
close(4) = 0
munmap(0xb7f8a000, 4096) = 0
write(2, "kinit(v5): Improper format of Ke"..., 58kinit(v5): Improper format of Kerberos configuration file ) = 58
write(2, "while initializing Kerberos 5 li"..., 37while initializing Kerberos 5 library) = 37
write(2, "\n", 1
) = 1
exit_group(1) = ?
----------
Changed in kerberos-configs: | |
assignee: | nobody → cjo20 |
status: | New → In Progress |
This bug's also in Hardy, with the exact same symptoms.
Commenting the line "default_realm =" is also a solution that could be considered.