summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * krb5.hin: Re-align des3-cbc-sha1 and hmac-sha1-des3 to agreeTom Yu1999-08-182-2/+7
| | | | | | with new number assignments; also rename symbols a little bit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11683 dc483132-0cff-0310-8789-dd5450dbe970
* Removed com_err functions from profile.expMiro Jurisic1999-08-182-3/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11681 dc483132-0cff-0310-8789-dd5450dbe970
* Added et.expMiro Jurisic1999-08-182-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11680 dc483132-0cff-0310-8789-dd5450dbe970
* Removed com_err exportsMiro Jurisic1999-08-181-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11679 dc483132-0cff-0310-8789-dd5450dbe970
* Added com_err libraryMiro Jurisic1999-08-181-25/+162
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11678 dc483132-0cff-0310-8789-dd5450dbe970
* Added com_err file listsMiro Jurisic1999-08-181-4/+43
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11677 dc483132-0cff-0310-8789-dd5450dbe970
* * ktutil_funcs.c (ktutil_add): Cleanup newly allocated keytabGeoffrey King1999-08-182-20/+40
| | | | | | entry and tail of linked list when an error occurs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11676 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel (reldate): Fix to deal with release branch snapshotsTom Yu1999-08-172-1/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11666 dc483132-0cff-0310-8789-dd5450dbe970
* Updated for 2.5a2Miro Jurisic1999-08-161-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11665 dc483132-0cff-0310-8789-dd5450dbe970
* Added "addent" command to allow creation of new keytab entries byGeoffrey King1999-08-165-9/+212
| | | | | | specifying a key or password, a principal, a kvno, and an enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11664 dc483132-0cff-0310-8789-dd5450dbe970
* * README.NOT.SLEEPYCAT.DB: New file; pointer to README toTom Yu1999-08-164-41/+70
| | | | | | | | | | | hopefully unconfuse people. * README: Add notice to the effect that this is not Berkeley or Sleepycat DB. * README.db2: Renamed from README. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11661 dc483132-0cff-0310-8789-dd5450dbe970
* config.sub: Now recognizes MacOS 10 as a valid OSBrad Thompson1999-08-131-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11657 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4: Added MacOS X shared library supportBrad Thompson1999-08-131-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11656 dc483132-0cff-0310-8789-dd5450dbe970
* Initializes some variables so that they do not end up in the common blockBrad Thompson1999-08-131-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11655 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize __krb_sendauth_hidden_tkt_len so it doesn't end up in theBrad Thompson1999-08-131-1/+1
| | | | | | common block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11654 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize swap_bytes so that it doesn't end up in the common blockBrad Thompson1999-08-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11653 dc483132-0cff-0310-8789-dd5450dbe970
* Now recognizes MacOS 10 as a valid OSBrad Thompson1999-08-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11652 dc483132-0cff-0310-8789-dd5450dbe970
* Added MacOS X shared library supportBrad Thompson1999-08-131-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11651 dc483132-0cff-0310-8789-dd5450dbe970
* chpw.c (krb5_mk_chpw_req):Alexandra Ellwood1999-08-101-5/+14
| | | | | | | | Added call to free cipherpw.data. cipherpw.data is allocated by krb5_mk_priv and passed back. Since cipherpw is never passed back, krb5_mk_chpw_req should free it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11648 dc483132-0cff-0310-8789-dd5450dbe970
* 1999-08-10 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood1999-08-101-0/+7
| | | | | | | | | * chpw.c (krb5_mk_chpw_req): Added call to free cipherpw.data. cipherpw.data is allocated by krb5_mk_priv and passed back. Since cipherpw is never passed back, krb5_mk_chpw_req should free it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11647 dc483132-0cff-0310-8789-dd5450dbe970
* (krb5_change_password):Alexandra Ellwood1999-08-101-248/+284
| | | | | | | | Reorganized code so that krb5_change_password actually frees everything it allocated on error. Also fixed some memory leaks which happened even without an error occurring. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11646 dc483132-0cff-0310-8789-dd5450dbe970
* 1999-08-10 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood1999-08-101-0/+7
| | | | | | | | | * changepw.c (krb5_change_password): Reorganized code so that krb5_change_password actually frees everything it allocated on error. Also fixed some memory leaks which happened even without an error occurring. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11645 dc483132-0cff-0310-8789-dd5450dbe970
* Define MAXPATHLEN only if not already define. This helps avoidDanilo Almeida1999-08-102-0/+7
| | | | | | build warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11638 dc483132-0cff-0310-8789-dd5450dbe970
* Use standard windows exe link flagsDanilo Almeida1999-08-106-3/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11637 dc483132-0cff-0310-8789-dd5450dbe970
* Build kpasswd under windowsDanilo Almeida1999-08-107-16/+63
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11636 dc483132-0cff-0310-8789-dd5450dbe970
* Provide Win32 implementation so that kinit and such work under Win32Danilo Almeida1999-08-092-3/+104
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11635 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure we have FQDN in the case where we use gethostnameDanilo Almeida1999-08-093-6/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11634 dc483132-0cff-0310-8789-dd5450dbe970
* 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