summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile (clean): Delete *.ilgKen Raeburn2001-11-062-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13956 dc483132-0cff-0310-8789-dd5450dbe970
* * Add krb5_c_init_state and krb5_c_free_state functionsSam Hartman2001-11-0614-12/+261
| | | | | | | | | | * Add init_state and free_state to enc_providers as operations that need to be filled in * Implement generic free_state and des-specific init_state * Implement arcfour-specific init_state * Add functions to find enctype state functions and call them * Add tests for above git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13948 dc483132-0cff-0310-8789-dd5450dbe970
* Update form of copyright for new files to play nice with EmacsSam Hartman2001-11-063-4/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13947 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_GETPEERNAME_ARGS andEzra Peisach2001-11-062-0/+7
| | | | | | KRB5_GETSOCKNAME_ARGS for sample apps. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13946 dc483132-0cff-0310-8789-dd5450dbe970
* * sserver.c (main): Use GETPEERNAME_ARG3_TYPE instead of intEzra Peisach2001-11-062-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13945 dc483132-0cff-0310-8789-dd5450dbe970
* * sclient.c (main): Use GETSOCKNAME_ARG3_TYPE instead of intEzra Peisach2001-11-062-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13944 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (krb5_aprof_get_boolean): Return krb5_boolean *Ezra Peisach2001-11-052-1/+6
| | | | | | instead of int *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13938 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Fix date grabbing code so we don't try to parse theTom Yu2001-11-022-4/+10
| | | | | | | timezone-less date out of of a syslog message. expect eof in places to drain pty buffers and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13932 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp: Calling send_error from within a dejagnu test isTom Yu2001-11-022-4/+10
| | | | | | | | wrong. So is calling exit. Fix to not do these things. Expect eof rather than "\r" so as to drain pty buffers and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13931 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Calling send_error from within a dejagnu test isTom Yu2001-11-022-4/+10
| | | | | | | | wrong. So is calling exit. Fix to not do these things. Expect eof rather than "\r" so as to drain pty buffers and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13928 dc483132-0cff-0310-8789-dd5450dbe970
* 2001-11-01 Sam Hartman <hartmans@mit.edu>Sam Hartman2001-11-013-11/+23
| | | | | | | | | | * gss-server.c gss-client.c: ONly free buffers returned from GSSAPI using gss_release_buffer * gss-client.c (client_establish_context): Trailing null should not be part of service name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13926 dc483132-0cff-0310-8789-dd5450dbe970
* Sufficiently outdated as to be confusingSam Hartman2001-11-011-305/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13925 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (check_k5login, check_klogin): Error out if there isTom Yu2001-11-012-12/+64
| | | | | | | | | | | a nonexistent .k5login or .klogin for root. (setup_{kadmind_,}srvtab, add_{random,kerberos}_key): Notice unmatched output to avoid timing out on certain errors. Look for command echoes. Clear the expect_after list in places to avoid problems with lingering expect_after clauses against invalid spawn_ids. expect eof in places to avoid pty deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13924 dc483132-0cff-0310-8789-dd5450dbe970
* minor update: a note that the contents are out of dateKen Raeburn2001-10-311-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13912 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (main): Do not pass LOG_AUTH facility into openlog() as aEzra Peisach2001-10-302-1/+6
| | | | | | logopt. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13910 dc483132-0cff-0310-8789-dd5450dbe970
* * k5unseal.c: Fix whitespace in copyright messageEzra Peisach2001-10-303-9/+16
| | | | | | | | | * k5seal.c (make_seal_token_v1): Cleanup code for mic tokens. Essentially revert code to Sam's 10/25 code, with one correction - allocation of data_ptr - use msglen and not tmsglen. Additionally, do not rely on malloc(0) being non-NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13907 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_cpw.c (cleanup_key_data): Do not free NULL pointerEzra Peisach2001-10-302-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13906 dc483132-0cff-0310-8789-dd5450dbe970
* * fake-addrinfo.c (freeaddrinfo): Do not free NULL pointersEzra Peisach2001-10-302-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13905 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.c (main): Do not free potentially NULL pointersEzra Peisach2001-10-302-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13904 dc483132-0cff-0310-8789-dd5450dbe970
* 2001-10-29 Jeff Altman <jaltman@columbia.edu>Jeffrey Altman2001-10-294-5/+26
| | | | | | | * Makefile.in - Windows configuration for src/lib/crypto/arcfour directory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13872 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in - added dependency info for hmac_md5.cJeffrey Altman2001-10-292-1/+13
| | | | | | | Fixed typo $(OUTP)hmac_md5.c -> $(OUTPRE)hmac_md5.c which prevented builds on Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13871 dc483132-0cff-0310-8789-dd5450dbe970
* * Use right key usage for seal without encryption.Sam Hartman2001-10-272-1/+5
| | | | | | | | Now tested and working against win2k ldap server; wrap and unwrap of encrypted and unencrypted data tested. So far no test of getmic or verify_mic. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13870 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Mark as unused the test passes that won'tTom Yu2001-10-272-32/+51
| | | | | | | accomplish anything due to disabling of SUPPORT_DESMD5 in the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13869 dc483132-0cff-0310-8789-dd5450dbe970
* * k5seal.c (make_seal_token_v1): Correct errors in codeEzra Peisach2001-10-262-5/+15
| | | | | | | pertaining to case when signing message only. Fixes buffer overflows as found by gssapi dejagnu testsuite. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13868 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp.exp, rsh_exp (stop_rsh_daemon): Do not close a process andEzra Peisach2001-10-263-2/+9
| | | | | | | | then look for eof. Some versions of expect go through a full timeout in this scenario and others return immediately. New order: kill process, expect eof, close, and then wait. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13866 dc483132-0cff-0310-8789-dd5450dbe970
* * string_to_key.c (krb5_arcfour_string_to_key): Cleanup variablesEzra Peisach2001-10-262-4/+12
| | | | | | defined but not used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13865 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Do not use "usage" in argument names inEzra Peisach2001-10-262-2/+7
| | | | | | krb5_keyhash_provider functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13864 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_GETSOCKNAME_ARGSEzra Peisach2001-10-262-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13863 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c (process_chpw_request): Use GETSOCKNAME_ARG3_TYPEEzra Peisach2001-10-262-1/+10
| | | | | | instead of int as argument to getsockname(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13862 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (dump_db): Pass krb5_boolean instead of char * asEzra Peisach2001-10-262-1/+8
| | | | | | argument to kb5_db_fetch_mkey(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13861 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c (krb5_encode_princ_contents): Use krb5_ui_2 instead ofEzra Peisach2001-10-262-1/+6
| | | | | | krb5_int16 for key_data_length. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13860 dc483132-0cff-0310-8789-dd5450dbe970
* * Expose some rc4 crypto routines through the accessor mechanism; cleaner ↵Sam Hartman2001-10-2614-198/+425
| | | | | | | | | | | | than raw enctype * Deal with GSSAPI key usage in microsoft translation * Add rc4 gssapi mechanism; works with itself, not tested against * Windows yet * Refactor large chunks of k5seal.c to make code more readable for debugging git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13859 dc483132-0cff-0310-8789-dd5450dbe970
* * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymoreTom Yu2001-10-252-23/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13858 dc483132-0cff-0310-8789-dd5450dbe970
* * do_as_req.c (process_as_req: Treat SUPPORT_DESMD5 as if it wereTom Yu2001-10-254-8/+21
| | | | | | | | | | | | | | always cleared. * do_tgs_req.c (process_tgs_req): Treat SUPPORT_DESMD5 as if it were always cleared. * kdc_util.c (select_session_keytype): Don't issue session key enctype that is not in permitted_enctypes. (dbentry_supports_enctype): For now, always treat SUPPORT_DESMD5 as if it were cleared. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13857 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_decrypt_key): For now, coerce enctype ofTom Yu2001-10-252-0/+12
| | | | | | output keyblock in case we got a match on a similar enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13856 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c (krb5_dbe_search_enctype): Filter out enctypes thatTom Yu2001-10-253-2/+31
| | | | | | | | | | aren't in permitted_enctypes. This prevents the KDC from issuing a ticket whose enctype that it won't accept. * keytab.c (krb5_ktkdb_get_entry): For now, coerce enctype of output keyblock in case we got a match on a similar enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13855 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_err.et: Add KRB5_KDB_NO_PERMITTED_KEY,Tom Yu2001-10-252-0/+8
| | | | | | | KRB5_KDB_NO_MATCHING_KEY for libkdb so we can return something other than ENOENT (which was Just Wrong). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13854 dc483132-0cff-0310-8789-dd5450dbe970
* Remove autoconf 2.13 from source tree. We require at least 2.13 now -Ezra Peisach2001-10-2558-42575/+0
| | | | | | and users to have the execuable in their path. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13848 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Require autoconf 2.13. Remove support for local autoconfEzra Peisach2001-10-252-30/+31
| | | | | | tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13847 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp (rsh_test): Add stop_rsh_daemon before invokingEzra Peisach2001-10-252-1/+7
| | | | | | start_rsh_daemon again to prevent running out of ptys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13846 dc483132-0cff-0310-8789-dd5450dbe970
* * t_encrypt.c: Argument to krb5_c_encrypt_length must be size_tEzra Peisach2001-10-242-2/+13
| | | | | | | instead of int (which is the length in krb5_data) or unaligned access occurs on Dec OSF machines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13845 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add optional argument to AC_DEFINE to provideEzra Peisach2001-10-243-11/+16
| | | | | | | | comment in generated header file. * acconfig.h: Remove int32_t and u_int32_t, handled by configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13843 dc483132-0cff-0310-8789-dd5450dbe970
* * db-config.h.in: Remove unnecessary definitions for includingEzra Peisach2001-10-242-12/+6
| | | | | | | db.h header file. These include WORDS_BIGENDIAN, ssize_t, u_short, int8_t, u_int8_t, int16_t, u_int16_t, int32_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13842 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use of AC_DEFINE modified to include thirdEzra Peisach2001-10-242-5/+15
| | | | | | | argument - the comment for the generated header file so that acconfig.h can be cleaned up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13841 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Require 2.13 of autoconf.Ezra Peisach2001-10-243-63/+43
| | | | | | | | | | | | | | | | | | (DECLARE_SYS_ERRLIST, CHECK_SIGPROCMASK, CHECK_DIRENT, CHECK_WAIT_TYPE, CHECK_SIGNALS, KRB5_SIGTYPE, KRB5_AC_CHECK_INET6, HAVE_YYLINENO, KRB5_SOCKADDR_SA_LEN, AC_HEADER_STDARG, KRB5_AC_NEED_LIBGEN, KRB5_AC_ENABLE_DNS): Use of AC_DEFINE modified to provide comment for autoheader generated file. * acconfig.h: Remove ANSI_STDIO, NO_YYLINENO, POSIX_FILE_LOCKS, POSIX_SIGTYPE, POSIX_TERMIOS, USE_DIRENT_H, WAIT_USES_INT, krb5_sigtype, HAVE_STDARG_H, HAVE_VARARGS_H, HAV_REGCOMP, HAVE_SA_LEN, HAVE_SOCKLEN_T, KRB5_ATHENA_COMPAT, KRB5_KRB4_COMPAT, KRB5_DNS_LOOKUP, KRB5_DNS_LOOKUP_KDC, KRB5_DNS_LOOKUP_REALM, KRB5_USE_INET6, MEMMOVE, memmove, mkstemp and strerror. All replaced by use of third argument to AC_DEFINE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13840 dc483132-0cff-0310-8789-dd5450dbe970
* * arcfour.h: Declare krb5int_enc_arcfour extern so that multipleEzra Peisach2001-10-242-3/+10
| | | | | | copies are not generated (etypes.c, and arcfour.c). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13839 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Corrected a couple of unimportant typos. Added proceduresMitchell Berger2001-10-242-4/+321
| | | | | | | | | | kadmin_addpol, kadmin_delpol, kadmin_listpols, kadmin_modpol, and kadmin_showpol, which provide the tools with which to perform policy tests. Added some basic policy operations to the tests of basic kadmin functions. Added a test case to exercise the kadmind crash that used to occur when the history number of a policy was decreased. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13838 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp.exp (stop_rsh_daemon): Call "expect eof" to drain pty bufferTom Yu2001-10-243-0/+11
| | | | | | | | | and avoid deadlock. * rsh.exp (stop_rsh_daemon, rsh_test): Call "expect eof" to drain pty buffer and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13837 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add support for setting SUPPORT_DESMD5 flag on theTom Yu2001-10-242-19/+161
| | | | | | | | | | | | | | TGT principal. Add test pass des.md5-tgt for exercising enctype similarity inconsistency. Add test pass des.no-kdc-md5 for exercising failure to constrain session key issuance to permitted_enctypes. Pepper the code with null calls to expect_after to prevent misfiring of expect_after clauses. (setup_srvtab): Look for some possible error cases to avoid timing out. (setup_root_shell): Restore timeout so we don't wait 5 minutes in other places. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13836 dc483132-0cff-0310-8789-dd5450dbe970
* Handle inlines in ansi-compatible mannerSam Hartman2001-10-232-8/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13835 dc483132-0cff-0310-8789-dd5450dbe970