summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-5/+6
| | | | | | | | * krb5-int.h: Added support to store a krb5_principal in the os_context along with the default ccache name (if known, this principal is the same as the last time we looked at the ccache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12164 dc483132-0cff-0310-8789-dd5450dbe970
* Added LoginLib, UtilitiesLib to Kerberos5Lib for popup dialog supportAlexandra Ellwood2000-04-131-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12163 dc483132-0cff-0310-8789-dd5450dbe970
* Clean gss-sample on WindowsDanilo Almeida2000-04-112-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12158 dc483132-0cff-0310-8789-dd5450dbe970
* * vfy_increds.c (krb5_verify_init_creds): appdefault_boolean ->Tom Yu2000-04-082-1/+6
| | | | | | libdefault_boolean; it somehow got missed earlier. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12156 dc483132-0cff-0310-8789-dd5450dbe970
* * wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix upTom Yu2000-04-082-5/+11
| | | | | | | | wrap_size_limit() to deal with integrity wrap tokens properly. The rfc1964 mech always pads and confounds regardless of whether confidentiality is requested. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12155 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-07 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-073-4/+14
| | | | | | | | | | * gic_pwd.c (krb5_get_init_creds_keytab), gic_pwd.c (krb5_get_init_creds_password) when determining whether or not to retry with a "master kdc" do not retry if the return value from the first attempt was KRB5_REALM_CANT_RESOLV. Also, do not overwrite the return code if the return value from the access to the "master kdc" was KRB5_REALM_CANT_RESOLV. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12154 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-07 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-072-4/+12
| | | | | | | | | | * stdcc_util.c (copyCCDataArrayToK5, copyCCDataArrayToK5): * stdcc_util.c (dupCCtoK5, dupK5toCC): memory was being allocated as (sizeof(foo) * count + 1) instead of (sizeof(foo) * (count + 1)) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12153 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-03 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-042-4/+12
| | | | | | | | | | * stdcc_util.c (copyCCDataArrayToK5, copyCCDataArrayToK5): * stdcc_util.c (dupCCtoK5, dupK5toCC): Changed all references to the type UInt32 to unsigned int since UInt32 is not a standard type on Unix or Win32 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12149 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-03 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-042-1/+7
| | | | | | | | * prof_get.c: profile_get_boolean() was calling prof_parse_boolean() instead of profile_get_boolean() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12148 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-03 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-042-6/+12
| | | | | | | | * prof_get.c: . Added #include <limits.h> for definitions of INT_MAX, etc. . Changed 'ret_int' to 'ret_boolean' in prof_get_boolean git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12147 dc483132-0cff-0310-8789-dd5450dbe970
* Upped CFM interface version on v5 lib because we mucked with the export file ↵Miro Jurisic2000-03-261-3/+3
| | | | | | and removed stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12145 dc483132-0cff-0310-8789-dd5450dbe970
* Readded other crypto library calls needed by GSSLib (grumble grumble)Miro Jurisic2000-03-261-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12144 dc483132-0cff-0310-8789-dd5450dbe970
* Oops, extra 'Miro Jurisic2000-03-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12143 dc483132-0cff-0310-8789-dd5450dbe970
* Readded krb5_c_keyed_checksum_types for GSSLibMiro Jurisic2000-03-261-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12142 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed protos for krb5_locate_srv_*Miro Jurisic2000-03-262-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12141 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-03-24 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-03-242-115/+189
| | | | | | | | | | | * stdcc_util.c (copyCCDataArrayToK5, copyCCDataArrayToK5): Modified to copy authdata as well... this code may have bugs since I couldn't get a good case where authdata != NULL * stdcc_util.c (dupCCtoK5, dupK5toCC): Added code to store times in localtime, not in kdc time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12139 dc483132-0cff-0310-8789-dd5450dbe970
* jaltman@columbia.edu Mar 24, 2000:Jeffrey Altman2000-03-241-6/+5
| | | | | | | In conjunction with the patch to alter the handling of "master" kdc's this patch updates the prototypes of the private functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12138 dc483132-0cff-0310-8789-dd5450dbe970
* jaltman@columbia.edu Mar 24, 2000:Jeffrey Altman2000-03-248-171/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | In 1.0.6, the code was altered to provide a fallback mechanism to try the "master" kdc's in case the normal kdc's did not have the most up to date password information. The original implementation had significant conflicts with the use of DNS SRV records. In addition, it often performed a lot of unneeded work. The new code still performs a fallback to the "master" kdc but only does the computation of the "master kdc list" if we are in fact going to attempt to use a master. For DNS SRV we introduce a new _kerberos-master.<proto>.<REALM> record to list the master kdc's and the priorities to be used when contacting a master. This allows for a multi-tiered implementation. --- The other change is local to krb/get_in_tkt.c. In preparation for adding public krb5_appdefault_boolean and krb5_appdefault_string functions, the static functions by that name in get_in_tkt.c are renamed to krb5_libdefault_xxxxx since they currently access the [libdefault] section of the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12137 dc483132-0cff-0310-8789-dd5450dbe970
* Added profile_get_booleanMiro Jurisic2000-03-245-1/+97
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12136 dc483132-0cff-0310-8789-dd5450dbe970
* Cleaned up the Mac export file: removed replay cache exports, added new ↵Miro Jurisic2000-03-241-35/+21
| | | | | | functions for 1.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12135 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_free_default_realmMiro Jurisic2000-03-204-1/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12133 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_free_default_realmMiro Jurisic2000-03-201-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12132 dc483132-0cff-0310-8789-dd5450dbe970
* jaltman fix for off-by-one errorKen Raeburn2000-03-202-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12128 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h for strlen prototypeEzra Peisach2000-03-182-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12127 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c (krb_cr_tkt_int): Add static prototype.Ezra Peisach2000-03-163-0/+18
| | | | | | * decomp_tkt.c: (dcmp_tkt_int): Add static prototype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12125 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up unsed variables when V4 compatibility is not definedEzra Peisach2000-03-162-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12124 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused variablesEzra Peisach2000-03-162-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12123 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (k4_kinit): Fix the code that was broken withEzra Peisach2000-03-162-6/+25
| | | | | | | krb5_get_prompt_types code changes. Also - cleanup unused variables when krb4 not compiled in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12122 dc483132-0cff-0310-8789-dd5450dbe970
* Matt Crawford's kadm acl fixes & enhancementsKen Raeburn2000-03-165-97/+412
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12121 dc483132-0cff-0310-8789-dd5450dbe970
* Get rid of unused variableEzra Peisach2000-03-162-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12120 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (update_ref_count): Copy passwd info before calling getuserattr, toKen Raeburn2000-03-162-0/+19
| | | | | | keep data from getting clobbered. Patch from Mark Roth. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12119 dc483132-0cff-0310-8789-dd5450dbe970
* Add krb5_get_prompt_types() functionalityDanilo Almeida2000-03-1613-43/+148
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12118 dc483132-0cff-0310-8789-dd5450dbe970
* * stdcc.c (krb5_stdcc_destroy): Do not mask KRB5_FCC_NOFILE errorDanilo Almeida2000-03-162-6/+15
| | | | | | on destroy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12117 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_DNS): Fix typo that caused the DNS code to ↵Ken Raeburn2000-03-152-1/+6
| | | | | | never get enabled git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12116 dc483132-0cff-0310-8789-dd5450dbe970
* Use MIT runtime instead of metrowerksMiro Jurisic2000-03-151-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12114 dc483132-0cff-0310-8789-dd5450dbe970
* volatile fixesKen Raeburn2000-03-152-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12113 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (os_get_default_config_files): Remove unused variableKen Raeburn2000-03-142-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12112 dc483132-0cff-0310-8789-dd5450dbe970
* * def_realm.c: Include netinet/in.h if availableKen Raeburn2000-03-142-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12111 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for gethostbyname2Ken Raeburn2000-03-142-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12110 dc483132-0cff-0310-8789-dd5450dbe970
* * sock2p.c: New file.Ken Raeburn2000-03-145-34/+188
| | | | | | | | | | | | | | | | | (inet_ntop): Define if system doesn't provide it. (sockaddr2p): New function. * Makefile.in (SRCS, OBJS): Add sock2p. * kdc_util.h (inet_ntop, sockaddr2p): Declare them. * network.c (add_fd): New function. Reallocate udp_port_fds array as needed here. (setup_port): Use add_fd to record new sockets. Use inet_ntop unconditionally. Disable ipv6 support until process_packet and friends will support it. (process_packet): Ignore ECONNREFUSED when reading UDP packets. Fill in port field of faddr properly, dependent on address family. Use sockaddr2p when logging source address. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12109 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c: Add support for using both -4 and -5. Default to krb5Danilo Almeida2000-03-143-71/+73
| | | | | | | | | only. Add KINIT_DEFAULT_BOTH support. Tweak usage info. * kinit.M: Fix a couple of typos. Document new default behavior. Document that -4 and -5 may be combined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12108 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.M: Get man page up-to-dateDanilo Almeida2000-03-143-51/+109
| | | | | | * klist.c: Add support for combining -4 and -5. Tweak usage info. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12107 dc483132-0cff-0310-8789-dd5450dbe970
* * kdestroy.M: Make up-to-dateDanilo Almeida2000-03-143-32/+96
| | | | | | | | * kdestroy.c: Add support for combining -5 and -4. Add ability to easily change defaults in terms of whether to use 5, 4 or both. Expand usage info. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12106 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Update prototype to sync with changes in preauth2.cTom Yu2000-03-132-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12105 dc483132-0cff-0310-8789-dd5450dbe970
* Fix one of the bugs discovered at Connectathon: etype specified in preauthKen Raeburn2000-03-133-5/+68
| | | | | | data is ignored under get_in_tkt interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12104 dc483132-0cff-0310-8789-dd5450dbe970
* Also change kdc_insert_lookaside() to take a const krb5_fulladdr *Ezra Peisach2000-03-123-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12103 dc483132-0cff-0310-8789-dd5450dbe970
* * replay.c, kdb_util.h (kdc_check_lookaside): Make second argumentEzra Peisach2000-03-123-2/+7
| | | | | | const to allow passing a const krb5_fulladdr * and keeping the compiler happy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12102 dc483132-0cff-0310-8789-dd5450dbe970
* Change function prototypes to match the entries in krb5.hin - specificallyEzra Peisach2000-03-1211-14/+26
| | | | | | use krb5_const instead of const. Under ultrix they are not the same. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12101 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c (krb5_dbe_lookup_mod_princ_data): In casting argumentEzra Peisach2000-03-122-1/+6
| | | | | | | | to krb5_parse_name, use krb5_const not const. Under ultrix, krb5_const is not the same as const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12100 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 3.0d3Miro Jurisic2000-03-121-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12098 dc483132-0cff-0310-8789-dd5450dbe970