summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed file list generationMiro Jurisic1999-08-071-12/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11631 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed file list generation to work from any directoryMiro Jurisic1999-08-062-39/+51
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11630 dc483132-0cff-0310-8789-dd5450dbe970
* * def_realm.c (krb5_get_default_realm): Check that we haveDanilo Almeida1999-08-062-1/+5
| | | | | | | a realm before trying to copy it (since profile_get_string may return no error but not get anything). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11629 dc483132-0cff-0310-8789-dd5450dbe970
* Fix calling convention for krb5_get_profileDanilo Almeida1999-08-062-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11628 dc483132-0cff-0310-8789-dd5450dbe970
* Keep invariant that profile_in_memory member of contextDanilo Almeida1999-08-052-0/+7
| | | | | | is only sensible if KRB5_DNS_LOOKUP is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11627 dc483132-0cff-0310-8789-dd5450dbe970
* * t_std_conf.c (test_get_krbhst): Use krb5_free_krbhst toDanilo Almeida1999-08-0511-92/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free buffers allocated by krb5_get_krbhst. * locate_kdc.c (_krb5_use_dns): Add _krb_use_dns to abstract away looking up of whether we use DNS or not in the profile. * ktdefname.c (krb5_kt_default_name): Use profile_release_string instead of free to free string allocated by profile_get_string. * get_krbhst.c (krb5_get_krbhst): Copy results from profile_get_values into malloc'ed buffers so we can safely free them later. Also call profile_free_list on the original values. * locate_kdc.c (krb5_locate_kdc): * hst_realm.c (krb5_get_host_realm): * def_realm.c (krb5_get_default_realm): Use _krb5_use_dns to figure out whether to use DNS or not instead of directly reading the profile in this routine. * realm_dom.c (krb5_get_realm_domain): * hst_realm.c (krb5_get_host_realm): * def_realm.c (krb5_get_default_realm): Copy results of profile_get_string into malloc'ed buffer so it can safely be free'd later. * locate_kdc.c (krb5_locate_srv_conf): * def_realm.c (krb5_get_default_realm): * changepw.c (krb5_change_password): * an_to_ln.c (krb5_aname_to_localname): Use profile_free_list to free values allocated by profile_get_values. * init_os_ctx.c (os_init_paths): Wrap use of ctx->profile_in_memory with KRB5_DNS_LOOKUP. Use pointer value to determine whether to free files by checking the files value rather than depending on the return value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11626 dc483132-0cff-0310-8789-dd5450dbe970
* Document why krb5_win_ccdll_load is called way early in code.Danilo Almeida1999-08-052-3/+14
| | | | | | | | (It is because we need to have the ccapi stuff loaded before trying to get the OS-specific context initialization where we figure out default cache names and such.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11625 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (get_profile_etype_list): Use profile_release_stringDanilo Almeida1999-08-054-18/+34
| | | | | | | | | | | | | | | | to free string allocated by profile_get_string. (krb5_init_context): Use a real context for krb5_win_ccdll_load. * get_in_tkt.c (krb5_appdefault_string): * conv_princ.c (krb5_425_conv_principal): Use profile_free_list to free values allocated by profile_get_values. * get_in_tkt.c (_krb5_conf_boolean, krb5_appdefault_boolean): Rename krb5_conf_boolean to _krb5_conf_boolean to denote that it is not public so that folks outside the libraries won't be tempted to use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11624 dc483132-0cff-0310-8789-dd5450dbe970
* Remove profile_free_string because we already have profile_release_stringDanilo Almeida1999-08-053-13/+2
| | | | | | (who named these things anyhow?) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11623 dc483132-0cff-0310-8789-dd5450dbe970
* Add profile_free_string to free strings allocated by profile_get_stringDanilo Almeida1999-08-053-0/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11622 dc483132-0cff-0310-8789-dd5450dbe970
* * stdcc_util.c (deep_free_cc_v5_creds):Alexandra Ellwood1999-08-051-0/+9
| | | | | | | | | | Added free(creds) so that the cc_creds gets freed when a cred_union gets freed. Before it was leaking memory. I searched the k5 sources for folks calling deep_free_cc_v5_creds and my change seems to not break anyone else. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11621 dc483132-0cff-0310-8789-dd5450dbe970
* Added free(creds) to deep_free_cc_v5_creds so that someone is freeing the ↵Alexandra Ellwood1999-08-051-0/+2
| | | | | | | | cc_creds when a cred_union gets freed. Before it was leaking memory I searched the k5 sources for folks calling deep_free_cc_v5_creds and my change seems to not break anything. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11620 dc483132-0cff-0310-8789-dd5450dbe970
* Intialize out_creds pointer to 0 and then check whether it is 0 beforeDanilo Almeida1999-08-042-4/+12
| | | | | | | trying to dereference it, in case lower-level routine failed to assign a value to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11619 dc483132-0cff-0310-8789-dd5450dbe970
* Update dump-utmp from KerbNet 1.2.Ken Raeburn1999-08-034-30/+109
| | | | | | | Add makefile rules for building dump-utmp on request. Fix line id for console on Solaris. (PR561) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11618 dc483132-0cff-0310-8789-dd5450dbe970
* prof_file.c (profile_open_file)Alexandra Ellwood1999-08-031-0/+6
| | | | | | | Mac OS side now sets profile->magic to PROF_MAGIC_FILE so the rest of the functions think it's a real profile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11617 dc483132-0cff-0310-8789-dd5450dbe970
* stdcc.c (krb5_stdcc_destroy):Alexandra Ellwood1999-08-031-0/+6
| | | | | | | Added code to free the krb5_ccache like krb5_stdcc_close does so we don't leak memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11616 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Wrap all declarations in `extern "C"' for C++, not just some. MoveKen Raeburn1999-08-032-37/+20
| | | | | | | header file inclusions up above extern-C block. (Fixes PR 729 from Chas Williams.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11615 dc483132-0cff-0310-8789-dd5450dbe970
* Added line to initialize profile->magic on the Macintosh because all of the ↵Alexandra Ellwood1999-08-031-0/+1
| | | | | | other profile library functions check for it and do nothing if it isn't there git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11614 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed a memory leak in krb5_stdcc_destroy(). The destroy function was ↵Alexandra Ellwood1999-08-031-3/+13
| | | | | | failing to free memory allocated for the krb5_ccache. Code to free this memory was swiped from krb5_stdcc_close() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11613 dc483132-0cff-0310-8789-dd5450dbe970
* Patches from Brad Thompson for building without krb4 compatibilityKen Raeburn1999-08-023-4/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11612 dc483132-0cff-0310-8789-dd5450dbe970
* * config.guess: Add MacOS 10 support. (Submitted to autoconf maintainers.)Ken Raeburn1999-07-302-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11611 dc483132-0cff-0310-8789-dd5450dbe970
* nuke some ancient isode remnantsKen Raeburn1999-07-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11610 dc483132-0cff-0310-8789-dd5450dbe970
* GetMacProfileFileSpec: fined bogus string conversionMiro Jurisic1999-07-272-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11608 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.c (telnet): Fix typo in error message, viaTom Yu1999-07-262-1/+6
| | | | | | schwim@whatmore.Stanford.EDU git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11607 dc483132-0cff-0310-8789-dd5450dbe970
* fix typo in calculating buffer sizeKen Raeburn1999-07-262-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11606 dc483132-0cff-0310-8789-dd5450dbe970
* Readded error_messageMiro Jurisic1999-07-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11604 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 2.5a1Miro Jurisic1999-07-261-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11603 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed size_t redefinition on MacOSMiro Jurisic1999-07-262-5/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11602 dc483132-0cff-0310-8789-dd5450dbe970
* Changed GSSLib fragment name; upped krb5 CFM version numberMiro Jurisic1999-07-261-8/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11601 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_get_profileMiro Jurisic1999-07-262-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11600 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_get_profile; removed com_err functionsMiro Jurisic1999-07-261-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11599 dc483132-0cff-0310-8789-dd5450dbe970
* merged changes from the Mac_V2_0_derivatives branch and added krb5_get_profileMiro Jurisic1999-07-261-1/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11598 dc483132-0cff-0310-8789-dd5450dbe970
* c_ustime.c, init_os_ctx.c: merged changes from the Mac_V2_0_derivatives branchMiro Jurisic1999-07-261-0/+11
| | | | | | init_os_ctx.x: added krb5_get_profile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11597 dc483132-0cff-0310-8789-dd5450dbe970
* Merged from Mac_V2_0_derivatives branchMiro Jurisic1999-07-261-11/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11596 dc483132-0cff-0310-8789-dd5450dbe970
* from the 1.0 branchEzra Peisach1999-07-242-1/+5
| | | | | | kshd: Add $(LOGINLIBS) for setluid on the Alpha's... Probably never pulled up git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11595 dc483132-0cff-0310-8789-dd5450dbe970
* 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-232-0/+11
| | | | 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
* changelog updateJeffrey Altman1999-07-231-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11591 dc483132-0cff-0310-8789-dd5450dbe970
* If no filespecs are provided, then return an empty profileJeffrey Altman1999-07-231-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11590 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
* * Makefile.in (install-mkdirs): Use mkinstalldirs rather thanTom Yu1999-07-232-1/+6
| | | | | | mkdir -p for portability reasons. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11587 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
* * mkinstalldirs: New file; from autoconf-2.13Tom Yu1999-07-232-0/+42
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11584 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
* Added new profile_in_memory flag to the struct _krb5_context so thatJeffrey Altman1999-07-231-0/+1
| | | | | | | | Krb5 may keep track of whether or not a profile file was found. This is needed for conditional use of DNS Realm and Server lookups based on whether or not a profile exists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11582 dc483132-0cff-0310-8789-dd5450dbe970
* * config.guess, config.sub, install-sh: Update from autoconf-2.13Tom Yu1999-07-234-103/+399
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11581 dc483132-0cff-0310-8789-dd5450dbe970
* clean up more conflictsTom Yu1999-07-231-17/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11580 dc483132-0cff-0310-8789-dd5450dbe970