Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 215 I believe the logic is working as intended. If the first krb5int_locate_server() call succeeds, then it succeeded by finding a profile entry for "kpasswd_server", which is interpreted with a default port of 464.