summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * kvno.c (main): Compiler warning fixes - declare usage as static, andEzra Peisach2000-08-022-8/+20
| | | | | | break out assignments within conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12596 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf: Test with a space after ']' and '{'Ezra Peisach2000-08-023-3/+14
| | | | | | | * prof_parse.c (parse_std_line): Spaces after '{' or ']' should not be a fatal error. This is a common lossage in krb5.conf files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12595 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing krb5_cc_store_cred()Danilo Almeida2000-07-302-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12594 dc483132-0cff-0310-8789-dd5450dbe970
* kpasswd.c (main): Warnings cleanupEzra Peisach2000-07-292-16/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12593 dc483132-0cff-0310-8789-dd5450dbe970
* * sserver.c (main): Include unistd.h if present (for closeEzra Peisach2000-07-292-15/+29
| | | | | | | prototype). Change variable named sin (shadows maht library). Compiler warning cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12592 dc483132-0cff-0310-8789-dd5450dbe970
* * sclient.c: Include unistd.h if present (for close prototype).Ezra Peisach2000-07-292-16/+28
| | | | | | Change variable named sin (shadows maht library). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12591 dc483132-0cff-0310-8789-dd5450dbe970
* * utility.c: Add casts on types being sent to internal functionsEzra Peisach2000-07-295-22/+39
| | | | | | | | | | * krb5_encode_test.c: Declare internal functions as static. * ktest.c: Remove unused functions. Clean up compiler warnings. * trval.c: Add proper prototype for declared functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12590 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_mkdums.c: Remove unused quit() and compiler warning cleanupEzra Peisach2000-07-282-13/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12589 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c: Move global (to file) enctype into main to preventEzra Peisach2000-07-282-10/+7
| | | | | | being shadowed in other routines. Remove unused krb5_parse_lifetime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12588 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c (check_princ): Compiler warning cleanup. Get ridEzra Peisach2000-07-282-14/+8
| | | | | | of unused function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12587 dc483132-0cff-0310-8789-dd5450dbe970
* t_imp_name.c: Profide full prototypes for internal functionsEzra Peisach2000-07-282-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12586 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c: Cleanup internal type warnings in calls to profile_initEzra Peisach2000-07-245-8/+23
| | | | | | | | | | | | * test_parse.c (main): Cast arguments to error_message. * prof_file.c (profile_open_file): Variable with argument to malloc should be unsigned. * profile.hin: Revert changes to const_profile_filespect_t and profile_filespec_t to preserve interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12585 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Actually define NOARGS as needed. Add prototype forEzra Peisach2000-07-242-0/+9
| | | | | | error table initiialization function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12584 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add code to handle setting of PASS to constrainTom Yu2000-07-232-9/+24
| | | | | | | | | | | multipass testing to particular passes. dejagnu-1.3 doesn't have support for PASS, so we kludge it here, though some later versions handle it by themselves. (krb_exit): Add new proc to clean up on exit. (kinit): Remove "expect \r" since "expect eof" will drain the pty buffer properly anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12583 dc483132-0cff-0310-8789-dd5450dbe970
* * accessor.c: Add NEED_SOCKETS in order to get prototype forTom Yu2000-07-232-0/+6
| | | | | | krb5_locate_kdc(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12582 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (writer): Improved bandwith efficiency by readingPeter Litwack2000-07-212-68/+162
| | | | | | | | | | | and sending more than one character at a time if multiple characters are available to be read from the terminal. * krlogin.c (read_wrapper): Added this function as a helper to writer. It facilitates checking for escape sequences (~^Z etc.) when reading mulitple characters at a time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12581 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: For get_pw_tkt() and unix_time_gmt_unixsec() add requiredEzra Peisach2000-07-212-2/+9
| | | | | | KRB5_DLLIMP and KRB4_CALLCONV declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12580 dc483132-0cff-0310-8789-dd5450dbe970
* * g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintionEzra Peisach2000-07-213-1/+20
| | | | | | To be compatible with krb.h changes for windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12579 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix build so we don't try to build an extra lib.Danilo Almeida2000-07-202-7/+16
| | | | | | | Fix up krb524 build so we default to krb5's krb4 but can use an alternate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12578 dc483132-0cff-0310-8789-dd5450dbe970
* * win-pre.in: Add KRB4_INCLUDES definitionDanilo Almeida2000-07-202-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12577 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Compile .et file for krb524Danilo Almeida2000-07-202-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12576 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_32.def: Add krb5_cc_* functionsDanilo Almeida2000-07-202-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12575 dc483132-0cff-0310-8789-dd5450dbe970
* * memcache.c: Add krb_in_tkt() function to initialize ticket for aDanilo Almeida2000-07-202-0/+16
| | | | | | | | given principal. It is like in_tkt() but it is public and also takes a realm for credentials caches that require a full principal name (e.g., CCAPI). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12574 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_file.c, cc_stdio.c: Remove unused krb5_[fs]cc_default_name()Danilo Almeida2000-07-204-22/+37
| | | | | | | | prototype. * cc_stdio.c: Fix calling convention for op functions. * ccfns.c (krb5_cc_get_type): Fix calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12573 dc483132-0cff-0310-8789-dd5450dbe970
* * stdcc.h: Include k5-int.h to get krb5_ccache definitionDanilo Almeida2000-07-202-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12572 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Fix calling convention for krb5_cc_get_typeDanilo Almeida2000-07-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12571 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Change ${CC} and ${OBJS} to $(CC) and $(OBJS) soDanilo Almeida2000-07-202-1/+6
| | | | | | nmake does not freak out. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12570 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Make krb524 library and k524init program build onDanilo Almeida2000-07-2012-54/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows. * krb524.def, libinit.c: Files needed to build on Windows. * k524init.c: Use public krb_in_tkt() with realm paramter instead of potentially private in_tkt() w/o realm parameter (which does not even exist w/o the realm paramter in some krb4 libraries). Use krb_save_credentials() instead of tf_init() then tf_save_credentials() then tf_close(). * cnv_tkt_skey.c: Put copy of krb_cr_tkt_krb5() and krb_create_ticket() as static functions in this file, calling them krb524int_*(). Call these functions instead of the ones in the MIT krb4 library included in the krb5 tree. * conv_princ.c: Remove unused headers. * k524init.c, cnv_tkt_skey.c, conv_creds.c, encode.c, misc.c, sendmsg.c, test.c: Do not include Unix headers on Windows. * sendmsg.c (krb524_sendto_kdc): Fix call to krb5_locate_kdc() to use right number and types of parameters. Use krb5int_accessor() to get at internals: krb5_locate_kdc(), krb5_max_dgram_size, krb5_skdc_timeout_1, and krb5_skdc_timeout_shift. (The latter 3 should probably be #defines...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12569 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove references to now defunct directoriesDanilo Almeida2000-07-192-11/+6
| | | | | | lib/krb5/ccache/{file,memory,stdio}. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12568 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_memory.c (mcc_head): Combine static declaration and initializationKen Raeburn2000-07-192-3/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12566 dc483132-0cff-0310-8789-dd5450dbe970
* Add ms2mit and krb524 Makefile creation to Windows build preparationDanilo Almeida2000-07-192-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12565 dc483132-0cff-0310-8789-dd5450dbe970
* * getcred.c (main): Use correct parameters for krb5_cc_default()Danilo Almeida2000-07-192-1/+6
| | | | | | in case someone actually wants to build this file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12564 dc483132-0cff-0310-8789-dd5450dbe970
* Add ms2mit utilityDanilo Almeida2000-07-192-0/+410
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12563 dc483132-0cff-0310-8789-dd5450dbe970
* Add ms2mitDanilo Almeida2000-07-192-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12562 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4_32.def: Add krb_in_tkt.Danilo Almeida2000-07-193-0/+8
| | | | | | * krb5_32.def: Add krb5int_accessor. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12561 dc483132-0cff-0310-8789-dd5450dbe970
* Add krb5int_accessor() to access internal krb5 functions from outsideDanilo Almeida2000-07-193-0/+65
| | | | | | | | the library (so that we don't have to export them for the krb525 and gssapi libraries). The goal is to make this function eventually do nothing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12560 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Add krb5int_accessor() and related definitions.Danilo Almeida2000-07-192-0/+34
| | | | | | | | | | krb5int_accessor should be used by any code that is trying to use krb5 internal functions (such as krb524 and GSSAPI). The goal is to eventually make this function do nothing. That will only be accomplished when we fix our apps/libraries not to call internal functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12559 dc483132-0cff-0310-8789-dd5450dbe970
* krb.h: Add krb_in_tkt() prototypeDanilo Almeida2000-07-192-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12558 dc483132-0cff-0310-8789-dd5450dbe970
* * in_tkt.c: Add krb_in_tkt() function to initialize ticket for aDanilo Almeida2000-07-192-0/+16
| | | | | | | | given principal. It is like in_tkt() but it is public and also takes a realm for credentials caches that require a full principal name (e.g., CCAPI). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12557 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c, hst_realm.c, def_realm.c, changepw.c: IncludeEzra Peisach2000-07-187-1/+20
| | | | | | | | | | | os-proto.h for internal prototypes. * os-proto.h: Prototypes for _krb5_use_dns_realm(), _krb5_use_dns_kdc(), _krb5_conf_boolean(). * t_std_conf.c: Include k5-int.h for internal function prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12556 dc483132-0cff-0310-8789-dd5450dbe970
* * vfy_increds.c: include int-proto.h for krb5_libdefault_booleanEzra Peisach2000-07-187-2/+35
| | | | | | | | | | | | | | | | | | | prototype. * t_ser.c (ser_eblock_test): ifdef out old eblock serialization test which is no longer called. (see 1999-09-01 ChangeLog) * t_kerb.c: Cast argument to fprintf to long to agree with format string. * t_deltat.c: If MIN is defined, undef before redefined as 60. * str_conv.c: Provide strptime prototype if the system header files fail to provide a prototype. * int-proto.h: Add prototype for krb5_libdefault_boolean() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12555 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Move prototypes for krb5 only internal functionsEzra Peisach2000-07-182-8/+7
| | | | | | | | krb5_libdefault_boolean, _krb5_use_dns_realm, _krb5_use_dns_kdc, _krb5_conf_boolean to the header files in the lib/krb5/{os,krb} directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12554 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c: Provide format attribute for error() for versions of gccEzra Peisach2000-07-183-2/+18
| | | | | | | | | that support it. * configure.in (LOGINLIBS): Test for crypt() in crypt library only modifies LOGINLIBS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12553 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_memory.c (mcc_head): Now staticKen Raeburn2000-07-142-2/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12552 dc483132-0cff-0310-8789-dd5450dbe970
* missed a stray #endifKen Raeburn2000-07-141-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12551 dc483132-0cff-0310-8789-dd5450dbe970
* merge duplicate copyright notices; eliminate #if 0 codeKen Raeburn2000-07-142-1664/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12550 dc483132-0cff-0310-8789-dd5450dbe970
* Eliminate duplicated copyright messages, and most "former file foo.c" markersKen Raeburn2000-07-141-948/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12549 dc483132-0cff-0310-8789-dd5450dbe970
* keep scc.h tooKen Raeburn2000-07-142-1/+102
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12548 dc483132-0cff-0310-8789-dd5450dbe970
* Delete subdirectories we aren't compiling any more.Ken Raeburn2000-07-1483-8403/+105
| | | | | | | | Rescued contents of "README", "todo", and test cases. Test cases aren't actually used at present; this should be fixed, but they'll probably need some work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12547 dc483132-0cff-0310-8789-dd5450dbe970
* log for ccache changesKen Raeburn2000-07-141-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12546 dc483132-0cff-0310-8789-dd5450dbe970