From 2ee7c8e0714dce64604bc37fee6272286b6bcf3a Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 30 Jun 1999 19:17:23 +0000 Subject: [PATCH] * locate_kdc.c (krb5_locate_kdc): Kerberos admin service name is "kerberos-adm", not "kadmin", so look up "_kerberos-adm._tcp" in DNS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11537 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 6 ++++++ src/lib/krb5/os/locate_kdc.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index eb89a59a2..64f321349 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,9 @@ +1999-06-30 Ken Raeburn + + * locate_kdc.c (krb5_locate_kdc): Kerberos admin service name is + "kerberos-adm", not "kadmin", so look up "_kerberos-adm._tcp" in + DNS. + 1999-06-21 Ken Raeburn and Jeffrey Altman and Ken Hornstein diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index fc19467a9..6666426e0 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -554,7 +554,7 @@ krb5_locate_kdc(context, realm, addr_pp, naddrs, master_index, nmasters) addr_pp, naddrs); if ( master_index && nmasters ) { - code = krb5_locate_srv_dns(realm, "_kadmin", "_tcp", + code = krb5_locate_srv_dns(realm, "_kerberos-adm", "_tcp", &admin_addr_p, &nadmin_addrs); if ( code ) { free(*addr_pp); -- 2.26.2