* kadm5_create.c: Include fake-addrinfo.h.
authorKen Raeburn <raeburn@mit.edu>
Wed, 14 Mar 2007 01:52:23 +0000 (01:52 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 14 Mar 2007 01:52:23 +0000 (01:52 +0000)
commitf87060d06ed9360385fb143cb54535f600a0cc18
tree02a1680ac21592f418abc2007f6dc2fe5764640b
parent7014e5817b47294c33ab296c675899c24a663128
* kadm5_create.c: Include fake-addrinfo.h.
(add_admin_princs): Use getaddrinfo instead of gethostbyname.  Report
the correct message on getaddrinfo errors, and return EINVAL to
caller.

ticket: 5257

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19226 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/dbutil/kadm5_create.c