summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * cr_tkt.c: Provide prototype for static krb_cr_tkt_int functionEzra Peisach2000-06-293-1/+16
| | | | | | | | before being used. * getst.c: Remove unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12459 dc483132-0cff-0310-8789-dd5450dbe970
* prng.c (prng_cleanup): Ensure memory allocated before calling freeEzra Peisach2000-06-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12458 dc483132-0cff-0310-8789-dd5450dbe970
* * conv_princ.c, get_creds.c, get_in_tkt.c, mk_rep.c, parse.c,Ezra Peisach2000-06-297-10/+7
| | | | | | send_tgs.c: Remove unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12457 dc483132-0cff-0310-8789-dd5450dbe970
* * def_realm.c: Add newline at end of fileEzra Peisach2000-06-294-3/+12
| | | | | | | | * gmt_mktime.c: Define days_in_month as type int. * locate_kdc.c (krb5_locate_srv_dns): Cleanup unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12456 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up unused variableEzra Peisach2000-06-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12455 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused variablesEzra Peisach2000-06-294-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12454 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefault.c: Add newline at end of file (compiler warning)Ezra Peisach2000-06-292-12/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12453 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_get.c (asn1_get_tag): Remove unused variableEzra Peisach2000-06-292-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12452 dc483132-0cff-0310-8789-dd5450dbe970
* Get rid of unused variableEzra Peisach2000-06-282-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12448 dc483132-0cff-0310-8789-dd5450dbe970
* des.c, des3.c: Remove unused variablesEzra Peisach2000-06-283-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12447 dc483132-0cff-0310-8789-dd5450dbe970
* afsstring2key.c: "register x" -> "register int x"Ezra Peisach2000-06-282-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12446 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2 branchKen Raeburn2000-06-27126-2661/+2906
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-06-08 Alexandra Ellwood <lxs@mit.edu> * stdcc_util.c (dupCCtoK5, ↵Alexandra Ellwood2000-06-092-4/+9
| | | | | | dupK5toCC): Fixed code that stores times in localtime, not in kdc time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12369 dc483132-0cff-0310-8789-dd5450dbe970
* Check for existance of <memory.h>.Wilfredo Sanchez2000-06-0131-3/+95
| | | | | | (from Nathan Neulinger <nneul@umr.edu>) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12332 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-0141-82/+82
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* This time really: 2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: ↵Alexandra Ellwood2000-05-311-1/+1
| | | | | | Changed kerberosPrincipal_V5 to kerberosVersion_V5 to reflect the new KLL constant name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12323 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-31 Alexandra Ellwood <lxs@mit.edu> ccdefault.c: Changed ↵Alexandra Ellwood2000-05-312-9/+5
| | | | | | kerberosPrincipal_V5 to kerberosVersion_V5 to reflect the new KLL constant name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12322 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-19 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-192-1/+10
| | | | | | | | | | | * acquire_cred.c: Changed to use krb5int_cc_default. This function supports the Kerberos Login Library and pops up a dialog if the cache does not contain valid tickets. This is used to automatically get a tgt before obtaining service tickets. Note that this should be an internal function because callers don't expect krb5_cc_default to pop up a dialog! (We found this out the hard way :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12293 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-19 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-192-16/+45
| | | | | | | | | | | * ccdefault.c: Added krb5int_cc_default. This function supports the Kerberos Login Library and pops up a dialog if the cache does not contain valid tickets. This is used to automatically get a tgt before obtaining service tickets. Note that this should be an internal function because callers don't expect krb5_cc_default to pop up a dialog! (We found this out the hard way :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12292 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-19 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-193-2/+11
| | | | | | | | | | | * sendauth.c, fwd_tgt.c: Changed to use krb5int_cc_default. This function supports the Kerberos Login Library and pops up a dialog if the cache does not contain valid tickets. This is used to automatically get a tgt before obtaining service tickets. Note that this should be an internal function because callers don't expect krb5_cc_default to pop up a dialog! (We found this out the hard way :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12291 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused variables. Reindent to krb5 coding style. Remove whitespaceDanilo Almeida2000-05-183-392/+396
| | | | | | at end of lines. Replace C++ comments with C comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12284 dc483132-0cff-0310-8789-dd5450dbe970
* Do not define or try to load cc_lock_request, which isDanilo Almeida2000-05-182-0/+11
| | | | | | not actually used anywhere in the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12283 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-05-15 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-05-163-0/+194
| | | | | | | | | | * Added new source file appdefault.c Implements new public functions krb5_appdefault_string krb5_appdefault_boolean git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12261 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-05-15 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-05-162-1/+10
| | | | | | | | | * Export new public functions krb5_appdefault_string krb5_appdefault_boolean git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12260 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-05-09 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-092-0/+7
| | | | | | | *localaddr.c: Fixed the local_addr_fallback_kludge so that it actually does something. Before that the error code it was handling was blowing it away in cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12243 dc483132-0cff-0310-8789-dd5450dbe970
* * stdcc_util.c (dupCCtoK5, dupK5toCC): Miro Jurisic2000-05-042-2/+12
| | | | | | | Conditionalized local/KDC time conversions for Mac-only until we figure out what to do about that git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12220 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-29 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-302-13/+5
| | | | | | | * hst_realm.c (krb5_get_host_realm) remove the searchlist and defaultrealm _kerberos queries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12209 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-04-28 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-282-0/+10
| | | | | | | * gic_pwd.c (krb5_init_creds_password) added code to return to login library if the password is expired (login library handles this error appropriately). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12201 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-26 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-262-2/+7
| | | | | | | * ccdefault.c: Added version number to internal Kerberos Login Library routine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12196 dc483132-0cff-0310-8789-dd5450dbe970
* * prompter.c (krb5int_set_prompt_types): Set to actual value intead of 0Danilo Almeida2000-04-182-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12179 dc483132-0cff-0310-8789-dd5450dbe970
* * winccld.h: Define CC_API_VER2 for all Windows code using ccapi.Danilo Almeida2000-04-184-1/+62
| | | | | | | | | | | | Update dynamic loading declarations to use CC_API_VER2. * stdcc.c: Define CC_API_VER2 if not defined rather than just if not Windows. * winccld.c (LoadFuncs): Get error on DLL load failure even though we do not use it in case we are doing source-level debugging. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12178 dc483132-0cff-0310-8789-dd5450dbe970
* Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-04-151-1/+1
| | | | | | - typo "==" should have been "=" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12172 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-0/+10
| | | | | | | | | | | | * ccdefault.c: Added Kerberos Login library support (with ifdefs to control whether or not it is on. Also 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. * ccdefname.c: 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@12170 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-132-8/+20
| | | | | | | | * init_os_ctx.c: 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@12169 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-0/+7
| | | | | | | | * ccdefname.c: 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@12167 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-1/+62
| | | | | | | | | * ccdefault.c: Added Kerberos Login library support (with ifdefs to control whether or not it is on. Also 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@12166 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-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-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 krb5_free_default_realmMiro Jurisic2000-03-202-1/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12133 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
* Matt Crawford's kadm acl fixes & enhancementsKen Raeburn2000-03-163-66/+364
| | | | 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
* Add krb5_get_prompt_types() functionalityDanilo Almeida2000-03-168-2/+57
| | | | 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
* volatile fixesKen Raeburn2000-03-152-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12113 dc483132-0cff-0310-8789-dd5450dbe970