summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-2262-1126/+2957
| | | | | | | | | 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
* 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
* * configure.in: remove ref to ET_RULESTom Yu1996-06-144-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 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
* Makefile.in: Remove include of config/windows.in; that's doneTheodore Tso1996-06-124-11/+17
| | | | | | | | | automatically by wconfig. g_acquire_cred.c, g_oid_ops.c: Change to use new convention of KRB5_CALLCONV and KRB5_DLLIMP instead of INTERFACE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8309 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-122-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8308 dc483132-0cff-0310-8789-dd5450dbe970
* Change INTERFACE to be KRB5_CALLCONV, which is where the callingTheodore Tso1996-06-122-57/+109
| | | | | | | | | | | | | | convention is defined. Add KRB5_DLLIMP which is where the DLL import/export should be put for Win32. (Win16 is just different.) The correct way to declare a function which will be used in a DLL is now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long) Change function delcarations to use the new convention. Actually, it doesn't hurt to use the old convention as long as func_return_t doesn't contain a '*'. But in the long run we should be exterminating all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8307 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-104-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Changed `mutual' element of struct _krb5_gss_ctx_id_rec into more generalKevin Mitchell1996-06-076-12/+21
| | | | | | | `gss_flags' and updated functions that process it; now get delegation flag set properly :) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8275 dc483132-0cff-0310-8789-dd5450dbe970
* Don't pass $(LIBCMD) on the command line. It's set in the windows.inTheodore Tso1996-06-062-3/+8
| | | | | | prologue for all Makefiles anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8271 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-061-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* Do not build libgssapi.a on AIX, because it doesnt workSam Hartman1996-05-233-8/+24
| | | | | | (unresolved symbols) and would be fairly useless anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8120 dc483132-0cff-0310-8789-dd5450dbe970
* update Makefile.in for new libupdateTom Yu1996-05-202-9/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8060 dc483132-0cff-0310-8789-dd5450dbe970
* * k5seal.c k5unseal.c util_cksum.c:Richard Basch1996-05-154-11/+14
| | | | | | | setup krb5_checksum "contents" and "length" field prior to calling krb5_calculate_checksum(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8029 dc483132-0cff-0310-8789-dd5450dbe970
* Change call to krb5_auth_con_setcksumtype to useTheodore Tso1996-05-142-1/+7
| | | | | | krb5_auth_con_set_req_cksumtype by default instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8018 dc483132-0cff-0310-8789-dd5450dbe970
* (clean-unix): Remove libgssapi_krb5.stampEzra Peisach1996-05-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7909 dc483132-0cff-0310-8789-dd5450dbe970
* Add code to support appropriate behavior when the input credentials isTheodore Tso1996-05-032-13/+51
| | | | | | | | NULL (i.e., the default credential). We use the default credential for the "default mechanism", which is the first mechanism registered with the library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7887 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed MD5 routines to be preceded with krb5_Richard Basch1996-04-133-22/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7806 dc483132-0cff-0310-8789-dd5450dbe970
* Integrated OpenVision's changes into the most recent MIT code. ThisMarc Horowitz1996-04-123-0/+330
| | | | | | | revision is what I'd call the easy stuff. Some more controversial stuff remains to be done, which is why I'm doing a checkin now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7797 dc483132-0cff-0310-8789-dd5450dbe970
* Return GSS_S_CRED_UNAVAIL on if krb5_cc_set_flags() returns an error,Theodore Tso1996-04-122-1/+8
| | | | | | | since that's the call that will return an error if the credentials files doesn't exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7794 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed code to correctly handle errors reported from the mechanismTheodore Tso1996-04-122-31/+47
| | | | | | layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7793 dc483132-0cff-0310-8789-dd5450dbe970
* If make_ap_req() returns KRB5APP_TKT_EXPIRED, then returnTheodore Tso1996-04-102-0/+8
| | | | | | GSS_S_CREDENTIALS_EXPIRED as the major return code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7779 dc483132-0cff-0310-8789-dd5450dbe970
* Inlined list of source files for SRCS and OBJS (for Macintosh build)Theodore Tso1996-04-022-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7748 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (SRCS): Inlined list of source files for SRCS and OBJSTheodore Tso1996-04-023-6/+18
| | | | | | | | | (for Macintosh build). k5mech.c: Added Macintosh #ifdef so that the #include path is right for the Macintosh. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7747 dc483132-0cff-0310-8789-dd5450dbe970
* Don't include <sys/types.h> mechglue.h will take care of this byTheodore Tso1996-03-272-1/+6
| | | | | | including gssapi.h, which will include sys/types.h if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7717 dc483132-0cff-0310-8789-dd5450dbe970
* g_imp_sec_context.c (gss_import_sec_context):Theodore Tso1996-03-218-5/+23
| | | | | | | | | | | | g_exp_sec_context.c (gss_export_sec_context): Fix 16bit vs 32bit lint flame. g_glue.c, g_initialize.c: Add include of string.h, as it is needed. g_acquire_cred.c, g_inq_cred.c: Add include of time.h g_rel_oid_set.c (gss_release_oid_set): Removed unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7695 dc483132-0cff-0310-8789-dd5450dbe970
* Don't compile this procedure, since it's not used. The mechanism glueTheodore Tso1996-03-212-0/+10
| | | | | | layer uses the krb5_gss_internal_relase_oid() function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7694 dc483132-0cff-0310-8789-dd5450dbe970
* Comment out #ident line. This causes the Macintosh C compilerTheodore Tso1996-03-212-2/+9
| | | | | | | indigestion. Remove #include of gssapi/gssapi.h, since that gets included by gssapiP_generic.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7686 dc483132-0cff-0310-8789-dd5450dbe970
* mechglue.h: Don't include <sys/types.h>; it's included if necessary inTheodore Tso1996-03-2130-35/+50
| | | | | | | | | | | | | | | | | gssapi/gssapi.h. On a Macintosh, #include gssapi.h instead of gssapi/gssapi.h. g_accept_sec_context.c, g_acquire_cred.c, g_compare_name.c, g_context_time.c, g_delete_sec_context.c, g_dsp_name.c, g_dsp_status.c, g_exp_sec_context.c, g_glue.c, g_imp_name.c, g_imp_sec_context.c, g_indicate_mechs.c, g_init_sec_context.c, g_initialize.c, g_inq_context.c, g_inq_cred.c, g_inq_names.c, g_process_context.c, g_rel_buffer.c, g_rel_cred.c, g_rel_name.c, g_rel_oid_set.c, g_seal.c, g_sign.c, g_unseal.c, g_verify.c, gssd_pname_to_uid.c, mechglue.h, mglueP.h: Comment out #ident line. This causes the Macintosh C compiler indigestion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7685 dc483132-0cff-0310-8789-dd5450dbe970
* Add new .Sanitize fileEzra Peisach1996-03-201-0/+71
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7674 dc483132-0cff-0310-8789-dd5450dbe970
* Synchronize .Sanitize with current realityEzra Peisach1996-03-203-5/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7673 dc483132-0cff-0310-8789-dd5450dbe970
* use PROTOTYPE macro in mechglue.hKen Raeburn1996-03-132-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7626 dc483132-0cff-0310-8789-dd5450dbe970
* convert __gss_get_mechanism to k&r style definitionMark Eichin1996-03-121-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7606 dc483132-0cff-0310-8789-dd5450dbe970
* use PROTOTYPE and K&R style definitions, per krb5 styleMark Eichin1996-03-122-9/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7605 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed mispelling of Doug Engert's nameTheodore Tso1996-03-111-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7604 dc483132-0cff-0310-8789-dd5450dbe970
* Change sizeof(long) to sizeof(krb5_int32)Ezra Peisach1996-03-092-1/+6
| | | | | | Yet another piece of code that was assuming that longs are 32 bits... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7602 dc483132-0cff-0310-8789-dd5450dbe970