kdb5_ldap_util creates principal with wrong DNS domain
Bug #1426910 reported by
Robert Sander
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
krb5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If there is more than one domain in the "search" line of /etc/resolv.conf when kdb5_ldap_util create is used to populate the LDAP directory, a wrong hostname is composed.
kdb5_ldap_util seems to use the last domain name of the search list, which is obviously not always correct.
Maybe kdb5_ldap_util should use an algorithm like "hostname --fqdn" to determine the fully qualified domain name of the host.
To post a comment you must log in.