summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * descbc.c, k5_md4des.c, k5_md5des.c, t_cksum.c: Cleanup unsignedEzra Peisach2000-09-256-20/+34
| | | | | | | | | vs. signed warnings. * Makefile.in (t_cksum5, t_cksum4): Executables do not need to link with the krb5 library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12670 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kerb.c: Add prototypes for test functionsEzra Peisach2000-09-252-3/+14
| | | | | | Cleans up gcc warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12669 dc483132-0cff-0310-8789-dd5450dbe970
* * t_cc.c: Code cleanup. Test more failure modes of the cache libraryEzra Peisach2000-09-245-10/+142
| | | | | | | | | | | | * cccopy.c (krb5_cc_copy_creds): Memory leak. Call krb5_cc_end_seq_get. * cc_file.c (krb5_fcc_generate_new): Set flags to KRB5_TC_OPENCLOSE, otherwise parts of the library assumes that the file is open, when it is not. * cc_stdio.c (krb5_scc_generate_new): Same as cc_file.c change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12668 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check-unix): Build and exectute t_ccEzra Peisach2000-09-223-3/+220
| | | | | | * t_cc.c: Test harness for memory, stdio and file caches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12665 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (krb5_gss_accept_sec_context): WhenEzra Peisach2000-09-222-11/+21
| | | | | | | | | GCC_S_NO_CHANNEL_BINDINGS is set by the server, skip over the bindings sent from the client. RFC-1964 indicates that the client's channel bindings are always sent in checksum field and need to be accounted for, evn if the server does not care. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12664 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_io.h (struct krb5_rc_iostuff): Internal structure - changeEzra Peisach2000-09-215-13/+29
| | | | | | | | | | | | | | position in file from long to off_t (as argument for lseek). * rc_io.c (krb5_rc_io_read, krb5_rc_io_write): Unsigned vs signed warnings cleanup. * rc_dfl.c (alive): Do not shadow time() with variable named for same. * rc_base.c (krb5_rc_resolve_full): Cleanup unsigned vs. signed warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12663 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_TYPE_OFF_T for off_t declaraionEzra Peisach2000-09-212-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12662 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c (krb5_dbe_free_contents): Clean up signedness warningEzra Peisach2000-09-206-15/+47
| | | | | | | | | | | | | | | | * fetch_mkey.c (krb5_db_fetch_mkey): Clean up signedness warnings. * kdb_db2.c (destroy_file_suffix): Declare function as static. Rewrite code to use off_t and unsigned ints to handle gcc warnings. (kdb5_context_internalize) Unmarshal boolean type properly. * store_mkey.c (krb5_db_store_mkey): Use mode_t instead of int in call to umask. * configure.in: Add AC_TYPE_MODE_T and AC_TYPE_OFF_T for mode_t and off_t declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12661 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-09-01 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-09-022-13/+58
| | | | | | | | | | | | | | | | * accept_sec_context.c: krb5_gss_accept_sec_context() It has been determined by Martin Rex that Windows 2000 is incapable of supporting channel bindings. This caused us to examine the various RFCs affecting FTP GSSAPI to determine whether or not channel bindings were a MUST for implementation of the FTP GSSAPI protocol. It was determined that the channel binding facility as described in RFC2743 is optional. Therefore, we cannot assume that all clients or servers will support it. The code was updated to allow GSS_C_NO_CHANNEL_BINDINGS when specified by either the client or server to indicate that channel bindings will not be used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12645 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in(OBJS, SRCS): Add lifetime.{o,c}Tom Yu2000-09-013-0/+138
| | | | | | | | | | * lifetime.c: New file. For the purposes of CMU and AFS compatibility, this implements the exponential krb4 ticket lifetimes for lifetime values above 127, in the krb_life_to_time() and krb_time_to_life() functions. Values 127 and below are still treated normally. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12644 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-08-31 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-08-311-2/+2
| | | | | | | | | * locate_kdc.c: krb5_locate_srv_dns() Ensure that res_search() is called with a query string that is terminated by a '.' in order to disable the expansion of dns-search lists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12642 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-08-31 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-08-312-2/+23
| | | | | | | | | * locate_kdc.c: krb5_locate_srv_dns() Ensure that res_search() is called with a query string that is terminated by a '.' in order to disable the expansion of dns-search lists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12641 dc483132-0cff-0310-8789-dd5450dbe970
* * get_creds.c (krb5_get_credentials_core): If the supplied enctype is notKen Raeburn2000-08-292-7/+25
| | | | | | | | supported, return an error; can't satisfy both TC_SUPPORTED_KTYPES and TC_MATCH_KTYPE that way. Delete unused arguments CCACHE and OUT_CREDS; fix callers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12636 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't generate keytab/db/Makefile, since it isn'tTom Yu2000-08-293-18/+10
| | | | | | | | | | used. * Makefile.in: Garbage collect a little. Don't include keytab/* directories directly on $(LOCAL_SUBDIRS), as keytab/Makefile.in lists them itself. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12635 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_svc_key.c (krb54_get_service_keyblock): If the keytabEzra Peisach2000-08-222-1/+19
| | | | | | | encryption type is a non-raw des3 key, bash its enctype. This matches kdc/kerberos_v4.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12624 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c (krb_cr_tkt_int): When prototypes were changed to notEzra Peisach2000-08-141-3/+4
| | | | | | | include a narrow prototype, the flags were being sent OTW as four bytes instead of one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12621 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_k_decode.c (asn1_decode_last_req_entry): Decode the lr_typeEzra Peisach2000-08-073-1/+24
| | | | | | | | | | as an int32. Handle backwards compatibility if KRB5_GENEROUS_LR_TYPE is defined. * krbasn1.h: Define KRB5_GENEROUS_LR_TYPE for compatibility with one byte negative lr_types which are sent as a positive integer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12608 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS, OBJS, STLIBOBJS): Remove util_canonhost.Ken Raeburn2000-08-043-6/+6
| | | | | | | * gssapiP_generic (g_canonicalize_host, g_local_host_name): Delete declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12604 dc483132-0cff-0310-8789-dd5450dbe970
* * tf_util.c (tf_init): Add KRB5_DLLIMP/KRB5_CALLCONV definitionsEzra Peisach2000-08-022-7/+12
| | | | | | for functions exported prototypes in krb.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12599 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
* * 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
* * 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
* * 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
* * 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
* * 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
* * 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
* * 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
* * 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
* fix typo in commentKen Raeburn2000-07-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12545 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse ccache implementations file, stdio, memory into single files.Ken Raeburn2000-07-149-36/+7588
| | | | | | | (Old files not removed yet.) Add a new file for krb5_cc_* dispatch functions that are no longer macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12544 dc483132-0cff-0310-8789-dd5450dbe970
* * encrypt_key.c, kdb_cpw.c, kdb_xdr.c: Add parenthesis aboutEzra Peisach2000-07-044-22/+24
| | | | | | assignment in conditional and remove unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12531 dc483132-0cff-0310-8789-dd5450dbe970
* * cr_tkt.c: Frob prototypes so they don't involve narrow typesTom Yu2000-07-042-8/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12529 dc483132-0cff-0310-8789-dd5450dbe970
* admin.h: Add kadm5_free_name_list prototypeEzra Peisach2000-07-032-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12526 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: The client library does not depend on the databaseEzra Peisach2000-07-032-4/+6
| | | | | | library. Remove reference to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12516 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Use $(LIBS) not @RESOLV_LIB@ inTom Yu2000-07-012-1/+6
| | | | | | order to get -lnsl, -lsocket, etc. if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12508 dc483132-0cff-0310-8789-dd5450dbe970
* Run RPC tests with one invocation of DejaGnu rather than twoKen Raeburn2000-07-014-15/+23
| | | | | | | | | | | | * Makefile.in (unit-test-body): Combine -tcp and -udp versions, setting PASS instead of PROT. * configure.in: Set and substitute PASS instead of UDP_TEST. * config/unix.exp: Don't invoke rpc_test_start. Set MULTIPASS, including a setting for PROT and a dummy to trigger rpc_test_start invocation. (rpc_test_start): If a server has already been started, call rpc_test_exit to verify that it's still running. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12503 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2.1 releaseKen Raeburn2000-07-018-2/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
* * adb.h: Add btinfoTom Yu2000-07-012-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12501 dc483132-0cff-0310-8789-dd5450dbe970