summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Change type of first argument to be krb5_preauthtype, to eliminateTheodore Tso1996-07-242-3/+8
| | | | | | compiler warnings under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8802 dc483132-0cff-0310-8789-dd5450dbe970
* Added new error code KRB5_KT_NAME_TOOLONGTheodore Tso1996-07-242-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8801 dc483132-0cff-0310-8789-dd5450dbe970
* Removing last remnants of berk_dbTheodore Tso1996-07-244-218/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8800 dc483132-0cff-0310-8789-dd5450dbe970
* Removing berk_db, since it is now replaced by db2Theodore Tso1996-07-2461-9826/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8799 dc483132-0cff-0310-8789-dd5450dbe970
* Use memset instead of bzeroEzra Peisach1996-07-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8798 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) for linking... This allows for use of purifyEzra Peisach1996-07-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8797 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all): Use $(LD) instead of $(CC) for link stageEzra Peisach1996-07-244-2/+25
| | | | | | | | | | | | | * dump.c (dump_db): Zero out kadm5_principal_ent_rec structure before passing to rpc code. * kadmin.c (kadmin_addprinc, kadmin_getprinc, kadmin_modprinc): Zero out structures before passing to rpc code. This is because uninitialized longs in the structures cause xdr_long to fail if the higher 32/64 bits are set on the Alpha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8796 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DEPLIBS): Use correct version number forEzra Peisach1996-07-242-1/+6
| | | | | | gssapi_krb5 dependency. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8795 dc483132-0cff-0310-8789-dd5450dbe970
* Removed kadmin.exp, since it's for the old admin serverTheodore Tso1996-07-242-834/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8794 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): the logic which dealt with multiple acceptorMarc Horowitz1996-07-241-207/+204
| | | | | | names and fallback was just broken. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8793 dc483132-0cff-0310-8789-dd5450dbe970
* Remove mechglue from the list of Macintosh subdirectoriesTheodore Tso1996-07-242-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8792 dc483132-0cff-0310-8789-dd5450dbe970
* Must include k5-int.h on Windows and Macintosh buildsTheodore Tso1996-07-242-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8791 dc483132-0cff-0310-8789-dd5450dbe970
* Fix broken Windows commands to copy gssapi_krb5.h to include/gssapiTheodore Tso1996-07-242-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8790 dc483132-0cff-0310-8789-dd5450dbe970
* Must include k5-int.h on Windows and Macintosh buildsTheodore Tso1996-07-242-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8789 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Build logger.o from the libkadm5 directory. ThisTheodore Tso1996-07-243-2/+34
| | | | | | | | | | | | is prepatory work towards eliminating the dependency on libkadm5. Ultimately we will probably need to rethink how the library structure for krb5.... configure.in: Add -lgssapi and -lgssrpc to libraries linked with krb5kdc since they are needed for shared libraries. This is a horrible hack.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8788 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore db-config.h.in which is generated by autoheaderEzra Peisach1996-07-231-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8787 dc483132-0cff-0310-8789-dd5450dbe970
* obj/dbm.c: Copy the elements between the struct DBT andEzra Peisach1996-07-232-0/+58
| | | | | | | datum. Otherwise on an Alpha where the size fields are different sizes, casting loses with random stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8786 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: add dependency for kdb5_util_ct.oTom Yu1996-07-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8785 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: add dependency for kadmin_ct.oTom Yu1996-07-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8784 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: delete extraneous trailing backslash from GENSRCSTom Yu1996-07-232-2/+7
| | | | | | and GENOBJS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8783 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed release_buffer.c to rel_buffer.c, and release_oid_set.c toTheodore Tso1996-07-234-4/+11
| | | | | | | rel_oid_set.c. Marc broke the DOS 8.3 renaming which Gilmore had done to conform with DOS's filesystem constraints git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8782 dc483132-0cff-0310-8789-dd5450dbe970
* * xdr.c: Do not declare malloc()Ezra Peisach1996-07-233-2/+9
| | | | | | | * Makefile.in (SHLIB_LIBS): Link with gssapi_krb5 when creating shared library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8781 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: libkdb5.so needs to be built withEzra Peisach1996-07-233-0/+23
| | | | | | | | | libcrypto and libkrb5. * configure.in: Pass version numbers of teh crypto and krb5 shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8780 dc483132-0cff-0310-8789-dd5450dbe970
* Add contents of util/db2/acconfig.h to the top-level acconfig.h soTheodore Tso1996-07-232-0/+28
| | | | | | that util/reconf works correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8779 dc483132-0cff-0310-8789-dd5450dbe970
* Include errno.hEzra Peisach1996-07-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8778 dc483132-0cff-0310-8789-dd5450dbe970
* If __STDC__ is not defined, generate proper prototypes..Ezra Peisach1996-07-232-1/+6
| | | | | | The macro expansion was generating "int DynCopy ; " instead of "int DynCopy ()" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8777 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf (admin_*): add the fields for the new admin system toMarc Horowitz1996-07-221-1/+5
| | | | | | the prototype config.file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8776 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-2212-0/+956
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8775 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-22651-2676/+138835
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* killed krb5.h in the modern wayMarc Horowitz1996-07-201-2271/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8772 dc483132-0cff-0310-8789-dd5450dbe970
* Added TIMEBOMB_INFO string which tells the user the URL to look forTheodore Tso1996-07-132-3/+12
| | | | | | more information about getting the new version of the product. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8705 dc483132-0cff-0310-8789-dd5450dbe970
* On Windows builds, add -DHAVE_STDLIB_HTheodore Tso1996-07-132-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8704 dc483132-0cff-0310-8789-dd5450dbe970
* New routine which does the timebomb and version server checking.Theodore Tso1996-07-112-39/+78
| | | | | | | | Windows 3.1 doesn't allow you to do any messaging calls in LibMain, so the timebomb and version server code was moved to krb5_win_do_init(), which is called by krb5_init_context(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8678 dc483132-0cff-0310-8789-dd5450dbe970
* Add a call to krb5_win_do_init() on Win16 and Win32 machines. This isTheodore Tso1996-07-112-0/+18
| | | | | | where we do timebomb and version server checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8677 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c: Add a quick hack so we can time-bomb the libkrb5.dll andTheodore Tso1996-07-103-2/+56
| | | | | | | | | sapkrb5.dll when we compile them at MIT. Makefile.in (sap_glue.obj): Build the sapkrb5.dll with the timebomb enabled (since we couldn't get the version server code working). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8651 dc483132-0cff-0310-8789-dd5450dbe970
* * test.c (krb4_print_ticket): Change addr to unsigned KRB4_32 fromEzra Peisach1996-07-093-2/+10
| | | | | | | | | | | long. * conv_creds.c (krb524_convert_creds_plain): Change addr to a four byte unsigned integer (from long). k524init now works on the Alpha... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8568 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4-proto.h: Change prototype for decomp_ticket to match sourceEzra Peisach1996-07-092-1/+6
| | | | | | (addr is not unsigned long *) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8567 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.M: Document -R optionEzra Peisach1996-07-073-7/+78
| | | | | | | | | | | * kinit.c (krb5_tgt_gen): Code from krb5_validate_tgt() modified to handle both renewal and validation of postdated tickets. (krb5_renew_tgt): Takes a credential cache with a tgt with the "renewable flag" set and asks ths kdc to renew it. Cache is wiped and only new tgt is stored. (main): New option -R to renew tickets. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8559 dc483132-0cff-0310-8789-dd5450dbe970
* * get_creds.c: (krb5_get_credentials_val_renew_core) CombineEzra Peisach1996-07-073-3/+71
| | | | | | | | | | | common internals needed from krb5_get_credentials_validate() and used by new function krb5_get_credentials_renew() * gc_frm_kdc.c (krb5_get_cred_from_kdc_renew): A wrapper that passes KDC_OPT_RENEW to the static krb5_get_cred_from_kdc_opt so that kinit can use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8558 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Add prototypes for krb5_get_credentials_renew() andEzra Peisach1996-07-072-0/+18
| | | | | | krb5_get_cred_from_kdc_renew() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8557 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn12krb5_buf): Initialize magic fields of structure.Ezra Peisach1996-06-272-1/+9
| | | | | | | | | | | | (asn1buf_expand): If pre-allocating memory for future use, store proper end of buffer. This was a big performance hit in asn.1 routines as every time it tried to decode an octet, 200 bytes were allocated (for future use), but the buffer structure pnly thought that one byte was allocated and the next time through would try to allocate memory again. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8553 dc483132-0cff-0310-8789-dd5450dbe970
* Only include stdlib.h if it's availableTheodore Tso1996-06-249-0/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8547 dc483132-0cff-0310-8789-dd5450dbe970
* Change const to krb5_const, so that it works on compilers that don'tTheodore Tso1996-06-242-1/+7
| | | | | | support const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8546 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo so that krsh doesn't exit when using the default portTheodore Tso1996-06-242-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8545 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug pointed out by jhawk; we weren't looking for all ptysSam Hartman1996-06-245-9/+21
| | | | | | on SunOS or NetBSD. Also fix Hpux 10 bug with regard to utmpx. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8544 dc483132-0cff-0310-8789-dd5450dbe970
* Krb4: get the right includesSam Hartman1996-06-243-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8543 dc483132-0cff-0310-8789-dd5450dbe970
* Drop support for -u because it allows us to removeSam Hartman1996-06-244-243/+13
| | | | | | dependencies from utmp.h and it didn't work anyway. This fixes some Hpux compile problems as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8542 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up handling of libkrb4 libraries so includes and stuff work withSam Hartman1996-06-242-2/+17
| | | | | | divergent versions of libkrb4. That way, Athena Kerberos can be used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8541 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind should do a better job of initializing output flags on ttySam Hartman1996-06-245-1/+48
| | | | | | | * Fix so login.krb5 compiles with Athena Kerberos libs (needed for rsaix build) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8540 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Win-16 build #defines for KRB5_CALLCONV and KRB5_DLLIMPTheodore Tso1996-06-212-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8533 dc483132-0cff-0310-8789-dd5450dbe970