From 47df13c713c98329b9bc8eba1fb50d3914653f37 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 4 Feb 2003 22:12:00 +0000 Subject: Get addressless tickets by default By default Kerberos obtains addressless tickets. ticket: new Tags: enhancement git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15150 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 4 ++++ src/lib/krb5/krb/get_in_tkt.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 4a02cabd98..b27558ce45 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2003-02-04 Sam Hartman + + * get_in_tkt.c (krb5_get_init_creds): Default to addressless tickets + 2003-01-12 Ezra Peisach * send_tgs.c (krb5_send_tgs): Free memory leak of TGS_REQ. diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index f165c1ca7b..abd4525a1a 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -885,8 +885,8 @@ krb5_get_init_creds(krb5_context context, /* it would be nice if this parsed out an address list, but that would be work. */ else if (((ret = krb5_libdefault_boolean(context, &client->realm, - "noaddresses", &tempint)) == 0) - && tempint) { + "noaddresses", &tempint)) != 0) + || (tempint == 0)) { ; } else { if ((ret = krb5_os_localaddr(context, &request.addresses))) -- cgit