summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile.in (all-windows): Don't constantly recreate autoconf.h withTheodore Tso1999-04-162-1/+6
| | | | | | #include "win-mac.h" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11365 dc483132-0cff-0310-8789-dd5450dbe970
* * g_cnffile.c (krb__get_srvtabname): Fix to actually extractTom Yu1999-04-162-10/+16
| | | | | | krb5_srvtab value from profile, instead of always ignoring it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11363 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Fix typo in test below; fixed name of the autoconf cacheTheodore Tso1999-04-152-2/+7
| | | | | | variable which indicates if sys/streams.h exists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11362 dc483132-0cff-0310-8789-dd5450dbe970
* t_imp_name.c: Initialize display_file variable in main(), instead ofTheodore Tso1999-04-142-2/+10
| | | | | | using a static initializer. (Needed for Linux/glibc 2.1) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11361 dc483132-0cff-0310-8789-dd5450dbe970
* svc.c (svc_getreq, svc_getreqset): Avoid using internal, privateTheodore Tso1999-04-142-7/+20
| | | | | | fd_set structure elements (Needed for Linux/glibc 2.1) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11360 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check for setupterm() in libncurses in addition toTheodore Tso1999-04-142-3/+17
| | | | | | | libcurses. Only set STREAMSPTY if both grantpt and sys/stremas.h exists. (Will be needed for Linux/Redhat 6.0) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11359 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check for setupterm() in libncurses in addition toTheodore Tso1999-04-142-2/+8
| | | | | | libcurses. (Will be needed for Linux/Redhat 6.0) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11358 dc483132-0cff-0310-8789-dd5450dbe970
* update_wtmp.c: Don't use updwtmpx() even if it exists for glibc 2.1,Theodore Tso1999-04-142-0/+14
| | | | | | | | since it's the same as updwtmp(), and glibc doesn't define PATH_WTMPX. updwtmpx() is not part of the XPG standard anyway. (Needed for RedHat 6.0.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11357 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check to see if we need to pull in the util library inTheodore Tso1999-04-142-0/+7
| | | | | | order to find logwtmp(). (Needed for Linux/glibc 2.1.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11356 dc483132-0cff-0310-8789-dd5450dbe970
* prof_init.c (profile_abandon): New function which frees the profileTheodore Tso1999-04-145-6/+41
| | | | | | | | | | handle and throwing away any changes that might have been made before they are flushed to disk. prof_file.c (profile_close_file): Move functionality of freeing the profile file to the new function profile_free_file(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11355 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 1.1b20Miro Jurisic1999-04-132-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11354 dc483132-0cff-0310-8789-dd5450dbe970
* Added gss_krb5_ccache_name and GSSAPILibrarySupportsCCacheNameMiro Jurisic1999-04-133-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11353 dc483132-0cff-0310-8789-dd5450dbe970
* kconfig.c: Update to use newer (and proper profile calls)Theodore Tso1999-04-102-7/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11352 dc483132-0cff-0310-8789-dd5450dbe970
* post.in (Makefile): Don't try to run autoconf with $(SHELL), sinceTheodore Tso1999-04-102-1/+8
| | | | | | | | this doesn't work if $(AUTOCONF) isn't a path to the built-in autoconf, but just an unqualified pathname to the system autoconf. [krb5-build/707] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11351 dc483132-0cff-0310-8789-dd5450dbe970
* gic.c (gic_prompter), vardlg.c (vardlg_build), gic.h, vardlg.h: UpdateTheodore Tso1999-04-105-8/+19
| | | | | | | to use new prompter prototype which takes an extra argument for the window titlebar name. (From Frank Cusack) [krb5-kdc/662] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11350 dc483132-0cff-0310-8789-dd5450dbe970
* kfree.c (krb5_free_sam_challenge, krb5_free_sam_challenge_contents,Theodore Tso1999-04-104-23/+154
| | | | | | | | | | | | | | | | | krb5_free_sam_response, krb5_free_sam_response_contents, krb5_free_predicted_sam_response, krb5_free_predicted_sam_response_contents, krb5_free_enc_sam_response_enc, krb5_free_enc_sam_response_enc_contents, krb5_free_pa_enc_ts): Added new functions. Part of patches from [krb5-kdc/662] gic_pwd.c (krb5_get_init_creds_password): Add new argument to calls to the prompter function. Part of patches from [krb5-kdc/662]. preauth2.c (pa_enc_timestamp, pa_sam): Update calls to new prompter function. [krb5-kdc/662]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11349 dc483132-0cff-0310-8789-dd5450dbe970
* prompter.c (krb5_prompter_posix): Update to use new prompter prototypeTheodore Tso1999-04-102-4/+17
| | | | | | | which takes an extra argument for the window titlebar name. (From Frank Cusack) [krb5-kdc/662] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11348 dc483132-0cff-0310-8789-dd5450dbe970
* k5-int.h: Add new prototypes and #define's provided by Frank Cusack'sTheodore Tso1999-04-103-0/+39
| | | | | | | | | | | preauth patch (PR# [krb5-kdc/662]) krb5.hin (krb5_prompter_fct, krb5_prompter_posix): Update function prototypes to reflect new prompter prototype which takes an extra argument for the window titlebar name. (From Frank Cusack) [krb5-kdc/662] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11347 dc483132-0cff-0310-8789-dd5450dbe970
* kdb.h: Add new TL types provided by Frank Cusack's preauth patchTheodore Tso1999-04-102-0/+9
| | | | | | [krb5-kdc/662] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11346 dc483132-0cff-0310-8789-dd5450dbe970
* Rename CHANGELOG to CHANGELOG.db2 to avoid messing up things under WindowsTheodore Tso1999-04-081-0/+0
| | | | | | since there is a ChangeLog file which is different. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11345 dc483132-0cff-0310-8789-dd5450dbe970
* Changed fragment names to new MITAthena conventionMiro Jurisic1999-04-084-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11344 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to 1.1b13Miro Jurisic1999-04-082-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11343 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to 2.0b5Miro Jurisic1999-04-086-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11342 dc483132-0cff-0310-8789-dd5450dbe970
* Workaround the fact that Windows has really poor emulation of POSIXTheodore Tso1999-04-062-10/+38
| | | | | | | | functions such as rename. (In fact, it has completely different semantics for this call!) Fix supplied by Tom Sanfilippo (txn# 2184 in krb5dev) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11341 dc483132-0cff-0310-8789-dd5450dbe970
* typo in a commentDan Winship1999-04-031-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11340 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_commondata.c: Add initializers to prevent lossage on systemsTom Yu1999-04-022-5/+13
| | | | | | that don't deal with common blocks in libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11339 dc483132-0cff-0310-8789-dd5450dbe970
* Fix silly typoTheodore Tso1999-03-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11335 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefops.c: Change the default ccache type under windows to beTheodore Tso1999-03-312-2/+13
| | | | | | | original FILE ccache type; this will get set to ccapi if the krbcc32.dll can be found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11334 dc483132-0cff-0310-8789-dd5450dbe970
* init_ctx.c (krb5_init_context): Call krb5_win_ccdll_load() to load theTheodore Tso1999-03-312-0/+7
| | | | | | krbcc32.dll under windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11333 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c (control): Call krb5_stdcc_shutdown when detaching the krb5Theodore Tso1999-03-313-5/+14
| | | | | | | | | library. Makefile.in: Remove reference to the windows Krbcc32.dll library, since this is now dynamically loaded. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11332 dc483132-0cff-0310-8789-dd5450dbe970
* winccld.c, winccld.h, stdcc.c: Add files to dynamically loadTheodore Tso1999-03-315-3/+251
| | | | | | | krbcc32.dll, so that we can fall back and use the built-in file ccache type if krbcc32.dll doesn't exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11331 dc483132-0cff-0310-8789-dd5450dbe970
* * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pcktTom Yu1999-03-312-1/+9
| | | | | | failure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11329 dc483132-0cff-0310-8789-dd5450dbe970
* * termios-tn.c: Include termio.h under AIX due to brokennessTom Yu1999-03-312-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11327 dc483132-0cff-0310-8789-dd5450dbe970
* * update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we'reTom Yu1999-03-282-0/+8
| | | | | | on a system that cleans up the namespace that way. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11323 dc483132-0cff-0310-8789-dd5450dbe970
* Changed stat.h typedefs to not be included if building with CodeWarrior, to ↵Miro Jurisic1999-03-271-1/+1
| | | | | | prevent conflicts with MSL stat.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11321 dc483132-0cff-0310-8789-dd5450dbe970
* acquire_cred.c (krb5_gss_acquire_cred): Don't use strcmp to compareTheodore Tso1999-03-272-6/+21
| | | | | | against principal components (they aren't null terminated!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11320 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (login): Check that the luid is not the uid we want toTom Yu1999-03-262-1/+8
| | | | | | | change to prior to calling setluid() so that we can run as non-root. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11316 dc483132-0cff-0310-8789-dd5450dbe970
* gssapi_krb5.c: Rearrange OID's so that the V1V2 mechanism set returnsTheodore Tso1999-03-267-19/+51
| | | | | | | | | | | | | | | | | | | | | | | | all three mechanism ID's recognized by this implementation, with the RFC1964 OID first (and thus preferred). import_sec_context.c (krb5_gss_convert_static_mech_oid): Make the old convert_static_oid() function globally accessible with a namespace compliant name, since init_sec_context() needs to be able to use this function. indicate_mechs.c (krb5_gss_indicate_mechs): Return the v1v2 mechanism set OID, since we should return all the mechanisms that we support. init_sec_context.c (krb5_gss_init_sec_context): Make ctx->mech_used use a static OID, since it is returned by gss_inquire_context which must return a static OID. wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix bug where we would overestimate the size of the allowable input message by one byte, because we weren't passing the right estimate of the wrapped data to g_token_size(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11315 dc483132-0cff-0310-8789-dd5450dbe970
* disp_major_status.c (display_unknown): Fix the length of the buffer toTheodore Tso1999-03-262-1/+7
| | | | | | | be the size of the returned string, instead of something bigger than the returned string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11314 dc483132-0cff-0310-8789-dd5450dbe970
* * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, notTom Yu1999-03-252-1/+6
| | | | | | char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11312 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/sockio.h for systems that need itTom Yu1999-03-242-1/+6
| | | | | | for SIOCATMARK. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11307 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y (urgsafe_getc): New function; like getc() except itTom Yu1999-03-242-4/+39
| | | | | | | | | retries once if SIOCATMARK returns TRUE. (getline): Use urgsafe_getc() rather than getc() to avoid problems with certain Mac clients that cause the urgent pointer to end up in a location that results in EOF from getc(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11306 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in Danilo's changes to fix Makefile case for windows, and toTheodore Tso1999-03-241-76/+78
| | | | | | | deal with Irix's broken shell that can't deal with a lot of arguments on the command line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11305 dc483132-0cff-0310-8789-dd5450dbe970
* Move the definition of DLL_DEF_FILE from windows.in to win-post.in, so thatTheodore Tso1999-03-232-9/+10
| | | | | | the base Makefile has a chance to set DLL_EXP_TYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11304 dc483132-0cff-0310-8789-dd5450dbe970
* Add information for the profile library (which is now a separate library)Theodore Tso1999-03-231-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11303 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use cc_uint4 since the Windows include file apparently doesn'tTheodore Tso1999-03-231-2/+2
| | | | | | include it. unsigned int will work just fine here for now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11302 dc483132-0cff-0310-8789-dd5450dbe970
* Fix window's get_from_os() call so that gets the default cache name ifTheodore Tso1999-03-231-1/+1
| | | | | | | the strategy of getting the information from the registry fails (which it normally will, since this is used only for PC-DCE compatibility). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11301 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up makefile so that it correctly builds the DLL's under windowsTheodore Tso1999-03-231-6/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11300 dc483132-0cff-0310-8789-dd5450dbe970
* 68K builds gone; updated to 1.1b12Miro Jurisic1999-03-233-24/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11299 dc483132-0cff-0310-8789-dd5450dbe970
* updated to CCache 2.0b4Miro Jurisic1999-03-236-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11298 dc483132-0cff-0310-8789-dd5450dbe970