Subject: | krb5-1.6: tcp kpasswd service required if only admin_server is specified in krb5.conf |
A tcp kpasswd service is required if only admin_server is specified in
krb5.conf .
A patch for this bug is attached.
krb5.conf .
A patch for this bug is attached.
--- src/lib/krb5/os/changepw.c
+++ src/lib/krb5/os/changepw.c 2007/01/05 13:31:45
@@ -67,7 +67,7 @@
if (code == KRB5_REALM_CANT_RESOLVE || code == KRB5_REALM_UNKNOWN) {
code = krb5int_locate_server (context, realm, addrlist,
- locate_service_kadmin, SOCK_STREAM, 0);
+ locate_service_kadmin, sockType, 0);
if (!code) {
/* Success with admin_server but now we need to change the
port number to use DEFAULT_KPASSWD_PORT. */
+++ src/lib/krb5/os/changepw.c 2007/01/05 13:31:45
@@ -67,7 +67,7 @@
if (code == KRB5_REALM_CANT_RESOLVE || code == KRB5_REALM_UNKNOWN) {
code = krb5int_locate_server (context, realm, addrlist,
- locate_service_kadmin, SOCK_STREAM, 0);
+ locate_service_kadmin, sockType, 0);
if (!code) {
/* Success with admin_server but now we need to change the
port number to use DEFAULT_KPASSWD_PORT. */