summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (DEFINES): Define HEIMDAL_FRIENDLY.Ken Raeburn2000-09-094-3/+21
| | | | | | | | * krlogind.c (recvauth): Don't complain about a subkey sent for KCMDV0.1 if HEIMDAL_FRIENDLY is defined, just quietly ignore it. * krshd.c (recvauth): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12646 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
* * krb.h: Add prototypes for krb_life_to_time() andTom Yu2000-09-012-0/+14
| | | | | | krb_time_to_life(), as well as the KRB_NEVERDATE constant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12643 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
* * pre.in: Fix some inconsistent spelling in the previous changesTom Yu2000-08-312-4/+10
| | | | | | | for MacOS X lib framework support, especially in the *_LIB and *_LIB_*opt variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12640 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (LIBLINKS): Fix appending of $EXTRA_LIB_TARGETS toTom Yu2000-08-312-1/+7
| | | | | | | LIBLINKS; previously it was setting LIBLINKS to include $LIBLIST instead, which is Just Wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12639 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (EXTRA_CLEAN_TARGETS, EXTRA_CLEAN_LINKS): New variables.Ken Raeburn2000-08-304-5/+80
| | | | | | | | | | | | | | | | | | | (clean-libs, clean-liblinks): Depend on targets specified in those variables. (config.status): Depend on shlib.conf. (all-framework, link-framework, clean-framework, clean-framework-link, install-framework): New targets, details to be filled in later. * pre.in (KRB5_LIB_libopt): Renamed from KDB5_LIB. (KRB5_LIB_frameworkopt): Tentative framework version for Mac OS X, details to be tuned later. (KRB5_LIB): Select between them using @LIB_LINK_OPT@. (KRB5CRYPTO_LIB*, COM_ERR_LIB*, GSS_KRB5_LIB*): Similarly. (KRB5_BASE_LIBS, GSS_LIBS): Use them. (KRB4COMPAT_LIBS): Use KRB5_BASE_LIBS. * shlib.conf: Set LIB_LINK_OPT. Set new EXTRA_* variables for darwin target. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12638 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_AUX): Fold in values of EXTRA_LIB_TARGETS,Ken Raeburn2000-08-302-1/+17
| | | | | | | | EXTRA_LIBLINK_TARGETS, EXTRA_LIBINST_TARGETS set in shlib.conf. Substitute EXTRA_CLEAN_TARGETS and EXTRA_CLEAN_LINKS. (KRB5_LIB_PARAMS): Substitute LIB_LINK_OPT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12637 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
* * post.in: Test for existing Makefile in directory beforeTom Yu2000-08-292-1/+6
| | | | | | recursing into it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12634 dc483132-0cff-0310-8789-dd5450dbe970
* renamed getmode() and setmode() to get_mode() and set_mode() to avoid a ↵Alexandra Ellwood2000-08-294-6/+13
| | | | | | collision with Mac OS X file permission bits manipulation functions of the same name which get included through unistd.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12633 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Fix up grammar so that single character token namesTom Yu2000-08-262-37/+45
| | | | | | | | | | | | are no longer used; this was breaking the build using bison on HP/UX because some system headers declare structures with members having all-uppercase field names and bison puts the token name #define statements in front of the C declarations section in the output, causing them to be in force while those headers get #included. There doesn't seem to be much purpose in not just using character constants, anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12632 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (initialize_realms): For "cannot initialize realm" messages, tell theKen Raeburn2000-08-233-3/+18
| | | | | | | | | | user to check the log file. Print out an error message as well as logging it if retrieving the default realm name fails. * kerberos_v4.c (kerberos_v4): Mask requested-life byte value with 0xff to avoid sign-extension problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12631 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_CHECK_INET6): Require "struct sockaddr_storage" for ↵Ken Raeburn2000-08-232-0/+6
| | | | | | IPv6 support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12630 dc483132-0cff-0310-8789-dd5450dbe970
* * libobj.in (clean-libobjs): Combine "rm" commands into oneKen Raeburn2000-08-232-4/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12629 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.h (myaddr): For secure data stream, pass the port numberEzra Peisach2000-08-224-2/+10
| | | | | | | | | | | of the data stream and not the control stream to krb_mk_priv. This would result in the occasional time out of bounds error when ftping to the same machine. (mk_priv and rd_priv have some amusing negating of timestamps depending on address and port of sockets). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12628 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp: New tests for the krb4 compatible interface to gssftpEzra Peisach2000-08-222-0/+403
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12627 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Create a properly formatted krb.conf file. AlsoEzra Peisach2000-08-222-0/+8
| | | | | | | | provide a krb4_srvtab stanza (even though we are falling back on the keytab file) so the tests do not try to access an installed systems /etc/srvtab file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12626 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): Iterate over all krb4 services instead ofEzra Peisach2000-08-222-17/+22
| | | | | | | trying to examine the srvtab file for a particular key (which failes when falling back on the v5 keytab for des3 services). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12625 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
* * default.exp: Create a properly formatted krb.conf fileEzra Peisach2000-08-221-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12623 dc483132-0cff-0310-8789-dd5450dbe970
* * domacro.c: Compiler warning cleanups and fix the overflow fix toEzra Peisach2000-08-1714-352/+562
| | | | | | | | | | | | | | | | index the proper array. * cmds.c, cmdtab.c, ftp.c, ftp_var.h, getpass.c, glob.c, main.c, radix.c, ruserpass.c, secure.c, secure.h: Compiler warning cleanups including providing prototypes, cleanup of assignments in conditionals, including unistd.h and stdlib.h (if present), declaring local functions as static. * Makefile.in: Do not compile pclose.c - the code is not used. About 600 warnings down.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12622 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
* Add AC_PROG_INSTALL to allow the library to be installedEzra Peisach2000-08-112-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12620 dc483132-0cff-0310-8789-dd5450dbe970
* * rlogin.exp: Change RLOGIN to KRLOGIN so we do not use theEzra Peisach2000-08-102-5/+10
| | | | | | incorrect binary as used for the root login in default.exp. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12619 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add an eof clause to avoid breakage if rlogin exitsTom Yu2000-08-092-0/+11
| | | | | | too quickly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12618 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c: Fix up static prototypes forTom Yu2000-08-092-22/+28
| | | | | | | | | krb524int_krb_create_ticket(), krb524int_krb_cr_tkt_krb5(), and krb524int_krb_cr_tkt_int(), as well as their definitions, so that there aren't bare identifiers in the prototypes and so that there aren't narrow types in the definitions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12617 dc483132-0cff-0310-8789-dd5450dbe970
* Quoting of lists in mutipass variable assigments is unnecessaryEzra Peisach2000-08-082-6/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12616 dc483132-0cff-0310-8789-dd5450dbe970
* * v4standalone.exp: New set of tests for basic V4 functionalityEzra Peisach2000-08-082-0/+139
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12615 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Create krb.conf and krb.realms files for v4Ezra Peisach2000-08-082-1/+91
| | | | | | | | | compatibility. Set KRBTKFILE environment variable. Add v4_compatible_enctype() proc to test if krb4 tests are being run and if the current encryption type being tested is compatible with V4. Added v4kinit() proc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12614 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB4_RUNTESTFLAGS): Set from configure.in and passEzra Peisach2000-08-082-1/+7
| | | | | | to runtest if krb4 compatibility is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12613 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Define KRB4_DEJAGNU_TEST depending on if krb4Ezra Peisach2000-08-082-0/+12
| | | | | | support is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12612 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (read_wrapper): Copy from the current point and notEzra Peisach2000-08-082-2/+7
| | | | | | | | the start of the cached buffer. This would only be observed when the client sent the cmdchar. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12611 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Protect Quote quotation marks in multipass variableEzra Peisach2000-08-072-12/+17
| | | | | | assignments. Dejagnu (June 1999 release) fails overwise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12610 dc483132-0cff-0310-8789-dd5450dbe970
* * reference_encode.out, trval_reference.out: Test encoding ofEzra Peisach2000-08-074-8/+26
| | | | | | | | | | | negative lr_type field. * krb5_decode_test.c: Fix enc_kdc_rep_part tests to trully handle a negative lr_type in a krb5_last_req_entry structure. If KRB5_GENEROUS_LR_TYPE is defined, do a backwards compatibility test as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12609 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
* * krb5.hin: lr_type element of krb5_last_req_entry needs to be aEzra Peisach2000-08-072-1/+6
| | | | | | signed int instead of an unsigned char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12607 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CHECK_SIGPROCMASK): Check for posix sigprocmaskEzra Peisach2000-08-072-5/+9
| | | | | | before a potential bsd compatible sigmask. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12606 dc483132-0cff-0310-8789-dd5450dbe970
* * ss_internal.h: Only use fake sigmask, sigblock and sigsetmask ifEzra Peisach2000-08-072-1/+9
| | | | | | USE_SIGPROCMASK is defined and not POSIX_SIGNALS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12605 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
* * listen.c (ss_quit): Now returns void. Fix type of argument ARGV to fitKen Raeburn2000-08-043-6/+14
| | | | | | | | prototype. * ss.h (ss_execute_line) [__STDC__]: Make prototype unconditional. (ss_quit): Use __SS_PROTO and return void, as with other command functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12603 dc483132-0cff-0310-8789-dd5450dbe970
* * kprop.c, kpropd.c: Compiler warning fixes including: notEzra Peisach2000-08-034-144/+197
| | | | | | | | | shadowing global variabls/functions, assignments in conditionals, declaring local functions static. * configure.in: Check for mode_t being defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12602 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c: Compiler warning cleanups by declaring functions asEzra Peisach2000-08-022-18/+21
| | | | | | | static, using existing global variables instead of trying to shadow them, and removing assignments from conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12601 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Add prototypes for tf_init(), tf_get_pname(),Ezra Peisach2000-08-022-0/+18
| | | | | | | tf_get_pinst(), tf_get_cred() and tf_close() which are all used by clients. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12600 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
* * requests.c (DECLARE): Fix prototype for dispatch functions toEzra Peisach2000-08-025-9/+53
| | | | | | | | | | | | | | | | | | | | properly match what is expected by ss library. * pager.c (ss_pager_create): Cast return from fork to int for use in switch statement. * ss.h: Provide full prototype for ss_name(). Add prototypes for ss_execute_line(), ss_delete_invocation(), ss_add_info_dir(), ss_delete_info_dir(), ss_abort_subsystem(), ss_get_prompt(), ss_set_prompt(), ss_add_request_table(), ss_delete_request_table(), ss_quit(). * ss_internal.h: Made full prototypes for ss_parse(), ss_page_stdin(), ss_pagre_create(). Add prototypes for ss_self_identify(), ss_subsystem_name(), ss_subsystem_version(), ss_unimplemented(). Moved ss_execute_line() to ss.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12598 dc483132-0cff-0310-8789-dd5450dbe970
* * kdestroy.c (main): Clean up compiler warningsEzra Peisach2000-08-022-2/+7
| | | | | | There are still some warnings, but this handles the bulk of them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12597 dc483132-0cff-0310-8789-dd5450dbe970