]> git.ipfire.org Git - thirdparty/krb5.git/commit
use new config file tag for master KDC
authorKen Raeburn <raeburn@mit.edu>
Fri, 25 Jul 2003 15:37:57 +0000 (15:37 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 25 Jul 2003 15:37:57 +0000 (15:37 +0000)
commit6e14d0ea43d7ec604a3c789b51de7ac117ce9367
treeb66181c8e57f0b50851593dd8f352fa0f731496d
parentb3cb20363d99c8edeaa2796d21d007e44a9ee91d
use new config file tag for master KDC

We want to avoid making extra attempts to contact the "master" KDC, in the case
where the password appears to be incorrect according to one KDC but we think
maybe the master KDC could have a newer password, if there isn't actually a
master KDC.  Currently the admin_server tag is overloaded for kadmin and
password changing.  So, don't use it as a filter on the KDC list; instead, look
for master_kdc as an independent list.

(See also ticket 1511 re contacting the master twice if it's first in the
regular KDC list.)

Doc updates still needed.

* locate_kdc.c (krb5_locate_kdc): Always pass 0 to locate_server as the
get_masters argument.  Instead, if get_masters is set, look up "master_kdc" in
the config file instead of "kdc".

ticket: new
target_version: 1.3.2
tags: pullup
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15736 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/locate_kdc.c