summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * krb5.hin: Update comment on krb5_kt_free_entry prototype toTom Yu2002-12-122-1/+6
| | | | | | point at the correct recommended function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15044 dc483132-0cff-0310-8789-dd5450dbe970
* * et_h.awk: It's "const struct error_table et_" in the c file, soTom Yu2002-12-122-1/+6
| | | | | | it's now const here too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15043 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in: depfix2.sed -> .depfix2.sed to avoid a little clutterTom Yu2002-12-092-6/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15042 dc483132-0cff-0310-8789-dd5450dbe970
* Fix prototypes for *_wrapper_3Sam Hartman2002-12-092-7/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15041 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.h: Rename prototypes from chpass_principal_wrapper andEzra Peisach2002-12-092-7/+13
| | | | | | | randkey_principal_wrapper to chpass_principal_wrapper_3 and randkey_principal_wrapper_3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15040 dc483132-0cff-0310-8789-dd5450dbe970
* * sendmsg.c (krb524_sendto_kdc): Update calls to locate_server()Tom Yu2002-12-072-2/+9
| | | | | | | | | and locate_kdc() to restrict protocol family to IPv4. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15039 dc483132-0cff-0310-8789-dd5450dbe970
* Fix some KRB5_CALLCONV botches that were causing trouble for Windows buildTom Yu2002-12-0714-297/+150
| | | | | | | | | | | | | | Update send_to_kdc() to use various krb5 internals to talk to the krb4 KDC. Add a new internal function to optionally return the local address used to talk to the KDC. Many changes to lib/krb5/os to support this. Fix bug in krb5int_sendto() that prevented correct UDP length from being returned. Update callers of internal locate_* and sendto_* functions. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15038 dc483132-0cff-0310-8789-dd5450dbe970
* Checkpoint first step of merge.Ken Raeburn2002-12-078-101/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved per-file data into a separate object from the profile handle. Dropped some old MacOS 9 code. * prof_int.h: Include Mac OS X versions of header files if appropriate. Only include prof_err.h if profile.h doesn't define ERROR_TABLE_BASE_prof. (struct _prf_data_t): Move most of contents of _prf_file_t here. Add reference count. (prf_data_t): New typedef. (struct _prf_file_t): Include an array of one _prf_data_t structure. * prof_file.c (profile_open_file): Fill in "data" field. Drop some old Mac specific code. (profile_flush_file_data): Renamed from profile_flush_file, now takes prf_data_t argument. (profile_flush_file_data): Likewise. (profile_free_file): Now calls profile_free_file_data. (profile_free_file_data): New function, with most of old profile_free_file code. * prof_init.c (profile_init_path): Removed old Mac version. (profile_ser_size, profile_ser_externalize): Get file data from new "data" field. * prof_set.c (rw_setup, profile_update_relation, profile_clear_relation, profile_rename_section, profile_add_relation): Likewise. * prof_tree.c (profile_node_iterator): Likewise. * test_profile.c (do_batchmode): Likewise. * prof_int.h (profile_flush_file): Now a macro. * prof_err.et (PROF_MAGIC_FILE_DATA): New error code value. ticket: 1237 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15037 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_get.c (conf_yes, conf_no): Entries now point to const.Ken Raeburn2002-12-072-4/+10
| | | | | | (profile_parse_boolean): Updated type of 'p' correspondingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15036 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): Remove krb5-configEzra Peisach2002-12-062-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15035 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean): Clean up more test executables and objectEzra Peisach2002-12-063-3/+9
| | | | | | files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15034 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Quote the argument to AC_CHECK_HEADER. AutoconfEzra Peisach2002-12-064-2/+12
| | | | | | 2.57 was having problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15033 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Quote the argument to AC_CHECK_HEADER. AutoconfEzra Peisach2002-12-062-1/+6
| | | | | | 2.57 was having problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15032 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-12-061-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15031 dc483132-0cff-0310-8789-dd5450dbe970
* * kname_parse.c (kname_unparse): Add new function ported fromTom Yu2002-12-062-0/+141
| | | | | | KfM, including support functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15030 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-12-05 Sam Hartman <hartmans@mit.edu>Sam Hartman2002-12-062-23/+28
| | | | | | | | | * util_token.c (g_verify_token_header g_make_token_header): Accept -1 to mean that no token type is expected; the token type is purely an RFC 1964 artifact and is not used in other mechanisms such as SPNEGO. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15029 dc483132-0cff-0310-8789-dd5450dbe970
* * decomp_tkt.c (decomp_ticket): Add KRB5_CALLCONVTom Yu2002-12-052-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15028 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Remove now conflicting prototype forTom Yu2002-12-052-3/+3
| | | | | | krb_set_lifetime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15027 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Move explicit definition of _WINDOWS to precedeTom Yu2002-12-042-4/+6
| | | | | | conditionalized inclusion of win-mac.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15026 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm.h: Include port-sockets.h, not netinet/in.h, for WindowsTom Yu2002-12-042-1/+6
| | | | | | portability. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15025 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix up includes handling somewhatTom Yu2002-12-042-14/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15024 dc483132-0cff-0310-8789-dd5450dbe970
* Update Windows build for kadm_err.*Tom Yu2002-12-034-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15023 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kadm_err.h): Build hereTom Yu2002-12-032-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15022 dc483132-0cff-0310-8789-dd5450dbe970
* * change_password.c: Remove netdb.h inclusionTom Yu2002-12-032-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15021 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in (clean-unix): Clean depfix2.sed as wellTom Yu2002-11-272-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15020 dc483132-0cff-0310-8789-dd5450dbe970
* upde dependenciesTom Yu2002-11-271-17/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15019 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add kadm_err.c. It was missingTom Yu2002-11-272-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15018 dc483132-0cff-0310-8789-dd5450dbe970
* * depfix.sed: Remove tcl-specific headers from dependencies.Tom Yu2002-11-272-2/+10
| | | | | | Delete now obsolete comment about gcc-specific directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15017 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-11-279-52/+76
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15016 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Set SETENVSRC correctlyTom Yu2002-11-272-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15015 dc483132-0cff-0310-8789-dd5450dbe970
* Merge more KfM krb4 thingsTom Yu2002-11-2737-933/+1953
| | | | | | | | | | | | | | | | | | Implement *_in_tkt_creds, mk_req_creds, and rd_req_int functions. Implement KfM krb4 kadm password changing, mostly by pulling in the client side of the kadm library into the krb4 library. Do some more header file cleanup of des.h and krb.h. Remove some ancient krb4 dead weight. Some Mac-specific functionality still needs to be merged. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15014 dc483132-0cff-0310-8789-dd5450dbe970
* Remove references to kadm_err.et for now, since the requisite changesTom Yu2002-11-194-7/+10
| | | | | | have not yet been committed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15013 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Test for speed_t being presentEzra Peisach2002-11-157-17/+52
| | | | | | | | | * sys_term.c (addarg): When reallocing memory, ensure in size of pointer. Use speed_t instead of int for termspeeds. * authenc.c, ext.h, state.c, utility.c: Unsigned/signed cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15012 dc483132-0cff-0310-8789-dd5450dbe970
* * sys_bsd.c: Moved declaration for susp() to type of file andEzra Peisach2002-11-159-53/+85
| | | | | | | | | | | | | provide prototype. * commands.c, externs.h, telnet.c, network.c: Add prototype declaration for command handler table dispatch functions. Make functions called consistant with prototype. Misc unsigned/signed cleanups. * authenc.c, main.c, utilities.c: Signed vs. unsigned cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15011 dc483132-0cff-0310-8789-dd5450dbe970
* * enc-proto.h, enc_des.c, encrypt.c: Unsigned/signed cleanupsEzra Peisach2002-11-1515-29/+59
| | | | | | | | | | | | | | | | | | | * forward.c: Include unistd.h if present on machine. * misc-proto.h misc.c (auth_encrypt_user): Declare argument as const. * auth.c: Cast argument auth_encrypt_user. auth_gen_printsub() and auth_printsub() take unsigned int as buffer length. * auth.h, auth-proto.h, kerberos.c, kerberos5.c, spx.c: auth_gen_printsub(), auth_printsub(), kerberos4_printsub(), kerberos5_printsub(), spx_printsub() take unsigned int as length argument. * configure.in: Check for unistd.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15010 dc483132-0cff-0310-8789-dd5450dbe970
* arghTom Yu2002-11-151-1/+1
| | | | | | let's try this again. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15009 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove some missed references to adm_err.etTom Yu2002-11-152-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15008 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (krb5_gss_accept_sec_context): Use unsignedEzra Peisach2002-11-158-12/+31
| | | | | | | | | | | | | | | | | | | lengths for arguments to g_token_size and g_make_token_header. * export_name.c (krb5_gss_export_name): Change local length variable to unsigned. * k5unseal.c (kg_unseal_v1): Seqnum variable changed from krb5_int32 to krb5_ui_4. * k5seal.c (make_seal_token_v1): Change seqnum argument to krb5_ui_4 from krb5_int32 to match krb5_gss_ctx_id_rec struct. * gssapiP_krb5.h, util_crypt.c, util_seqnum.c: kg_make_seq_num(), kg_get_seq_num() changed to use krb5_ui_4 for sequence numbers. kg_encrypt(), kg_decrypt() length argument now unsigned. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15007 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapiP_generic.h, util_token.c: Change g_make_token_header andEzra Peisach2002-11-153-5/+12
| | | | | | g_verfy_token_header to take an unsigned length in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15006 dc483132-0cff-0310-8789-dd5450dbe970
* Better cleanup; reduce filename conflictKen Raeburn2002-11-153-14/+22
| | | | | | | | | | | | * Makefile.in (unit-test-ok): Depend only on unit-test-body. (unit-test-body): Remove krb5cc_rpc_test_* on entry and on successful exit. On error exit, let the trap handler do all the cleanup. Incorporate old unit-test-setup commands. (unit-test-setup, unit-test-cleanup): Targets deleted. * lib/helpers.exp (start_client, wait_client): Set KRB5CCNAME to something in the current directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15002 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c: Remove reference to adm_err.hTom Yu2002-11-144-3/+5
| | | | | | Update dependencies as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15001 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove references to adm_err.h from here tooTom Yu2002-11-142-5/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15000 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove references to adm_err.et. It's not used,Tom Yu2002-11-143-194/+10
| | | | | | and conflicts with the krb4 kadm error table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14999 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): Do not pass NULL when anEzra Peisach2002-11-142-1/+6
| | | | | | integer 0 is intended to send_as_request(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14998 dc483132-0cff-0310-8789-dd5450dbe970
* Wrong size for memset()s in combine_keys()Ken Hornstein2002-11-141-3/+3
| | | | | | | | | The wrong size was used in the final memset()'s of various combine_key temporary variables. Pointed out by Ken Renard. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14997 dc483132-0cff-0310-8789-dd5450dbe970
* Invoke autoconf/autoreconf with the option --localdir or --include dependingEzra Peisach2002-11-147-3/+40
| | | | | | | on if pre/post autoconf 2.54. In 2.55 --localdir has been removed and replaced with --include which was introduced in 2.53. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14996 dc483132-0cff-0310-8789-dd5450dbe970
* Better type and bounds checking:Ken Raeburn2002-11-132-5/+82
| | | | | | | | | | | | | | | | * fake-addrinfo.h [NEED_FAKE_GETADDRINFO]: Include errno.h. (fake_getnameinfo): Check that socklen_t size arguments are positive and fit in size_t; return EAI_SYSTEM/EINVAL if not. Use the size_t variants when calling string functions. Work around another AIX bug: [_AIX]: Define NUMERIC_SERVICE_BROKEN. [NUMERIC_SERVICE_BROKEN]: Include ctype.h and stdlib.h. (getaddrinfo) [NUMERIC_SERVICE_BROKEN]: If the service name is a numeric string, save its value and the socket type, pass a null pointer to the real getaddrinfo, and patch the returned results. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14995 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_locate_kdc): Use normal CC_LINK rule for linking test programKen Raeburn2002-11-132-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14994 dc483132-0cff-0310-8789-dd5450dbe970
* Fix TCL_RPATH to explicitly insert system library path intoTom Yu2002-11-124-3/+15
| | | | | | | | "-blibpath:" on AIX. ticket: 1228 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14993 dc483132-0cff-0310-8789-dd5450dbe970
* * get_myaddress.c (get_myaddress): Local array buf size should be counted inKen Raeburn2002-11-112-1/+6
| | | | | | ifreq structs, not ifconf structs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14992 dc483132-0cff-0310-8789-dd5450dbe970