summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Various fixes to Windows build of krb4 library. Fix up KRB5_CALLCONVTom Yu2003-02-111-0/+6
| | | | | | | on some new krb4 library functions. Fix up library generation to refer to des425. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15174 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lots of things to compile on Unix. Fix some typosTom Yu2003-02-111-0/+36
| | | | | | | | | | By means of carrying through local addresses in many places, eliminate or reduce sections of code depending on TARGET_OS_MAC conditionals. Conditionalize some prototypes in krb.h with KRB_PRIVATE, to avoid leakage on Mac. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15173 dc483132-0cff-0310-8789-dd5450dbe970
* Note: these checkins are partial progress for Tom Yu. They probably don't ↵Alexandra Ellwood2003-02-101-0/+40
| | | | | | build; Tom is expecting that. *** CCache-glue.c: Removed copying of the string_to_key type in krb_save_credentials. Saving the string_to_key type is unnecessary and was just for display purposes. Will be removed for KfM 5.0. Updated to use KRB5_CALLCONV instead of INTERFACE and include the krb5's krb4 headers instead of the KfM ones. *** change-password.c: Removed include of CredentialsCache.h and code that switches between string to key types. This doesn't make sense for password changing because the krb4 protocol for password changing implemented here only supports mit's string to key. Bug was in KfM and got ported forward. Should the code call mit_password_to_key for all platforms? *** FSp-glue.c: Removed dependency on MoreFiles and replaced it with code to use FSRefs now that we are Carbon-only. *** g_in_tkt.c: Added loop which calls password to key functions trying each one. This technique was imported from KTH-KRB into KfM. This code still needs to have the TARGET_OS_MAC code made more Unix friendly for Darwin builds. The behavior differences (store the address or not) should be deferred until the very last moment to avoid excessive #ifdefs. *** g_pw_in_tkt.c: Added loop which calls password to key functions trying each one. This technique was imported from KTH-KRB into KfM. *** krb4int.h: Added password-to-key.c functions so they can be used by g_in_tkt.c and g_pw_in_tkt.c. *** password-to-key.c: Removed dependence on the CCAPI so this code can be used on all platforms to implement looping over the password to key functions. *** RealmsConfig-glue.c: Changed to use #ifdef USE_CCAPI like is used elsewhere in the krb5 sources. This is just for consistency in krb5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15172 dc483132-0cff-0310-8789-dd5450dbe970
* Fix ABI divergence between Unix and Mac krb4 libraries in declarationTom Yu2003-02-071-0/+9
| | | | | | of krb_err_txt by means of a gross hack. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15165 dc483132-0cff-0310-8789-dd5450dbe970
* commentTom Yu2003-02-051-0/+5
| | | | | | | | | * decomp_tkt.c (dcmp_tkt_int): Patch from Booker Bense to use krb_get_lrealm() instead of copying KRB_REALM into prealm. ticket: 710 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15153 dc483132-0cff-0310-8789-dd5450dbe970
* * RealmsConfig-glue.c (get_krbhst_default, krb_get_krbhst, krb_realmofhost):Ken Raeburn2003-01-281-0/+5
| | | | | | | | | Use strcpy instead of strncpy. ticket: 1339 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15135 dc483132-0cff-0310-8789-dd5450dbe970
* krb4 library breaks old krb_get_admhst APIKen Raeburn2003-01-271-0/+5
| | | | | | | | | * RealmsConfig-glue.c (krb_get_admhst): Use strcpy instead of strncpy, and max length of MAX_HSTNM. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15134 dc483132-0cff-0310-8789-dd5450dbe970
* * sendauth.c (krb_net_rd_sendauth): Arg raw_len now points to KRB4_32; don'tKen Raeburn2003-01-151-0/+7
| | | | | | | | cast it to pointer to unsigned long. Change ld.so warning message check to be byte-order independent. * krb4int.h (krb_net_rd_sendauth): Decl updated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15124 dc483132-0cff-0310-8789-dd5450dbe970
* This is the last piece of the KfM mergeTom Yu2003-01-151-0/+4
| | | | | | | | * CCache-glue.c: New file from KfM. ticket: 1189 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15123 dc483132-0cff-0310-8789-dd5450dbe970
* Search for ar, ranlib, install in KRB5_BUILD_LIBRARY* macros rather thanKen Raeburn2003-01-101-0/+3
| | | | | | explicitly in directories using those macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15111 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-101-0/+4
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Only system headers should declare errnoSam Hartman2003-01-051-0/+6
| | | | | | | | | | | | | Many parts of krb5 declare errno in source files using extern int errno. This has not been needed in ANSI C for a long time, and actively breaks modern versions of glibc. So these declarations are removed and errno.h included where necessary. Ticket: new Component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970
* * RealmsConfig-glue.c: Fix up KRB5_CALLCONVTom Yu2002-12-181-0/+6
| | | | | | * win_store.c (krb__get_srvtabname): Add const to parameter. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15053 dc483132-0cff-0310-8789-dd5450dbe970
* * tkt_string.c (krb5_set_tkt_string): Add KRB5_CALLCONVTom Yu2002-12-161-0/+6
| | | | | | * win_glue.c (krb_set_tkt_string): Add KRB5_CALLCONV. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15050 dc483132-0cff-0310-8789-dd5450dbe970
* * ad_print.c, g_in_tkt.c, g_pw_in_tkt.c, kadm_net.c, klog.c:Tom Yu2002-12-141-0/+9
| | | | | | | | | | * kuserok.c, log.c, memcache.c, netread.c, netwrite.c: * password_to_key.c, recvauth.c, stime.c, tkt_string.c: Change _WINDOWS to _WIN32 in many places. Update copyright notices. Remove _WINDOWS handling completely in a few places where it's not needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15048 dc483132-0cff-0310-8789-dd5450dbe970
* More KfM merge workTom Yu2002-12-121-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | Create new file FSp-glue.c including KfM functions that had previously been scattered through various other files. Port RealmsConfig-glue.c from KfM, including old Unix-ish krb4 configuration code as fallback. Remove other files containing old realm/config file support. Add KRB5_CALLCONV to krb_get_in_tkt_creds. Fix various functions to take const char* as arguments now that tkt_string() returns const. Assorted minor cleanup. Implement krb_get_err_text in terms of com_err. Implement gross kludge to force krb_err_txt to remain in sync with com_err. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15046 dc483132-0cff-0310-8789-dd5450dbe970
* Fix some KRB5_CALLCONV botches that were causing trouble for Windows buildTom Yu2002-12-071-0/+10
| | | | | | | | | | | | | | Update send_to_kdc() to use various krb5 internals to talk to the krb4 KDC. Add a new internal function to optionally return the local address used to talk to the KDC. Many changes to lib/krb5/os to support this. Fix bug in krb5int_sendto() that prevented correct UDP length from being returned. Update callers of internal locate_* and sendto_* functions. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15038 dc483132-0cff-0310-8789-dd5450dbe970
* * kname_parse.c (kname_unparse): Add new function ported fromTom Yu2002-12-061-0/+3
| | | | | | KfM, including support functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15030 dc483132-0cff-0310-8789-dd5450dbe970
* * decomp_tkt.c (decomp_ticket): Add KRB5_CALLCONVTom Yu2002-12-051-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15028 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Remove now conflicting prototype forTom Yu2002-12-051-0/+3
| | | | | | krb_set_lifetime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15027 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix up includes handling somewhatTom Yu2002-12-041-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15024 dc483132-0cff-0310-8789-dd5450dbe970
* * change_password.c: Remove netdb.h inclusionTom Yu2002-12-031-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15021 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add kadm_err.c. It was missingTom Yu2002-11-271-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15018 dc483132-0cff-0310-8789-dd5450dbe970
* Merge more KfM krb4 thingsTom Yu2002-11-271-0/+58
| | | | | | | | | | | | | | | | | | Implement *_in_tkt_creds, mk_req_creds, and rd_req_int functions. Implement KfM krb4 kadm password changing, mostly by pulling in the client side of the kadm library into the krb4 library. Do some more header file cleanup of des.h and krb.h. Remove some ancient krb4 dead weight. Some Mac-specific functionality still needs to be merged. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15014 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-291-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c (krb_cr_tkt_int): Don't take key arguments any more.Ken Raeburn2002-08-081-0/+6
| | | | | | | (krb_create_ticket, krb_cr_tkt_krb5): Do the encryption here; drop NOENCRYPTION test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14688 dc483132-0cff-0310-8789-dd5450dbe970
* * log.c: Include stdarg.h.Ken Raeburn2002-07-301-0/+7
| | | | | | | (krb_log): Use va_ macros and vfprintf instead of a bunch of pointer arguments. * krb4int.h (krb_log): Declaration updated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14675 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define DEFINE_SOCKADDR, since nothing tests it any moreKen Raeburn2002-07-131-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14644 dc483132-0cff-0310-8789-dd5450dbe970
* drop NEED_TIME_H processing in krb.hKen Raeburn2002-07-131-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14643 dc483132-0cff-0310-8789-dd5450dbe970
* Don't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.Ken Raeburn2002-07-121-0/+7
| | | | | | Instead, include it in the source files that need it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14627 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_priv.c (krb4int_address_less): Put braces around v4mapped addressKen Raeburn2002-06-211-0/+6
| | | | | | | processing to permit local variable declaration. Pass correct value to IN6_IS_ADDR_V4MAPPED. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14551 dc483132-0cff-0310-8789-dd5450dbe970
* * DNR.c: DeletedKen Raeburn2002-05-291-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14456 dc483132-0cff-0310-8789-dd5450dbe970
* Handle IPv6 sockets that are used to communicate over IPv4, and permit use ofKen Raeburn2002-03-121-0/+18
| | | | | | non-IPv4 addresses if address checking is turned off. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14260 dc483132-0cff-0310-8789-dd5450dbe970
* Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn2001-10-101-0/+5
| | | | | | don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-3/+4
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn2001-10-041-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
* avoid extra copy of krb_err.h in include; update dependenciesKen Raeburn2001-09-281-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13763 dc483132-0cff-0310-8789-dd5450dbe970
* * fgetst.c: Include krb4int.hEzra Peisach2001-07-081-0/+6
| | | | | | * krb4int.h: Add fgetst prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13588 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Provide prototype for krb_get_default_user andEzra Peisach2001-06-281-0/+6
| | | | | | | krb_set_default_user if _WINDOWS is not defined. There is a conditional prototype in krb.h for them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13527 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Add prototypes for ad_print, krb_svc_init,Ezra Peisach2001-06-271-0/+15
| | | | | | | | | | | | | | | | | krb_svc_init_preauth, krb_get_svc_in_tkt_preauth, kset_logfile, krb_log, krb_set_logfile, krb_set_lifetime, month_sname, krb_rd_preauth, krb_net_rd_preauth, krb_net_rd_sendauth, krb_stime, krb_start_session, krb_end_session, krb_get_default_user, krb_set_default_user. * ad_print.c, g_svc_in_tkt.c, klog.c, log.c, mk_req.c, month_sname.c, rd_preauth.c, sendauth.c, stime.c, unix_glue.c: Include krb4int.h for prototypes. * decomp_tkt.c: Include krb54proto.h for decomp_tkt_krb5() prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13517 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Add prototypes for krb__get_realmsfile(),Ezra Peisach2001-06-261-0/+14
| | | | | | | | | | | | | | | | | krb5 prototypes are declarted from krb.hkrb__get_cnffile() and krb5 prototypes are declarted from krb.hk_gethostname(). * g_pw_in_tkt.c: Declare passwd_to_key() static. * cr_tkt.c: Move krb5.h inclusion before krb.h so that certain krb5 prototypes are declarted from krb.h. * g_admhost.c, g_cnffile.c, g_krbhst.c, g_krbrlm.c, gethostname.c krb5 prototypes are declarted from krb.hrealmofhost.c: Include krb4int.h and remove prototypes included in there. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13512 dc483132-0cff-0310-8789-dd5450dbe970
* * kname_parse.c (k_isrealm, k_isname, k_isrealm): AddEzra Peisach2001-06-201-0/+14
| | | | | | | | | | | | | KRB5_DLLIMP/KRB5_CALLCONV definitions for function with exported prototype in krb.h. * g_cnffile.c (krb__get_srvtabname, krb__v5_get_file): Declare argument as const. * g_svc_in_tkt.c, put_svc_key.c, rd_req.c, rd_svc_key.c: Get rid of krb__get_srvtabname() prototype - in krb.h now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13418 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.c (strutol): Cast argument to isupper()/tolower() to int.Ezra Peisach2001-06-181-0/+1
| | | | | | * realmofhost.c (krb_realmofhost): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13369 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.c (strutol): Cast argument to isupper()/tolower() to intEzra Peisach2001-06-181-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13368 dc483132-0cff-0310-8789-dd5450dbe970
* * g_pw_in_tkt.c: Include krb5.h so that des_read_password()Ezra Peisach2001-06-181-0/+12
| | | | | | | | | | | | | prototype is present in des.h. Cast argument to des_read_password. * getst.c, put_svc_key.c, rd_svc_key.c, save_creds.c, tf_util.c: Include krb4int.h for prototypes. * krb4int.h: New file containing private prototypes for krb4 functions not used outside the library. Contains getst() and tf_save_cred(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13358 dc483132-0cff-0310-8789-dd5450dbe970
* * sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitionsEzra Peisach2001-06-111-0/+5
| | | | | | for function with exported prototype in krb.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13331 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c (krb_create_ticket): Get rid of last argument (k5key)Ezra Peisach2001-06-081-0/+5
| | | | | | which was added erroneously and is not how code is used in tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13319 dc483132-0cff-0310-8789-dd5450dbe970
* * ad_print.c (ad_print): Cast arguments to printf() to longs toEzra Peisach2001-06-081-0/+5
| | | | | | match format string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13310 dc483132-0cff-0310-8789-dd5450dbe970
* * g_krbrlm.c: Remove unused static variable krb_confEzra Peisach2001-06-011-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g_svc_in_tkt.c (krb_svc_init, krb_svc_init_preauth): Declare as returning int. * gethostname.c: Include unistd.h for gethostname() prototype. * getst.c: Include unistd.h for read() prototype. * in_tkt.c (in_tkt): Cast arguments to debugging printf to int from uid_t to match format statement. * kname_parse.c: Declare k_isname() and k_isinst() as returning int. Cleanup assigments in conditionals. * kuserok.c (kuserok): Cleanup assignment in conditional. * log.c (krb_set_logfile): Declare function as void. * klog.c (kset_logfile): Likewise. * pkt_clen.c (pkt_clen): Declare as returning int. * kntoln.c (krb_kntoln): Likewise. * fgetst.c (fgetst): Likewise. * rd_req.c: Declare local variable only if KRB_CRYPT_DEBUG defined. * recvauth.c: Include stdlib.h and unistd.h for read() and atoi() prototypes. * send_to_kdc.c: Include unistd.h for close() prototype. * sendauth.c (krb_sendauth): Clean up assignment in conditional. * tkt_string.c (tkt_string): Likewise git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13256 dc483132-0cff-0310-8789-dd5450dbe970