summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed unneeded sh scriptsMiro Jurisic1998-07-234-26/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10724 dc483132-0cff-0310-8789-dd5450dbe970
* Added CW projects for our private C and runtime libsMiro Jurisic1998-07-234-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10723 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typos and changed to building C and runtime libs from CW projectsMiro Jurisic1998-07-231-17/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10722 dc483132-0cff-0310-8789-dd5450dbe970
* Bumped to 1.0.5b2Miro Jurisic1998-07-231-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10721 dc483132-0cff-0310-8789-dd5450dbe970
* Changed for new runtime and C libraries (now built from our own CW projects)Miro Jurisic1998-07-231-44/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10720 dc483132-0cff-0310-8789-dd5450dbe970
* ovsec_kadmd.c (main): Cast gss_nt_krb5_name to gss_OIDGeoffrey King1998-07-222-3/+8
| | | | | | to avoid compiler warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10714 dc483132-0cff-0310-8789-dd5450dbe970
* * replay.c (kdc_check_lookaside):Tom Yu1998-07-224-16/+51
| | | | | | | | | | | | | | | | (kdc_insert_lookaside): Add code to originating address of packet, as krb4 initial ticket requests don't contain an address. This would cause a subtle problem wherein two simultaneous krb4 initial ticket requests for the same principal originating from different addresses would result in both replies containing the same address. * kdc_util.h: Modify prototype for lookaside functions. * dispatch.c (dispatch): Update to new calling conventions of the lookaside functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10713 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_klog_reopen in kadm_svc_run upon receiving a SIGHUP. UseGeoffrey King1998-07-212-25/+81
| | | | | | | | | | | sigaction instead of signal if POSIX_SIGNALS is defined. All of the calls to signal and sigaction are now in a separate function setup_signal_handlers, as the kdc code does. Also, since reset_db no longer does anything, change the name of signal_request_reset to the more descriptive signal_request_hup, and request_reset_db to request_hup (paralleling the nomenclature in the kdc code). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10712 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c (process_chpw_request): Cast to krb5_octet * instead ofEzra Peisach1998-07-202-3/+8
| | | | | | | | char * for krb5_address.contents type. This is a char * to unsigned char * warning fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10711 dc483132-0cff-0310-8789-dd5450dbe970
* * acl_files.c: Include stdlib.h if presentEzra Peisach1998-07-202-0/+7
| | | | | | (for malloc declarations) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10710 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the variable use_other_realm, is not actually necessary for theGeoffrey King1998-07-192-5/+8
| | | | | | new -r realm code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10709 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-1740-78/+73
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed build instructionsMiro Jurisic1998-07-171-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10652 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c (main): Accept a -r command line option to specifyGeoffrey King1998-07-172-6/+22
| | | | | | a realm other than the default one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10651 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.c (parse_tl_data): Change cast from char * toEzra Peisach1998-07-163-5/+15
| | | | | | | | | | | krb5_octet *. (tcl_kadm5_free_principal_ent, tcl_kadm5_free_policy_ent): Add cast to value returned by Tcl_GetHashValue. * tcl_ovsec_kadm.c (tcl_ovsec_kadm_free_principal_ent): Cast return of Tcl_GetHashValue. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10650 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c (krb5_change_password): Changes casts from char * toEzra Peisach1998-07-162-2/+7
| | | | | | | | krb5_octet * to match krb5_address structure elements. Essentially char * vs. unsigned char * warning... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10649 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add CHECK_SIGNALS so that POSIX_SIGNALS getsTom Yu1998-07-153-5/+12
| | | | | | | | | | | defined. * main.c (request_hup): Remove call to signal, as this isn't needed on BSD-ish systems and for sysV-ish systems we use sigaction anyway. (setup_signal_handlers): Fix typo. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10648 dc483132-0cff-0310-8789-dd5450dbe970
* * gic_pwd.c (krb5_get_init_creds_password): Remove unused argumentEzra Peisach1998-07-153-3/+10
| | | | | | | | | to sprintf(). * t_ref_kerb.out: Fix test case for zephyr principal to reflect addition to conv_princ.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10647 dc483132-0cff-0310-8789-dd5450dbe970
* The projects in this file are out of dateMiro Jurisic1998-07-141-803/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10646 dc483132-0cff-0310-8789-dd5450dbe970
* Added dist-clean targetMiro Jurisic1998-07-141-2/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10645 dc483132-0cff-0310-8789-dd5450dbe970
* Changed root to work from MPWMiro Jurisic1998-07-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10644 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for new Mac builds (MacPerl)Miro Jurisic1998-07-141-156/+59
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10643 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to CW Pro 2, grayed out change password buttonMiro Jurisic1998-07-144-465/+475
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10642 dc483132-0cff-0310-8789-dd5450dbe970
* changes for independent Mac buildsMiro Jurisic1998-07-141-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10641 dc483132-0cff-0310-8789-dd5450dbe970
* Bumped to 1.0.5b1 and added 'vers' 2 resourceMiro Jurisic1998-07-141-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10640 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed fat library target (version resources were missing)Miro Jurisic1998-07-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10639 dc483132-0cff-0310-8789-dd5450dbe970
* Added separation of fragments and autogeneration of error tables, some cleanupMiro Jurisic1998-07-141-216/+480
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10638 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to the most recent export listMiro Jurisic1998-07-142-113/+108
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10637 dc483132-0cff-0310-8789-dd5450dbe970
* Added new Mac filesMiro Jurisic1998-07-144-0/+677
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10636 dc483132-0cff-0310-8789-dd5450dbe970
* Mac: now calling NewCWindow when possible; changed GetNextEvent to WaitNextEventMiro Jurisic1998-07-141-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10635 dc483132-0cff-0310-8789-dd5450dbe970
* Added magic incantations for Macintosh CFM-68KMiro Jurisic1998-07-141-3/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634 dc483132-0cff-0310-8789-dd5450dbe970
* Added magic incantations for Macontosh CFM-68KMiro Jurisic1998-07-144-3/+39
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10633 dc483132-0cff-0310-8789-dd5450dbe970
* Preliminary fixes for AIX4.3:Sam Hartman1998-07-1211-4/+30
| | | | | | | | | | | * Fix static libs on platforms using .a for shared libs * Fix utmp handling for non-hpux platforms with ut_exit different from utmpx. * Include librarymacros in ss configure.in * Remove declarations of h_errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632 dc483132-0cff-0310-8789-dd5450dbe970
* Added a call to signal() in request_hup() so that the signal handlerGeoffrey King1998-07-112-0/+12
| | | | | | | gets reset after each SIGHUP, since this does not happen automatically in System V's signal handling system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10631 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.c (kadm_ser_cpw): Re-enable "old-style" passwordTom Yu1998-07-102-26/+46
| | | | | | | | changing. Yes, it's potentially a problem due to lack of quality checking, but we'll live with that because we can use key-hash-based checks too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10630 dc483132-0cff-0310-8789-dd5450dbe970
* Thu Jul 9 19:35:01 1998 Matthew D Hancher <mdh@mit.edu>Matthew Hancher1998-07-092-20/+113
| | | | | | | | | | | * tf_util.c (tf_init): Fixed a potential race condition in the opening of v4 ticket files. tf_init() was calling lstat() followed by fopen(). Now it calls fopen() and then calls lstat() and fstat() to check file ownership and to check that it opened the file it thought it did. I patched the shared memory code similarly, but since nothing uses it I don't have a good way to test it properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10629 dc483132-0cff-0310-8789-dd5450dbe970
* Perl versions of the conversion utilitiesTheodore Tso1998-07-092-0/+535
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10628 dc483132-0cff-0310-8789-dd5450dbe970
* These additions cause the KDC to react to SIGHUP by closing andGeoffrey King1998-07-089-1/+100
| | | | | | | | reopening its log files, so that logfile management utilities may now compress old logs and then kill -HUP the KDC process to get them to use fresh log files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10627 dc483132-0cff-0310-8789-dd5450dbe970
* Third time's the charm.... *sigh* (ya irix6.3/gcc fix)Matthew Hancher1998-07-081-9/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10626 dc483132-0cff-0310-8789-dd5450dbe970
* kadm_ser_wrap.c (kadm_ser_init): Use krb5_425_conv_principal insteadTheodore Tso1998-07-082-6/+9
| | | | | | of krb5_build_principal to create the changepw sprinc principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10625 dc483132-0cff-0310-8789-dd5450dbe970
* Wed Jul 8 01:10:44 1998 Matthew D Hancher <mdh@mit.edu>Matthew Hancher1998-07-082-2/+22
| | | | | | | | * aclocal.m4: Allow shared libraries to build properly under Irix 6.x with gcc. (This is actually a fix of a previous fix that didn't make it into ChangeLog.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10624 dc483132-0cff-0310-8789-dd5450dbe970
* conv_princ.c: Add additional commonly seen Kerberos V4 services to theTheodore Tso1998-07-072-0/+17
| | | | | | hard-coded list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10623 dc483132-0cff-0310-8789-dd5450dbe970
* * chk_trans.c: Fix up previous fix; short-circuit out whenTom Yu1998-07-072-2/+8
| | | | | | trans->length == 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10622 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (build_pwfile): Add rule to build the build_pwfile programTheodore Tso1998-07-035-50/+200
| | | | | | | | | | | | kadm_server.c (kadm_ser_cpw): Put the call to the kadm_approve_pw in the common code, so it's executed even if KADM5 is defined. Add appropriate syslogs to the change password processing. kadm_funcs.c (pwstring;): If NDBM_PW_CHECK is defined, then do the NDBM-based dictionary check. Build kadmind4 using the make option PW_CHECK=-DNDBM_PW_CHECK if this feature is desired. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10621 dc483132-0cff-0310-8789-dd5450dbe970
* Update commands to build the Macintosh MPW MakefileTheodore Tso1998-07-032-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10620 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_encode.c: Make the magic Macintosh EPOCH offset be 70 yearsTheodore Tso1998-07-022-1/+7
| | | | | | | instead of 66 years, since CodeWarrior Pro 2 now bases everything off of 1900. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10619 dc483132-0cff-0310-8789-dd5450dbe970
* k5unseal.c (kg_unseal): Clean up lint warningsTheodore Tso1998-07-026-29/+66
| | | | | | | | | | | | | | | accept_sec_context.c (krb5_gss_accept_sec_context): Don't return an error token if we can't provide the server name to the KRB5 error structure (because cred isn't initialized). gssapi_krb5.c, gssapi_krb5.h: Export the oid of static arrays as krb5_gss_oid_array since it's needed by gss_import_sec_context. import_sec_context.c: Fix up the OID of the mechanism in the imported security context so that we use the static OID if at all possible. This is needed since gss_inquire_context() must return a static OID. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10618 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.c (MacMessageBox): Change TextBox to TETextBox to match upTheodore Tso1998-07-022-1/+6
| | | | | | with CodeWarrior changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10617 dc483132-0cff-0310-8789-dd5450dbe970
* oid_ops.c (generic_gss_release_oid): Recognize our own (new) "self"Theodore Tso1998-07-022-1/+9
| | | | | | | oids so that we don't free static oid's. (exported_name and nt_service_name_v2). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10616 dc483132-0cff-0310-8789-dd5450dbe970
* Update ReadMe file so it's a little bit more accurate...Theodore Tso1998-07-021-5/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10615 dc483132-0cff-0310-8789-dd5450dbe970