diff options
author | Sam Hartman <hartmans@mit.edu> | 2003-02-04 22:12:00 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 2003-02-04 22:12:00 +0000 |
commit | 47df13c713c98329b9bc8eba1fb50d3914653f37 (patch) | |
tree | 3e468cf79306dd63b2aa15a8a82532967bd8b3f6 /src/lib/krb5 | |
parent | f5e4086a74c01bf09e8b7c2cb63854ec7d4f24f1 (diff) | |
download | krb5-47df13c713c98329b9bc8eba1fb50d3914653f37.zip krb5-47df13c713c98329b9bc8eba1fb50d3914653f37.tar.gz krb5-47df13c713c98329b9bc8eba1fb50d3914653f37.tar.bz2 |
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
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/krb5/krb/get_in_tkt.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 4a02cab..b27558c 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2003-02-04 Sam Hartman <hartmans@mit.edu> + + * get_in_tkt.c (krb5_get_init_creds): Default to addressless tickets + 2003-01-12 Ezra Peisach <epeisach@bu.edu> * 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 f165c1c..abd4525 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))) |