summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * 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
* * 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
* * 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
* 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
* * 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
* * 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
* pullup from 1.2.1 releaseKen Raeburn2000-07-012-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
* * t_walk_rtree.c (main): Declare as returning intEzra Peisach2000-06-3018-94/+120
| | | | | | | | | | | | | | | | | | | | | * get_in_tkt.c (_krb5_conf_boolean): Declare as taking a const char * * str_conv.c (krb5_timestamp_to_string): Work around gcc's warning that %c format in strftime might return only two digits for the year. * mk_safe.c, rd_rep.c, send_tgs.c: Remove unused goto label. * kdc_rep_dc.c (krb5_kdc_rep_decrypt_proc): Remove code with no effect. * init_ctx.c: Make krb5_brand[] look used. * chpw.c, decode_kdc.c, decrypt_tk.c, enc_helper.c, get_creds.c, get_in_tkt.c, gic_keytab.c, gic_pwd.c, preauth2.c, vfy_increds.c: Add parentheses around assignment used as truth value git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12483 dc483132-0cff-0310-8789-dd5450dbe970
* * t_an_to_ln.c: Include <stdio.h> for prototypesEzra Peisach2000-06-307-20/+39
| | | | | | | | | | | | | | * locate_kdc.c (krb5_locate_srv_dns): Remove unused variable. * changepw.c, sendto_kdc.c, sn2princ.c: Add parentheses around assignment used as truth value. * ccdefname.c (get_from_os): Cast return from getuid() to long and indicate use of format in sprintf. gcc -Wall complaints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12482 dc483132-0cff-0310-8789-dd5450dbe970
* init_ets.c: Remove unused variableEzra Peisach2000-06-302-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12481 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_io.c (krb5_rc_io_creat): Cast getpid() to int.Ezra Peisach2000-06-302-1/+6
| | | | | | (Use of a long might overflow buffer if pid_t is 64 bits */ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12480 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Do not provide prototype for static function unlessEzra Peisach2000-06-302-0/+8
| | | | | | | | defined. gcc -Wall error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12476 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h (asn1buf_insert_octet): Define using __inline__ ratherTom Yu2000-06-302-1/+6
| | | | | | than inline in order to shut up gcc -pedantic. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12474 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
* pullup from 1.2 branchKen Raeburn2000-06-2732-267/+772
| | | | 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-014-1/+13
| | | | | | (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-0115-30/+30
| | | | 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-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-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