summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed lxs' fix: strlen (x) + 1 instead of strlen (x+1)Miro Jurisic2000-02-112-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12035 dc483132-0cff-0310-8789-dd5450dbe970
* Added comments to remove some calls in the next releasMiro Jurisic2000-02-111-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12034 dc483132-0cff-0310-8789-dd5450dbe970
* changelog updated for stdcc_util.c changeAlexandra Ellwood2000-02-101-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12033 dc483132-0cff-0310-8789-dd5450dbe970
* Added +1 to strlens so that null terminator will fit in the buffer ;-PAlexandra Ellwood2000-02-101-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12032 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): Only destroy xtra_creds if non-null. (Patch from Richard ↵Ken Raeburn2000-02-102-1/+7
| | | | | | Basch.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12031 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 3.0d1Miro Jurisic2000-02-101-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12030 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c: Added changes for the Mac for limited support of ↵Marshall Vale2000-02-081-0/+10
| | | | | | Application Support folder as a location for the krb5 configuration file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12027 dc483132-0cff-0310-8789-dd5450dbe970
* Limited support for Applicaiton Support folder as location for krb5.ini on ↵Marshall Vale2000-02-081-8/+24
| | | | | | the Mac added git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12026 dc483132-0cff-0310-8789-dd5450dbe970
* * api.1/lock.exp: Since a "wait" directive to the command list ofTom Yu2000-02-082-0/+12
| | | | | | | | | | | the lock_test procedures does not wait for any synchronization, change lock9 to acquire and release a lock before the "wait" directive in order to avoid a race condition where lock9 spawns the ./lock-test but the program has not opened the database prior to lock9_1 acquiring a permanent lock. This was causing difficult-to-reproduce failures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12025 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Kludge in the old test for tcl so that we have someTom Yu2000-02-082-1/+74
| | | | | | | prayer of pulling in tcl from the funky installation that goes along with dejagnu. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12024 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flagTom Yu2000-02-082-2/+7
| | | | | | to accomodate new program behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12023 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/lib.t: Call kinit and kdestroy with -5 flag to accomodateTom Yu2000-02-082-2/+7
| | | | | | new behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12022 dc483132-0cff-0310-8789-dd5450dbe970
* * config/unix.exp: Call send_error instead of fail to preventTom Yu2000-02-073-7/+16
| | | | | | | | | | referencing variables not yet set up by the test framework. * lib/helpers.exp: Call kinit and kdestroy with the -5 flag to deal with new program behavior. Also call perror rather than error to avoid spewing a stack trace. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12021 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Use $KDESTROY -5 to deal with changed behaviorTom Yu2000-02-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12020 dc483132-0cff-0310-8789-dd5450dbe970
* changepw.c (krb5_locate_kpasswd): fixed memory trashing caused by incorrect ↵Scott McGuire2000-02-072-1/+7
| | | | | | pointer arithmetic when assigning DEFAULT_KPASSWD_PORT in DNS code git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12019 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Remove default_tgs_enctypes for now as it wasTom Yu2000-02-072-1/+7
| | | | | | | causing tests to fail when the tgt is DES3. Need to investigate further. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12018 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Change test syntax a little to keep ↵Ken Raeburn2000-02-072-1/+7
| | | | | | bash happy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12017 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for inet_ntop and getipnodebyaddr, both used in klistKen Raeburn2000-02-072-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12016 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c (return_sam_data): Just return 0 if no input preauth data is ↵Ken Raeburn2000-02-072-1/+5
| | | | | | available git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12015 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (try_convert524): Avoid duplicate free callsKen Raeburn2000-02-072-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12014 dc483132-0cff-0310-8789-dd5450dbe970
* fix my email address in log headerKen Raeburn2000-02-071-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12013 dc483132-0cff-0310-8789-dd5450dbe970
* * gic_pwd.c (krb5_get_as_key_password): If the as_key enctype is already set toKen Raeburn2000-02-073-15/+35
| | | | | | | | | | | | | | the correct type, do continue and ask for the password anyways. (Patch from Chas Williams, PR krb5-libs/730.) * preauth2.c (pa_sam): If no sam_flags were set, return KRB5_PREAUTH_BAD_TYPE, because we don't currently handle that case. * preauth2.c (pa_sam): Remove unused variable use_sam_key. (SAMDATA): Cast first result to int, which is what sprintf needs. (pa_salt): Delete unused variable ret. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12012 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c (get_preauth_hint_list): Log a message if preauth is requiredKen Raeburn2000-02-072-1/+20
| | | | | | | | but no preauth types are available. (return_sam_data): Fix typo in figuring length of data to XOR when merging keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12011 dc483132-0cff-0310-8789-dd5450dbe970
* Frank Cusack's patches, first two sets. Should be no incompatible changes,Ken Raeburn2000-02-075-22/+306
| | | | | | | | | | | except perhaps for a client talking to both a new and old KDC? Several improvements to guard against replay attacks when hardware preauth is in use, though they require re-enabling the USE_RCACHE code, which I haven't done yet. Several changes of mine for silencing a few compiler warnings, and adding some debugging log messages while I track what's going on with the preauth code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12010 dc483132-0cff-0310-8789-dd5450dbe970
* updated some comments (fcusack)Ken Raeburn2000-02-072-6/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12009 dc483132-0cff-0310-8789-dd5450dbe970
* added flags field to predicted_sam_response (fcusack)Ken Raeburn2000-02-075-13/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12008 dc483132-0cff-0310-8789-dd5450dbe970
* Add documentation about debug vs. release buildsDanilo Almeida2000-02-072-5/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12007 dc483132-0cff-0310-8789-dd5450dbe970
* more fcusack changes - rest of first setKen Raeburn2000-02-074-2/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12006 dc483132-0cff-0310-8789-dd5450dbe970
* Frank Cusack changes, set 1, diffs 1-3 of 4Ken Raeburn2000-02-079-12/+43
| | | | | | | | Rename "sam_passcode" field to "sam_sad". Add data to predicted-sam-response structure, in part to (prepare to) help with replay detection. Fix some memory allocation problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12005 dc483132-0cff-0310-8789-dd5450dbe970
* * standalone.exp: Use $KLIST -5 and $KDESTROY -5 to deal withTom Yu2000-02-064-7/+19
| | | | | | | | | | | changed behavior in these programs. Wait for eof in some cases to avoid hanging. * rsh.exp: Wait for eof to prevent hanging. * gssapi.exp: Use $KINIT -5 to deal with new kinit behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12004 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Use $KINIT -5 to deal with modified kinitTom Yu2000-02-062-1/+6
| | | | | | behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12003 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): Reorder some control flow to avoid security holeTom Yu2000-02-062-6/+9
| | | | | | if KRB4_GET_TICKETS is not defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12001 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c: Only free stuff if it's not NULL. (Note: The krb5_free_*Danilo Almeida2000-02-042-4/+13
| | | | | | routines probably should be fixed check for NULL pointers...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12000 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (klist): Fix to build under Unix againTom Yu2000-02-042-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11999 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kinit): Fix to build on Unix againTom Yu2000-02-044-4/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11998 dc483132-0cff-0310-8789-dd5450dbe970
* (krb5_locate_kpasswd): fixed memory trashing caused by incorrect pointer ↵Scott McGuire2000-02-042-1/+7
| | | | | | arithmetic when assigning DEFAULT_KPASSWD_PORT in non-DNS code git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11997 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Add support to substitute KRB524_LIB in placesTom Yu2000-02-042-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11996 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Add KRB524_DEPLIB and KRB524_LIBTom Yu2000-02-042-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11995 dc483132-0cff-0310-8789-dd5450dbe970
* Removed calls that destroyed and recreated ccapi_data->NamedCache if it ↵Scott McGuire2000-02-042-8/+9
| | | | | | exists in krb5_stdcc_initialize(); instead close and call create on it again git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11994 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c: Major revamp to support Kerberos 4 compatibility. CodeDanilo Almeida2000-02-043-217/+847
| | | | | | | | | | | | restructured to allow changes to support Kerberos 4 or Kerberos 5 only operation depending on whether dynamic libraries are avialable. Explicit documentation and support files to make it easy to do this will be forthcoming. * Makefile.in: On Windows, use getopt.lib instead of getopt.obj, and add support for getopt_long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11993 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c: Major revamp to support Kerberos 4 compatibility. CodeDanilo Almeida2000-02-042-32/+216
| | | | | | | | | restructured to allow changes to support Kerberos 4 or Kerberos 5 only operation depending on whether dynamic libraries are avialable. Explicit documentation and support files to make it easy to do this will be forthcoming. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11992 dc483132-0cff-0310-8789-dd5450dbe970
* * kdestroy.c: Major revamp to support Kerberos 4 compatibility. CodeDanilo Almeida2000-02-042-41/+119
| | | | | | | | | restructured to allow changes to support Kerberos 4 or Kerberos 5 only operation depending on whether dynamic libraries are avialable. Explicit documentation and support files to make it easy to do this will be forthcoming. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11991 dc483132-0cff-0310-8789-dd5450dbe970
* * getopt.c, getopt_long.c, getopt.h: Update to latest BSD codeDanilo Almeida2000-02-045-40/+341
| | | | | | | | found (from NetBSD). * Makefile.in: Build getopt.lib which includes getopt.obj and getopt_long.obj. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11990 dc483132-0cff-0310-8789-dd5450dbe970
* * listen.c (ss_listen): Local var END should be volatileKen Raeburn2000-02-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11987 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Build gss-sample on WindowsDanilo Almeida2000-02-022-7/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11986 dc483132-0cff-0310-8789-dd5450dbe970
* * kvno.c (main): Use krb5_decode_ticket() instead ofDanilo Almeida2000-02-022-1/+6
| | | | | | decode_krb5_ticket(), which is not part of API. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11985 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_32.def: Replace decode_krb5_ticket with krb5_decode_ticket.Danilo Almeida2000-02-022-11/+30
| | | | | | Add documentation about adding things to DEF file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11984 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode.c (krb5_decode_ticket): Add function to provideDanilo Almeida2000-02-022-0/+14
| | | | | | decode_krb5_ticket functionality as part of krb5 API. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11983 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_decode_ticket): DeclareDanilo Almeida2000-02-012-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11982 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-client.c, gss-server.c, gss-misc.c: Include Windows headersDanilo Almeida2000-02-015-9/+63
| | | | | | | | | | | | | | | | instead of Unix headers under Windows. * gss-server.c (usage): Fix usage info to reflect that service_name is required. * gss-misc.c (read_all, write_all): Change write to send and read to recv for portability. (gettimeofday): Add an implementation of gettimeofday() for Windows. * Makefile.in: Build under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11981 dc483132-0cff-0310-8789-dd5450dbe970