summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add AC_PROG_INSTALL, since it's needed for a "make install"Theodore Tso1996-07-262-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8830 dc483132-0cff-0310-8789-dd5450dbe970
* AIX shared libraries treat resolution of imported symbolsSam Hartman1996-07-262-0/+14
| | | | | | | | | | | | different from resolution of external non-imported symbols. Therefore, we really want to link against libdb.a at shared library creation time. Instead of linking on all platforms and making libdb.a a shared library, I have chosen to only link on AIX where it will work and not generate a problem even if the application later linksgainst libdb.a because making libdb.a a shared library would make it harder to distribute util/db2. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8829 dc483132-0cff-0310-8789-dd5450dbe970
* restore old version (oops checked in debugging versTom Yu1996-07-261-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8827 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: remove trailing backslash from comment under SRCSTom Yu1996-07-263-1/+10
| | | | | | because it was causing line that set OBJS variable to git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8826 dc483132-0cff-0310-8789-dd5450dbe970
* admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis aroundTheodore Tso1996-07-253-1/+11
| | | | | | | | | assignment used as truth value to reduce gcc -Wall flames. misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: Add KADM5_OK return value upon success. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8823 dc483132-0cff-0310-8789-dd5450dbe970
* Move setenv.c to clnt directory where it belongsTheodore Tso1996-07-251-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8816 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_order_check):Theodore Tso1996-07-258-18/+44
| | | | | | | | | | | | | | | | | | | | | util_ordering.c (g_order_init): Changed return code to be an int 32, since we return a com_err error code. Change the type of the sequence number to be an uint32. gssapi.h: Define gss_int32 -- needed for error code returns. Makefile.in (EHDRDIR): Use $(S) instead of /, so that EHDRDIR is valid under windows. Fix how the header file is copied in under Windows. gssapiP_generic.h: Include gssapi_generic.h instead of gssapi.h, so that we get the definitions of the nametype oids. oid_ops.c (generic_gss_release_oid): Re-enable function. util_token.c (g_verify_token_header): Changed return code to be an int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8814 dc483132-0cff-0310-8789-dd5450dbe970
* init_sec_context.c (krb5_gss_init_sec_context): Fixed error checkingTheodore Tso1996-07-255-22/+31
| | | | | | | | | | so that if you pass a bad mechanism type, it *will* get flagged as an error. rel_oid.c (krb5_gss_release_oid): krb5_gss_glue.c(gss_release_oid): Re-enable function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8813 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (krb5_gss_acquire_cred): Initialize variableEzra Peisach1996-07-252-0/+7
| | | | | | | | | before use if GSS_C_NULL_OID_SET. This was causing random failures in gssftp. I was unlucky enough to hit that random case where one of the random stack values was zero. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8812 dc483132-0cff-0310-8789-dd5450dbe970
* util_token.c (g_verify_token_header): Changed return code to be anTheodore Tso1996-07-253-2/+5
| | | | | | unsigned int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8811 dc483132-0cff-0310-8789-dd5450dbe970
* ser_sctx.c (kg_oid_externalize): Add proper return codeTheodore Tso1996-07-254-6/+16
| | | | | | | | | accept_sec_context.c (krb5_gss_accept_sec_context): init_sec_context.c (krb5_gss_init_sec_context): Test (gss_flags & XXXX) against 0 so that we pass a int value to g_order_init. Needed since int is 16 bits for Win16 build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8810 dc483132-0cff-0310-8789-dd5450dbe970
* Remove INTERFACE keyworded; not needed (and causes problems) sinceTheodore Tso1996-07-243-2/+9
| | | | | | we're not exporting this function to the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8809 dc483132-0cff-0310-8789-dd5450dbe970
* Only include <sys/file.h> if building with BSD_DBTheodore Tso1996-07-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8807 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: break out server lib into aTom Yu1996-07-2420-0/+5117
| | | | | | subdirectory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8806 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: break out client lib into aTom Yu1996-07-2411-0/+1537
| | | | | | subdirectory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8805 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: fix shared lib lossage byTom Yu1996-07-2428-6519/+36
| | | | | | rearrangement of subdirectories git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8804 dc483132-0cff-0310-8789-dd5450dbe970
* Use the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, whichTheodore Tso1996-07-242-2/+8
| | | | | | isn't portable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8803 dc483132-0cff-0310-8789-dd5450dbe970
* 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
* 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
* * 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
* 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: 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
* Include errno.hEzra Peisach1996-07-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8778 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-22242-1309/+47582
| | | | | | | | | 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
* 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
* 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
* * 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
* * 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
* 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 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
* Fix typos for SAPKRB5.DLL supportTheodore Tso1996-06-202-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8419 dc483132-0cff-0310-8789-dd5450dbe970
* * str_conv.c (krb5_string_to_timestamp): Ensure that all fields ofEzra Peisach1996-06-182-1/+13
| | | | | | | the timestamp are filled in if strptime does not fill in unspecified fields. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8376 dc483132-0cff-0310-8789-dd5450dbe970
* Add space before \ to deal with SunOS version of make which losesEzra Peisach1996-06-152-3/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8365 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to ET_RULESTom Yu1996-06-148-4/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to SS_RULES, ET_RULESTom Yu1996-06-142-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8359 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h for declaration for memcpy()Ezra Peisach1996-06-132-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8354 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update special rule for gssapi_err_generic.obj so that itTheodore Tso1996-06-132-5/+7
| | | | | | uses the right Win-32 library command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8349 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update special rule for gssapi_err_krb5.obj so that itTheodore Tso1996-06-132-5/+5
| | | | | | uses the right Win-32 library command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8348 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in missing _WIN32 #ifdefTheodore Tso1996-06-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8345 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing prototypes; needed to make Win-32 compiler happyTheodore Tso1996-06-132-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8344 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototypes for the SAM encoding and decoding functions, which areTheodore Tso1996-06-123-3/+40
| | | | | | necessary for the Win32 port (and a good idea in general). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8329 dc483132-0cff-0310-8789-dd5450dbe970