summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change password for the MacKeith Vetter1995-09-2419-1495/+1091
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6845 dc483132-0cff-0310-8789-dd5450dbe970
* Removing mac/build directoryKeith Vetter1995-09-247-1461/+1504
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6844 dc483132-0cff-0310-8789-dd5450dbe970
* Remove mac/build directoryKeith Vetter1995-09-242-685/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6843 dc483132-0cff-0310-8789-dd5450dbe970
* (change has no real effect, but I found the inconsistency when looking forMark Eichin1995-09-242-2/+6
| | | | | | | | a real problem which wasn't here...) * write_msg.c (krb5_write_message): check the real length variable, not the net version. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6842 dc483132-0cff-0310-8789-dd5450dbe970
* * logger.c (klog_com_err_proc): pass whoami in failure messagesMark Eichin1995-09-242-2/+7
| | | | | | for error log failures to match format string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6841 dc483132-0cff-0310-8789-dd5450dbe970
* Added preauth numbers for KRB5_CYBERSAFE_SECUREID andTheodore Tso1995-09-232-0/+7
| | | | | | KRB5_PADATA_AFS3_SALT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6840 dc483132-0cff-0310-8789-dd5450dbe970
* Exclude the MAC and DOS tar/zip files when creating the Mac tar file.Theodore Tso1995-09-232-9/+16
| | | | | | | Adjust the windows NT exclusion file so that it works correctly; zip is a little bit touchy about file specifications. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6839 dc483132-0cff-0310-8789-dd5450dbe970
* Define PROTOTYPE if it is not defined elsewhereTheodore Tso1995-09-232-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6838 dc483132-0cff-0310-8789-dd5450dbe970
* gss-clie.c: turned const_gss_OID into const gss_OID.Theodore Tso1995-09-234-7/+15
| | | | | | | gss-misc.c: needed more includes. gss.c: needed more includes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6837 dc483132-0cff-0310-8789-dd5450dbe970
* keysalt.c: 16/32 bit integer mismatch.Theodore Tso1995-09-233-10/+22
| | | | | | | | str_conv.c: sftime_format_table is conditional upon HAVE_STRFTIME, cast some constants to long so that math wouldn't overflow, 16/32 bit integer size mismatch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6836 dc483132-0cff-0310-8789-dd5450dbe970
* Change length field in krb5_alt_method and krb5_etype_info_entry to beTheodore Tso1995-09-232-2/+7
| | | | | | | an int, instead of an int32. This allows the ASN.1 length parsing routines to work properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6835 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the (int) cast, since you can't take address of a value whichTheodore Tso1995-09-233-3/+11
| | | | | | | has been casted. Instead we change the underlying type in the structure to be an int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6834 dc483132-0cff-0310-8789-dd5450dbe970
* acquire_.c: changed int to size_t.Theodore Tso1995-09-237-5/+76
| | | | | | | | | | | gssapip_.h: added prototype for kg_seal_size. k5seal.c: 16/32 bit mismatch and removed unused variables. seal.c: 16/32 bit mismatch. sign.c: 16/32 bit mismatch. ser_sctx.c: added prototypes for all functions since they get assigned into a structure that has been prototyped. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6833 dc483132-0cff-0310-8789-dd5450dbe970
* oid_ops.c: signed/unsigned mismatch, removed unused variablesTheodore Tso1995-09-233-5/+10
| | | | | | util_oid.c: changed int to a size_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6832 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in all:: all-$(WHAT) rule--PC needs itTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6831 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ^M's from DOS integration. (Oops!)Theodore Tso1995-09-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6830 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in all:: all-$(WHAT) rule--PC needs itTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6829 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: PC needs sscanf.cTheodore Tso1995-09-233-8/+16
| | | | | | | sscanf.c: cleanup to compile cleanly on the PC, mostly fixing signed/unsigned mismatches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6828 dc483132-0cff-0310-8789-dd5450dbe970
* had to define away DBFLAGS for the PCTheodore Tso1995-09-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6827 dc483132-0cff-0310-8789-dd5450dbe970
* get_in_t.c: removed unused variable.Theodore Tso1995-09-235-5/+14
| | | | | | | | rd_cred.c: removed INTERFACE keyword. ser_auth.c: passing int32 where a size_t is wanted. ser_ctx.c: 16/32 bit int size mismatch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6826 dc483132-0cff-0310-8789-dd5450dbe970
* Added MSDOS to wherever MACINTOSH was usedTheodore Tso1995-09-232-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6825 dc483132-0cff-0310-8789-dd5450dbe970
* signed/unsigned mismatchTheodore Tso1995-09-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970
* 32 bit word being passed as an intTheodore Tso1995-09-235-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6823 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: moved shared rule to all-unix:: targetTheodore Tso1995-09-235-4/+12
| | | | | | | des_crc.c, des_md5.c, raw_des.c: had a volatile/const mismatch which needs a cast to resolve. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6822 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: PC builds all C files because of function name changesTheodore Tso1995-09-234-9/+15
| | | | | | c_localtime.c, c_ustime.c: removed INTERFACE keyword. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6821 dc483132-0cff-0310-8789-dd5450dbe970
* md5crypt.c: put function prototype back in, fixed signed/unsignedTheodore Tso1995-09-233-4/+28
| | | | | | | | mismatch and removed unused variables. md5glue.c: put function prototypes back in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6820 dc483132-0cff-0310-8789-dd5450dbe970
* md4crypt.c: put function prototype back in, fixed signed/unsignedTheodore Tso1995-09-233-4/+28
| | | | | | | | mismatch and removed unused variables. md4glue.c: put function prototypes back in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6819 dc483132-0cff-0310-8789-dd5450dbe970
* put function prototype back inTheodore Tso1995-09-232-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6818 dc483132-0cff-0310-8789-dd5450dbe970
* prof_int.h: added SIZEOF defines for the PC, and added missingTheodore Tso1995-09-233-9/+18
| | | | | | | | prototype for profile_find_node_name() prof_init.c (profile_get_first_values): Remove unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6817 dc483132-0cff-0310-8789-dd5450dbe970
* Only define sys_nerr if we're on a Macintosh. On those systems whichTheodore Tso1995-09-222-0/+9
| | | | | | | use sys_nerr, it's an external variable, defined by libc. Under Windows, it's apparently an cpp macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6816 dc483132-0cff-0310-8789-dd5450dbe970
* added windows value for SRCTOPTheodore Tso1995-09-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6815 dc483132-0cff-0310-8789-dd5450dbe970
* (from Keith Vetter's windows changes); define THREEPARAMOPEN andTheodore Tso1995-09-222-0/+9
| | | | | | | prototype for sscanf. Also add #define for strncasecmp() to the microsoft's strnicmp() function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6814 dc483132-0cff-0310-8789-dd5450dbe970
* Build the error table header files into include, not include/krb5; andTheodore Tso1995-09-222-2/+10
| | | | | | construct krb5.h from krb5.hin and the error table header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6813 dc483132-0cff-0310-8789-dd5450dbe970
* Declare cleanup function as void and propogate thoughout the file. This handlesEzra Peisach1995-09-202-10/+16
| | | | | | conflicts with free git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6812 dc483132-0cff-0310-8789-dd5450dbe970
* Don't modify a const input variable val; copy it to a scratch variableTheodore Tso1995-09-182-2/+9
| | | | | | and modify that. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6811 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (init_realm): strdup KRB5_KDB_M_NAME if we use it, toMark Eichin1995-09-182-1/+6
| | | | | | avoid free'ing a constant later. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6810 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (check): Only build libdb.a when making the self checks. DoEzra Peisach1995-09-183-20/+10
| | | | | | | | | not install the library. configure.in: Do not build a shared library - the contents are already merged into libkrb5. (continue to build shared object files though) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6809 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize the service name to SAMPLE_SERVICE instead of leaving as NULLEzra Peisach1995-09-182-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6808 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_edit.c (show_principal): Show key version and last password changeEzra Peisach1995-09-183-3/+11
| | | | | | | cpw.c: Fix typo in below change in which list was terminated after third entry. (extra } removed) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6807 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo error in checkinEzra Peisach1995-09-182-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6806 dc483132-0cff-0310-8789-dd5450dbe970
* Program for testing if getsockname() works like the BSD networking codeTheodore Tso1995-09-161-0/+89
| | | | | | or not. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6804 dc483132-0cff-0310-8789-dd5450dbe970
* Fix optional host parsing so that host is recognized as an argumentTheodore Tso1995-09-162-2/+12
| | | | | | | without the -h option. Free the context and auth_context structures before exiting. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6803 dc483132-0cff-0310-8789-dd5450dbe970
* Free the context and auth_context before exitingTheodore Tso1995-09-162-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6802 dc483132-0cff-0310-8789-dd5450dbe970
* Add an optional third argument which allows the user to set theTheodore Tso1995-09-162-6/+14
| | | | | | Kerberos service name to be used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6801 dc483132-0cff-0310-8789-dd5450dbe970
* Allow the user to specify the service instance using the -s option.Theodore Tso1995-09-162-26/+44
| | | | | | | Use SO_REUSEEADDR so that the port can be immediately reused. Free the context and auth_context before exiting. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6800 dc483132-0cff-0310-8789-dd5450dbe970
* (sign_server): Only try using gss_export_context andTheodore Tso1995-09-162-24/+58
| | | | | | | | | | | | gss_import_context if the dov2 flag has been set. (server_establish_context): Make sure the client gss_name_t is released. (main): Add a -once option which causes the gss-server to exit after processing one client. Allows purify to report memory leaks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6799 dc483132-0cff-0310-8789-dd5450dbe970
* Lots of memory leaks and other fixes...Theodore Tso1995-09-1618-106/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gssapiP_krb5.h: Remove context and cred from the gssapi security context, as they aren't needed. kg_seal and kg_unseal now take a krb5_context argument. ser_sctx.c (kg_ctx_size, kg_ctx_externalize, kg_ctx_internalize): No longer serialize the context and cred fields of the gssapi security context. krb5_gss_glue.c: Don't rely on the context field of the gssapi security context. Use kg_context instead. verify.c (krb5_gss_verify, krb5_gss_verify_mic): unseal.c (krb5_gss_unwrap, krb5_gss_unseal): sign.c (krb5_gss_sign, krb5_gss_get_mic): seal.c (krb5_gss_seal, krb5_gss_wrap): process_context_token.c (krb5_gss_process_context_token): k5unseal.c (kg_unseal): k5seal.c (kg_seal_size): Add a krb5_context argument to this function, so we don't have to depend on the context field in the gssapi security context. init_sec_context.c (krb5_gss_init_sec_context): Don't initialize the context and cred fields in the gssapi security context. Copy ctx->subkey to ctx->seq.key, so they are separately allocated. gssapi_krb5.c (kg_get_context): When initialize kg_context, call krb5_init_ets() so that the error tables are initialized. export_sec_context.c (krb5_gss_export_sec_context): Don't depend on the context field from the gssapi security context. Free ctx->seq.key. delete_sec_context.c (krb5_gss_delete_sec_context): kg_seal() now takes a krb5_context argument. Free ctx->seq.key. acquire_cred.c (krb5_gss_acquire_cred): Clear the gssapi credential before setting it, to prevent purify from complaining. accept_sec_context.c (krb5_gss_accept_sec_context): Remove context and cred from the gssapi security context. Make sure the ticket is freed after we're done with it. import_sec_context.c (krb5_gss_import_sec_context): Don't bash the input interprocess_token. Otherwise, it can't be freed. Don't depend on the context field in the gss security context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6798 dc483132-0cff-0310-8789-dd5450dbe970
* sendauth.c (krb5_sendauth): Make sure the scratch credentialsTheodore Tso1995-09-169-25/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structure may have possible been used be freed.. rd_safe.c (krb5_rd_safe_basic): Fall through to the cleanup code at the end, to make sure the decoded message in message is freed. rd_req_dec.c (krb5_rd_req_decoded): Use krb5_copy_keyblock to copy authent->subkey to auth_context->remote_subkey. Keeping them separate avoids aliasing problems. mk_req_ext.c (krb5_generate_authenticator): Fix memory leak. Don't bash authent->subkey with key after carefully copying it using krb5_copy_keyblock! recvauth.c (krb5_recvauth): krb5_get_server_rcache() already opens the rcache; doing it again merely causes a memory leak. gen_subkey.c (krb5_generate_subkey): Eliminate memory leak. krb5_init_random_key() does its own allocation of the keyblock. gc_via_tkt.c (krb5_kdcrep2creds): Fix memory leak. srv_rcache.c (krb5_get_server_rcache): Fix memory leak. rd_safe.c (krb5_rd_safe_basic): Fix memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6797 dc483132-0cff-0310-8789-dd5450dbe970
* klist.M: Updated the man page to include all of the supported optionsTheodore Tso1995-09-153-26/+120
| | | | | | | klist.c (main, show_credential): Reimplement the -e option, and display the encryption used by the session key and of the ticket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6796 dc483132-0cff-0310-8789-dd5450dbe970
* Improved (and changed) input argument handling, to make sim_serverTheodore Tso1995-09-152-21/+81
| | | | | | | more flexible. This should make it possible to run sim_server from a DejaGnu test suite. Fixed -Wall nits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6795 dc483132-0cff-0310-8789-dd5450dbe970