summaryrefslogtreecommitdiffstats
path: root/src/plugins/locate/python/python.exports
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-04-09 14:35:28 -0400
committerGreg Hudson <ghudson@mit.edu>2013-04-09 19:25:22 -0400
commit0f93db1b5bd0c2aac98945b8a8f1564ede632de0 (patch)
tree98754bf282b0da6c22dd9cf8810adef1f4e04d9d /src/plugins/locate/python/python.exports
parent5f1050be2911d7dec46d73db8f517c0d1815e930 (diff)
downloadkrb5-0f93db1b5bd0c2aac98945b8a8f1564ede632de0.tar.gz
krb5-0f93db1b5bd0c2aac98945b8a8f1564ede632de0.tar.xz
krb5-0f93db1b5bd0c2aac98945b8a8f1564ede632de0.zip
Allow numeric addresses as service hostnames
Since krb5 1.3, krb5_get_host_realm (and therefore krb5_sname_to_principal) has refused hostnames which appear to be numeric addresses--with the exception of 1.6, which was ignoring errors from clean_hostname. In specialized environments, it may be desirable to use IP addresses in service principal names, and there's no compelling reason for us to get in the way of that. Move the numeric address check out of k5_clean_hostname into a new helper function, and simply skip the domain-based mechanisms if it returns true. Factor out the [domain_realm] search into a second new helper function to make it easier to skip. ticket: 7603 (new)
Diffstat (limited to 'src/plugins/locate/python/python.exports')
0 files changed, 0 insertions, 0 deletions