summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix stupid typo in defining the DLL_FILE_DEF macroTheodore Tso1999-03-221-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11295 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed krb5globals __initialize to use existing default cache instead of ↵Miro Jurisic1999-03-163-6/+10
| | | | | | creatinga new one; upped to b11 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11294 dc483132-0cff-0310-8789-dd5450dbe970
* * profile.hin: Fix GSS_DLLIMPTom Yu1999-03-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11293 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h: Fix GSS_DLLIMPTom Yu1999-03-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11292 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Fix GSS_DLLIMPTom Yu1999-03-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11291 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Fix GSS_DLLIMPTom Yu1999-03-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11290 dc483132-0cff-0310-8789-dd5450dbe970
* Added extern "C" to gssapi_krb5.hMiro Jurisic1999-03-152-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11289 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed GSS_* macros for the MacMiro Jurisic1999-03-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11288 dc483132-0cff-0310-8789-dd5450dbe970
* Added new exports and upped to b10Miro Jurisic1999-03-154-5/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11287 dc483132-0cff-0310-8789-dd5450dbe970
* Now actually compilesMiro Jurisic1999-03-152-3/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11286 dc483132-0cff-0310-8789-dd5450dbe970
* Fix = vs == bug in krb5_stdcc_next_credTheodore Tso1999-03-141-3/+16
| | | | | | | | check the return value from cc_create. Remove use of C++ comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11285 dc483132-0cff-0310-8789-dd5450dbe970
* Commit updated changelogTheodore Tso1999-03-141-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11284 dc483132-0cff-0310-8789-dd5450dbe970
* Fix obviously missing variable declarationTheodore Tso1999-03-141-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11283 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to allow building the profile routines as their own separate DLLTheodore Tso1999-03-144-6/+81
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11282 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we areTheodore Tso1999-03-142-0/+7
| | | | | | building object files for the GSSAPI DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11281 dc483132-0cff-0310-8789-dd5450dbe970
* Check in prototype for gss_krb5_ccache_name()Theodore Tso1999-03-141-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11280 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kshd): Add $(LOGINLIBS)Tom Yu1999-03-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11278 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (main): Fix cleanup code for setluid() failureTom Yu1999-03-122-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11276 dc483132-0cff-0310-8789-dd5450dbe970
* Back out prototype changes which should haven't gotten checked in yetTheodore Tso1999-03-121-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11275 dc483132-0cff-0310-8789-dd5450dbe970
* Don't blow away Krbcc32.lib by accidentTheodore Tso1999-03-122-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11274 dc483132-0cff-0310-8789-dd5450dbe970
* Check to make sure the context is valid and return an error if itTheodore Tso1999-03-121-1/+9
| | | | | | isn't. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11273 dc483132-0cff-0310-8789-dd5450dbe970
* Sample the ccdefault name at the time when we create the context.Theodore Tso1999-03-122-0/+22
| | | | | | Free the ccdefault name when we free the os context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11272 dc483132-0cff-0310-8789-dd5450dbe970
* Add definition for GSS_DLLIMP for non-Windows platformsTheodore Tso1999-03-122-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11269 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (user): Remove extra "%s" in call to sprintf() to avoidTom Yu1999-03-122-1/+6
| | | | | | dereferencing stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11268 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 1.1b9Miro Jurisic1999-03-122-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11267 dc483132-0cff-0310-8789-dd5450dbe970
* set_ccache.c (gss_krb5_ccache_name): Added new Krb5 specific interfaceTheodore Tso1999-03-123-0/+32
| | | | | | to set the default credentials cache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11266 dc483132-0cff-0310-8789-dd5450dbe970
* Change K5_OUTPUT_FILES to be K5_AC_OUTPUTTheodore Tso1999-03-121-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11265 dc483132-0cff-0310-8789-dd5450dbe970
* windows.in (DLL_FILE_DEF): Add makefile controls to set eitherTheodore Tso1999-03-122-2/+19
| | | | | | | KRB5_DLL_FILE or GSS_DLL_FILE, with the default being KRB5_DLL_FILE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11264 dc483132-0cff-0310-8789-dd5450dbe970
* win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) orTheodore Tso1999-03-122-12/+28
| | | | | | __declspec(dllexport) depending on whether GSS_DLL_FILE is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11263 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we areTheodore Tso1999-03-125-54/+65
| | | | | | | | building object files for the GSSAPI DLL. gssapi.hin, gssapi_generic.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11262 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we areTheodore Tso1999-03-123-40/+49
| | | | | | | | building object files for the GSSAPI DLL. krb5_gss_glue.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11261 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we areTheodore Tso1999-03-114-8/+18
| | | | | | | | | building object files for the GSSAPI DLL. g_acquire_cred.c, g_oid_ops.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11260 dc483132-0cff-0310-8789-dd5450dbe970
* Added modification counterMiro Jurisic1999-03-116-0/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11259 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to 2.0b3Miro Jurisic1999-03-117-10/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11258 dc483132-0cff-0310-8789-dd5450dbe970
* Added function krb5_free_cc_cred_union(), a local version of cc_free_creds() ↵Scott McGuire1999-03-103-48/+97
| | | | | | to free cred_unions allocated by Kerb5 library. Removed mac-only sys_alloc() stuff and go back to malloc() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11256 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.M: Resync with realityTom Yu1999-03-094-29/+105
| | | | | | | | | | * Makefile.in (ftpd): Add libpty to link line. Remove mention of logwtmp files. * ftpd.c: Fix up hostname logging to use pty_make_sane_hostname(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11253 dc483132-0cff-0310-8789-dd5450dbe970
* add PR number to logTom Yu1999-03-091-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11251 dc483132-0cff-0310-8789-dd5450dbe970
* * sendauth.c (krb5_sendauth): Set credspout to NULL if it'sTom Yu1999-03-092-2/+11
| | | | | | | | | destined to be returned to avoid freeing it. Also, unconditionally free credspout if it's non-NULL so that if someone doesn't pass in a ticket and doesn't give us a non-NULL out_creds, we don't leak it. [krb5-libs/699] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11249 dc483132-0cff-0310-8789-dd5450dbe970
* * kshd.M: Resync manpageTom Yu1999-03-093-36/+100
| | | | | | * krshd.c: Rework hostname logging. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11247 dc483132-0cff-0310-8789-dd5450dbe970
* * profile.hin: Fix prototype of profile_flush() to use long ratherTom Yu1999-03-092-1/+7
| | | | | | | than errcode_t to avoid breaking other stuff that includes profile.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11246 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_tree.c (profile_node_iterator): Fix bug where it will loopTheodore Tso1999-03-083-3/+15
| | | | | | | | | | endlessly when searching an empty section. * test_profile.c: Add code so that the "add" code will interpret "NULL" as calling profile_add_relation with a null pointer for the value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11245 dc483132-0cff-0310-8789-dd5450dbe970
* * heuristic.c (get_authorized_princ_names): Fix to not callTom Yu1999-03-042-5/+13
| | | | | | | list_union() if cmd is NULL, otherwise freed memory gets referenced. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11239 dc483132-0cff-0310-8789-dd5450dbe970
* prof_file.c (profile_flush_file): On the Macintosh, fopen() doesn'tTheodore Tso1999-03-033-2/+19
| | | | | | | | | set errno when fopen fails to open a file. Work around this by setting errno to PROF_FAIL_OPEN in this case. prof_err.et: Add new error code PROF_FAIL_OPEN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11238 dc483132-0cff-0310-8789-dd5450dbe970
* test_profile.c: Added ability to test profile set functions, and in aTheodore Tso1999-03-0314-81/+531
| | | | | | | | | | | | | | | | | | | | | | batch mode. prof_init.c (profile_flush): Add new public function for flushing changes made to the profile. prof_parse.c (profile_write_tree_file): Add official internal function for flushing out a profile tree to a FILE *. configure.in, prof_file.c (rw_access): Add new function which checks to see whether we have read/write access, and emulate this for losing non-POSIX OS's. prof_file.c (profile_flush_file): Add support for writing modified profile file's. Call profile_flush_file from profile_close_file(). Also fixed minor bugs in prof_tree.c which affected renaming sections and modifying existing relations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11237 dc483132-0cff-0310-8789-dd5450dbe970
* prof_tree.c: Add new functions profile_get_node_name,Theodore Tso1999-03-039-134/+620
| | | | | | | | | | | | | | | | | | | | | profile_get_node_value, profile_find_node, profile_remove_node, profile_set_relation_value, profile_rename_node. Rewrite profile_find_node_relation and profile_find_node_subsection in terms of profile_find_node. prof_set.c, Makefile.in: Add a new file which exports the public interfaces for setting profile entries. prof_get.c, prof_init.c, prof_int.h: Add the KRB5_DLLIMP and KRB5_CALLCONV to all of the various profile routines so they can be properly exported via a Windows DLL. prof_int.h: Add definition for the flags in the profile structure. prof_err.et: Add new error codes PROF_SET_SECTION_VALUE, PROF_EINVAL, PROF_READ_ONLY, and PROF_EXISTS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11236 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (log_badverf): Actually make a real lookup tableTom Yu1999-03-022-17/+51
| | | | | | | | for procedure numbers. Also, if we don't find the procedure number, just log the number rather than falling off the end of an array. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11234 dc483132-0cff-0310-8789-dd5450dbe970
* 68K builds are back; updated to CCacahe 2.0b2; upped to 1.1b8Miro Jurisic1999-03-012-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11233 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to 2.0b2Miro Jurisic1999-03-016-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11232 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (reply): Don't call secure_gss_error() or secure_error()Tom Yu1999-02-262-0/+12
| | | | | | | from within reply() to avoid setting up an infinite loop. [krb5-appl/684] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11230 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.c (secure_putbuf): Revert Sam's last change; ifTom Yu1999-02-262-1/+10
| | | | | | | | | | FUDGE_FACTOR is wrong, then badness can happen. Also, if out_buf.length != nbytes+FUDGE_FACTOR, heap corruption could happen. We really should be using gss_wrap_size_limit() or something like that, but doing so would require substantial amounts of reworking. [krb5-appl/685] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11228 dc483132-0cff-0310-8789-dd5450dbe970