summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * client_init.c (_kadm5_init_any): Use gss_krb5_ccache_name() toTom Yu1999-05-132-8/+24
| | | | | | set the gssapi ccache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11439 dc483132-0cff-0310-8789-dd5450dbe970
* gssapi32.def: Add krb5-specific extensions so they are exported fromTheodore Tso1999-05-122-0/+11
| | | | | | the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11438 dc483132-0cff-0310-8789-dd5450dbe970
* Do win32 build in subdirDanilo Almeida1999-05-1064-516/+648
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
* Remove Win16 directives to get rid of warningsDanilo Almeida1999-05-075-15/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11429 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typoDanilo Almeida1999-05-072-5/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11428 dc483132-0cff-0310-8789-dd5450dbe970
* Return KRB5_REALM_UNKNOWN if profile_get_values returnsTheodore Tso1999-05-072-7/+9
| | | | | | PROF_NO_RELATION or PROF_NO_SECTION. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11425 dc483132-0cff-0310-8789-dd5450dbe970
* xpprof32.def: Add profile_abandon to the list of exported functionsTheodore Tso1999-05-072-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11424 dc483132-0cff-0310-8789-dd5450dbe970
* set_ccache.c (gss_krb5_ccache_name): Add call to free the defaultTheodore Tso1999-04-302-0/+7
| | | | | | credential changing the ccache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11413 dc483132-0cff-0310-8789-dd5450dbe970
* Removed #include for gssapi_generic.h from gssapi_krb5.hMiro Jurisic1999-04-292-5/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11405 dc483132-0cff-0310-8789-dd5450dbe970
* * svc.c: Fix to reference the correct xprt because we're no longerTom Yu1999-04-242-4/+6
| | | | | | calling ffs(); also remove some unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11392 dc483132-0cff-0310-8789-dd5450dbe970
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix wrap_size limit soTheodore Tso1999-04-232-6/+20
| | | | | | | | that it correctly calculates its results, and underestimates the correct size instead of overestimating it, and not returning zero all the time. (Which it used to do after the March 25 fix.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11380 dc483132-0cff-0310-8789-dd5450dbe970
* winccld.c: Only compile this file on Windows (to avoid screwing up theTheodore Tso1999-04-212-3/+7
| | | | | | Macintosh build). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11372 dc483132-0cff-0310-8789-dd5450dbe970
* * svc.c (xprt_unregister): Fix typoTom Yu1999-04-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11371 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_32.def: Add krb5_cc_set_default_name to the list of exported functionsTheodore Tso1999-04-172-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11368 dc483132-0cff-0310-8789-dd5450dbe970
* gssapi_krb5.h, copy_ccache.c, get_tkt_flags.c, set_ccache.c: Make theTheodore Tso1999-04-175-20/+18
| | | | | | krb5 extension functions exportable in a Windows DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11367 dc483132-0cff-0310-8789-dd5450dbe970
* Built the krb5 specific extension function which allows an applicationTheodore Tso1999-04-171-0/+1
| | | | | | program to set the ccache location. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11366 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
* 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