summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* More fixed to make perl script run cirrectly from any rootMiro Jurisic1999-07-102-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11551 dc483132-0cff-0310-8789-dd5450dbe970
* Added profile library and fixed perl script invocation to work fromarbitrary ↵Miro Jurisic1999-07-101-24/+163
| | | | | | root git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11550 dc483132-0cff-0310-8789-dd5450dbe970
* Added profile library file listMiro Jurisic1999-07-101-18/+57
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11549 dc483132-0cff-0310-8789-dd5450dbe970
* Removed profile lib error table installationMiro Jurisic1999-07-101-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11548 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_util.c (main): Do try using com_err in the case that krb5_init_contextKen Raeburn1999-07-072-2/+6
| | | | | | | fails, instead of fprintf of the error number. (cf krb5-bugs db #499, 13-Nov-1997) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11546 dc483132-0cff-0310-8789-dd5450dbe970
* * KRB5-asn.py (PA-SAM-RESPONSE): Fix syntax error -- comma separating sequenceKen Raeburn1999-07-062-4/+10
| | | | | | components doesn't belong buried in a comment. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11545 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Delete old and already disabled code relating to shared libraryKen Raeburn1999-07-062-232/+5
| | | | | | support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11544 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add test cases for encryption_key inTom Yu1999-07-042-0/+11
| | | | | | | order to test skipping of trailing fields in sequences, as well as handling of indefinite lengths in sequences. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11543 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn1buf_sync): Add length parameter to disambiguateTom Yu1999-07-045-7/+21
| | | | | | | | | | | | | | | constructed-indefinite encoding from constructed-definite encoding which happens to end at the same place as the enclosing buf. * asn1buf.h: Update to match definition. * krb5_decode.c (end_structure): Update to deal with additional length parameter to asn1buf_sync(). * asn1_k_decode.c (end_sequence_of, end_structure): Update to deal with additional length parameter to asn1buf_sync(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11542 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h: New prototpyes for asn1buf_sync() andTom Yu1999-07-035-10/+71
| | | | | | | | | | | | | | | | | | | asn1buf_skiptail(). * asn1buf.c (asn1buf_sync): Fix to deal with constructed-indefinite encodings with trailing fields. As a result, this requires that the most recently read tag number be passed in. (asn1buf_skiptail): New helper function to skip trailing fields in a constructed-indefinite encoding. * krb5_decode.c (end_structure): Hack to deal with changed asn1buf_sync(). * asn1_k_decode.c (end_structure, end_sequence_of): Hack to deal with changed asn1buf_sync(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11541 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn1buf_sync): Interim fix for DCE compat problemTom Yu1999-07-012-1/+14
| | | | | | with indefinite length encodings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11540 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix jaltman's changes so they don't break the unixTom Yu1999-07-012-6/+11
| | | | | | build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11539 dc483132-0cff-0310-8789-dd5450dbe970
* Disable lookaside cache. It's needed if the replay cache is enabled, and couldKen Raeburn1999-06-304-2/+22
| | | | | | | | | theoretically make certain attacks more difficult, but the replay cache is disabled, the attack is very difficult compared to other existing attacks (would need huge numbers of queries), and under heavy load the lookaside cache degrades performance. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11538 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Kerberos admin service name isKen Raeburn1999-06-302-1/+7
| | | | | | "kerberos-adm", not "kadmin", so look up "_kerberos-adm._tcp" in DNS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11537 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_try_realm_txt_rr() should allow the resolv library to expandJeffrey Altman1999-06-301-8/+14
| | | | | | | | | | | the local domain or domain searchlist when the query is being performed without the specification of a hostname or domain. When 'name' is NULL or "", no '.' should be appended to the query. Appending a '.' in that circumstance will result in an inability to resolv the REALM if gethostname() does not return a fully qualified domain name as on Windows and Solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11536 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in modified to support conditional compilation of krb5_32.dllJeffrey Altman1999-06-302-6/+21
| | | | | | | | | with DNS support using DNSFLAGS variable defined in win-pre.h. krb5_32.def modified to export functions necessary to support eklogin protocol. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11535 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for conditional definition of DNS flags to win-pre.hJeffrey Altman1999-06-301-1/+7
| | | | | | | If KRB5_USE_DNS is defined in the environment then Krb5_32.dll will be built with DNS support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11534 dc483132-0cff-0310-8789-dd5450dbe970
* * replay.c (MATCH): Fix up to compare the correct components ofTom Yu1999-06-292-1/+7
| | | | | | the input address. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11533 dc483132-0cff-0310-8789-dd5450dbe970
* * dk_encrypt.c (krb5_marc_dk_encrypt): CallTom Yu1999-06-292-1/+7
| | | | | | | krb5_marc_dk_encrypt_length() instead of krb5_dk_encrypt_length() to prevent blocksize errors. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11532 dc483132-0cff-0310-8789-dd5450dbe970
* * enc_helper.c (krb5_encrypt_helper): NULL out the pointer to theTom Yu1999-06-292-2/+10
| | | | | | | ciphertext if there is an error; this prevents stuff farther up from freeing freed memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11531 dc483132-0cff-0310-8789-dd5450dbe970
* Check whether profile is valid before partying on itDanilo Almeida1999-06-232-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11527 dc483132-0cff-0310-8789-dd5450dbe970
* DNS lookup implementation, conditionally compiled under KRB5_DNS_LOOKUP (whichKen Raeburn1999-06-214-43/+691
| | | | | | | is not defined). Written by Ken Hornstein and Jeffrey Altman, with some minor changes from me. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11525 dc483132-0cff-0310-8789-dd5450dbe970
* Boost version to 1.0.8Danilo Almeida1999-06-212-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11524 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (krb5_free_context): Set field pointers to NULL after freeingKen Raeburn1999-06-182-5/+19
| | | | | | | targets, in case higher-level code retains pointers into the context structure. From Jeffrey Altman. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11523 dc483132-0cff-0310-8789-dd5450dbe970
* minor syntax cleanupKen Raeburn1999-06-182-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11522 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_encode.c (asn1_encode_generaltime): Fix minor bug inTom Yu1999-06-172-1/+6
| | | | | | bounds-checking for tm_year: 1900 + 8099 = 9999. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11521 dc483132-0cff-0310-8789-dd5450dbe970
* * ccdefname.c (get_from_registry_indirect, try_dir, get_from_os):Danilo Almeida1999-06-173-120/+225
| | | | | | | | | Extra robustness to win32 code. * init_os_ctx.c (krb5_get_config_files, krb5_free_config_files): Add function to get config files being used for current context with corresponding free function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11520 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_32.def: Add krb5_get_default_config_files andDanilo Almeida1999-06-172-0/+7
| | | | | | krb5_free_config_files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11519 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_get_default_config_files, krb5_free_config_files):Danilo Almeida1999-06-172-0/+12
| | | | | | | Add function to get default config files with corresponding free function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11518 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak in profile_init_path()Danilo Almeida1999-06-172-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11517 dc483132-0cff-0310-8789-dd5450dbe970
* For profile name, enhance win32 heuristics to use environment variableDanilo Almeida1999-06-163-50/+281
| | | | | | | | | | (like Unix) and registry. Also try executable's dir before windows dir if not secure. For ccname, enhance win32 heuristics to use registry properly. Default to API:krb5cc properly, and to use temp dirs before the windows dir. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11516 dc483132-0cff-0310-8789-dd5450dbe970
* Fix windows build.Danilo Almeida1999-06-1610-18/+29
| | | | | | Fix calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11515 dc483132-0cff-0310-8789-dd5450dbe970
* Fix windows buildDanilo Almeida1999-06-162-4/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11514 dc483132-0cff-0310-8789-dd5450dbe970
* Create Makefile.in for srvtab keytab code during win32 buildDanilo Almeida1999-06-162-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11513 dc483132-0cff-0310-8789-dd5450dbe970
* Get rid of control characters in text fileDanilo Almeida1999-06-152-16/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11512 dc483132-0cff-0310-8789-dd5450dbe970
* Implement SRVTAB keytab type, which can read a krb4 srvtabGeoffrey King1999-06-1320-15/+863
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11511 dc483132-0cff-0310-8789-dd5450dbe970
* Mac: Fixed 2nd config file nameMiro Jurisic1999-06-112-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11509 dc483132-0cff-0310-8789-dd5450dbe970
* Use PostMessage instead of SendMessage so that we don't blockDanilo Almeida1999-06-104-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11508 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed Mac PPC #ifdefsMiro Jurisic1999-06-092-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11507 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed quotingMiro Jurisic1999-06-091-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11505 dc483132-0cff-0310-8789-dd5450dbe970
* Added libraries for native microseconds supportMiro Jurisic1999-06-091-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11504 dc483132-0cff-0310-8789-dd5450dbe970
* #ifdefed Mac native microseconds code for PPC-onlyMiro Jurisic1999-06-092-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11503 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed Duplicate won't delete locked files bugAlexandra Ellwood1999-06-091-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11502 dc483132-0cff-0310-8789-dd5450dbe970
* Merged changes from Mac_V2_0_derivatives branchMiro Jurisic1999-06-091-8/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11501 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 2.0.1b1, 2.1d1 and 2.1d2Miro Jurisic1999-06-091-1/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11500 dc483132-0cff-0310-8789-dd5450dbe970
* Merged changed from Mac_V2_0_derivatives branchMiro Jurisic1999-06-096-21/+161
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11499 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_rc_*Miro Jurisic1999-06-091-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11498 dc483132-0cff-0310-8789-dd5450dbe970
* removed kconfig since it is no longer neededAlexandra Ellwood1999-06-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11497 dc483132-0cff-0310-8789-dd5450dbe970
* Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO for Mac OT SocketsLibAlexandra Ellwood1999-06-087-37/+47
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11496 dc483132-0cff-0310-8789-dd5450dbe970
* Remove references to cc_*_instance functionsDanilo Almeida1999-06-082-12/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11495 dc483132-0cff-0310-8789-dd5450dbe970