summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Updating ChangeLogJeffrey Altman1999-07-231-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11594 dc483132-0cff-0310-8789-dd5450dbe970
* Updating changelogJeffrey Altman1999-07-231-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11593 dc483132-0cff-0310-8789-dd5450dbe970
* Update changelogJeffrey Altman1999-07-231-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11592 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile support for libdefaults dns_fallbackJeffrey Altman1999-07-231-38/+55
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11589 dc483132-0cff-0310-8789-dd5450dbe970
* Updated Windows section to use filespecs instead of filenamesJeffrey Altman1999-07-231-9/+22
| | | | | | Add support for storing the existence of a memory profile in the krb5_context git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11588 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile support for libdefaults dns_fallbackJeffrey Altman1999-07-232-36/+70
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11586 dc483132-0cff-0310-8789-dd5450dbe970
* Rename conf_boolean to krb5_conf_boolean and remove the static designationJeffrey Altman1999-07-231-3/+4
| | | | | | so that the function may be used in other modules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11585 dc483132-0cff-0310-8789-dd5450dbe970
* Additional exports which are used by Kermit for Server Side Telnet ↵Jeffrey Altman1999-07-231-1/+8
| | | | | | authentication git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11583 dc483132-0cff-0310-8789-dd5450dbe970
* more fixes for meeroh's patchKen Raeburn1999-07-222-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11573 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (os_get_default_config_files): Fix some typos and missed nameKen Raeburn1999-07-212-11/+18
| | | | | | | changes in the patch Miro just checked in but forgot to mention here, in which Mac filespecs are used instead of filenames. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11572 dc483132-0cff-0310-8789-dd5450dbe970
* Use Mac files specifiers for config files on MacOSMiro Jurisic1999-07-211-79/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11567 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_decode.c (asn1_decode_integer): Fix to deal with overflowsTom Yu1999-07-112-8/+30
| | | | | | | | and negative integers. (asn1_decode_unsigned_integer): Fix to deal with overflows and to return errors on encountering negative integers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11558 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
* * 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
* * 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
* * 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
* 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
* * 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
* * 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
* 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
* 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
* #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
* Merged changed from Mac_V2_0_derivatives branchMiro Jurisic1999-06-094-20/+154
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11499 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
* Only do version checking once per use of the DLLDanilo Almeida1999-06-082-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11494 dc483132-0cff-0310-8789-dd5450dbe970
* Removed macsock.c and DNR.c because they are not used by OT sockets libraryAlexandra Ellwood1999-05-272-1225/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11475 dc483132-0cff-0310-8789-dd5450dbe970
* Removed macsock.c and DNR.c because they are not used by the OT sockets libraryAlexandra Ellwood1999-05-271-6/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11474 dc483132-0cff-0310-8789-dd5450dbe970
* Removed call to getmyipaddr since Sockets has gethostnameAlexandra Ellwood1999-05-271-11/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11472 dc483132-0cff-0310-8789-dd5450dbe970
* Improve rule to create gssapi include dir under windowsDanilo Almeida1999-05-194-10/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11466 dc483132-0cff-0310-8789-dd5450dbe970
* These are a bunch of intertwined changes to the windows build.Danilo Almeida1999-05-1916-77/+115
| | | | | | | | | | | | | | | | | | | | | | | | This log message includes all of the different changes across several Makefile.in files (and win-pre.in and win-post.in): - Remove "-" from recursive windows make invocations so that we can bail on a build error. New MIGNORE option restores the previous bailing behavior. - Update windows readme to reflect current practices. - Add NO_OUTDIR synonym for NO_OUTPRE in windows build. - Top-level windows Makefile now builds util which now builds util/windows, util/et, and util/profile (instead of building them directly). - Remove trailing backslash from rule that creates the windows output dir. This backslash would cause the rule to always be invoked. - Move WCONFIG and WCONFIG_EXE definitions into win-pre.in. - Remove rules in include directory that blindly copy include header files from gssapi, et, and profile. Instead, use/add build rules to the components that generate them that copy only when the file changes. - Use dependencies in include/krb5 to copy header files instead of blindly copying them. Add !if 0/!endif wrapper to Unix version of the rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11464 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Use only one resource file per binary.Danilo Almeida1999-05-183-47/+47
| | | | | | krb5.rc: Remove silly _MSDOS #ifdef. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11459 dc483132-0cff-0310-8789-dd5450dbe970
* Make directories for clean-windows target lowercase like everywhere elseDanilo Almeida1999-05-172-7/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11458 dc483132-0cff-0310-8789-dd5450dbe970
* Clean ccapi subdirectory in clean-windows targetDanilo Almeida1999-05-172-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11451 dc483132-0cff-0310-8789-dd5450dbe970
* Get rid of win16 support/clutter. Build separate resource files for eachDanilo Almeida1999-05-172-142/+105
| | | | | | | library. Link resource files directly instead of excplicitly converting to object files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11450 dc483132-0cff-0310-8789-dd5450dbe970
* winccld.c (krb5_win_ccdll_load): Register the FILE ccache type if weTheodore Tso1999-05-132-1/+13
| | | | | | | are using ccapi, so that we make sure the FILE ccache type will work if the user specifies it in an environment variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11441 dc483132-0cff-0310-8789-dd5450dbe970
* init_ctx.c (krb5_init_context): Pass the context toTheodore Tso1999-05-132-2/+9
| | | | | | | kkrb5_win_ccdll_load so that it can register the FILE ccache type if using ccapi (so that the FILE ccache type will always work). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11440 dc483132-0cff-0310-8789-dd5450dbe970