summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Call macfiles.sh explicitly using /bin/sh, so that it works even ifTheodore Tso1996-06-212-1/+7
| | | | | | the script doesn't have execute permission set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8532 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
* * aclocal.m4 (CHECK_DB): explicitly set $LIBS before callingTom Yu1996-06-172-0/+8
| | | | | | | | AC_CHECK_DBM_PROTO so that if a dbm lib is found it is linked against while checking for function existence. This may need some more testing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8375 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize auth_context to NULL before calling krb5_sendauth - otherwiseEzra Peisach1996-06-152-1/+4
| | | | | | | it is treated as pointing to valid memory... (Patch provided by Bill Sommerfeld) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8367 dc483132-0cff-0310-8789-dd5450dbe970
* Remove tests that are not needed with the pty library in placeEzra Peisach1996-06-152-22/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8366 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 SS_RULESTom Yu1996-06-146-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8362 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in,pre.in: break some things out from aclocal.m4 and putTom Yu1996-06-143-0/+64
| | | | | | them here git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8361 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to ET_RULESTom Yu1996-06-1422-11/+54
| | | | 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
* * configure.in: remove ref to SS_RULES, ET_RULESTom Yu1996-06-142-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8358 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: break some stuff out into pre.in and post.in inTom Yu1996-06-142-140/+11
| | | | | | preparation for doing away with PUSH_MAKEFILE cruft git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8357 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (authdata): misplaced braces caused server to not be able toKevin Mitchell1996-06-132-1/+8
| | | | | | | use ftp principle if it was present. Client looks for ftp first, then tries host; ftpd was looking only for host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 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
* For Win32, define away FAR and NEARTheodore Tso1996-06-132-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8350 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
* * aclocal.m4 (AC_CHECK_DBM_PROTO): Correct to use correct cacheEzra Peisach1996-06-132-1/+6
| | | | | | variable in test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8347 dc483132-0cff-0310-8789-dd5450dbe970
* New variable which is used to control the /pagesize parameter forTheodore Tso1996-06-133-1/+8
| | | | | | | Windows 16. (Obviously we're suffering from library size bloat if we need to set this.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8346 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
* * aclocal.m4: use new AC_OUTPUT syntax for constructingTom Yu1996-06-122-3/+8
| | | | | | Makefile.tmp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8343 dc483132-0cff-0310-8789-dd5450dbe970
* * autoconf.texi (Output): document changes to AC_OUTPUTTom Yu1996-06-122-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8342 dc483132-0cff-0310-8789-dd5450dbe970
* * acgeneral.m4 (AC_OUTPUT_FILES): allow for multiple files inTom Yu1996-06-121-2/+14
| | | | | | | | AC_OUTPUT; this is done via AC_OUTPUT(outfile[:infile1[+infile2[+infile3...]]]). The source files are concatenated and substituted over. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8341 dc483132-0cff-0310-8789-dd5450dbe970
* Update to newer version in order to support more platformsEzra Peisach1996-06-122-36/+170
| | | | | | | We may have to verify that for all platforms w/ shared libraries the name has not changed... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8330 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
* * Makefile.in (lib-windows): Replace spaces with tabEzra Peisach1996-06-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8322 dc483132-0cff-0310-8789-dd5450dbe970
* New file for SAPKRB5.DLLTheodore Tso1996-06-121-0/+72
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8321 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8320 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.h:Theodore Tso1996-06-129-30/+120
| | | | | | | | | | | | error_table.h: Add Windows-32 ifdefs. Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP. See ChangeLog entries for src/include/krb5.hin for more information. vfprintf.c, internal.h, compile_et.c, et_c.awk, com_err.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8319 dc483132-0cff-0310-8789-dd5450dbe970
* test_profile.c: Add usage message if not enough argumentsTheodore Tso1996-06-127-15/+58
| | | | | | | | | | | | | | | prof_parse.c (dump_profile_to_file, dump_profile): Dump the profile using the correct line terminator for Windows, Macintosh, etc. prof_parse.c: prof_file.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. prof_int.h: Add size #defines for _WIN32. Handle prototypes correctly for _WIN32. prof_int.h: Added comment to profile state structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8318 dc483132-0cff-0310-8789-dd5450dbe970
* Change _WINDOWS to _MSDOS, and add check for _WIN32Theodore Tso1996-06-124-6/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8317 dc483132-0cff-0310-8789-dd5450dbe970