From: Sam Hartman Date: Tue, 4 Feb 2003 22:12:00 +0000 (+0000) Subject: Get addressless tickets by default X-Git-Tag: krb5-1.3-alpha1~127 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47df13c713c98329b9bc8eba1fb50d3914653f37;p=krb5.git 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 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 4a02cabd9..b27558ce4 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 f165c1ca7..abd4525a1 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)))