summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * aclocal.m4 (AC_KRB5_TCL): Rewritten for clearerEzra Peisach1997-10-222-9/+34
| | | | | | understanding. Check for libtcl7.6 and tcl/tcl.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10244 dc483132-0cff-0310-8789-dd5450dbe970
* Include either tcl.h or tcl/tcl.h. On debian linux, the tcl development headersEzra Peisach1997-10-227-0/+29
| | | | | | live in a subdir. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10243 dc483132-0cff-0310-8789-dd5450dbe970
* Add checks so that code doesn't bomb out if the version resource isTheodore Tso1997-10-222-0/+14
| | | | | | missing a Title or Version record. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10242 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to not lose entries in the chain linked client listEzra Peisach1997-10-212-1/+16
| | | | | | | | | A pointer was not being updated resulting in the situation where random clients would sudenly fail with a misc. rpc. error as the client handle could not be found. The scenario required three active clients to trigger the problem. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10241 dc483132-0cff-0310-8789-dd5450dbe970
* Set KRB5_CONFIG for testsEzra Peisach1997-10-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10240 dc483132-0cff-0310-8789-dd5450dbe970
* Include string.h/strings.h for memcpy prototypeEzra Peisach1997-10-212-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10239 dc483132-0cff-0310-8789-dd5450dbe970
* Include stdlib.h if available for malloc prototypeEzra Peisach1997-10-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10238 dc483132-0cff-0310-8789-dd5450dbe970
* Explicitly set the owner of the files which are installed setuid rootTheodore Tso1997-10-202-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10237 dc483132-0cff-0310-8789-dd5450dbe970
* If we are using prototypes, add a forward declaration for structTheodore Tso1997-10-202-0/+9
| | | | | | sockaddr_in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10236 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Change KERBEROS to KRB5_KRB4_COMPAT where appropriateTom Yu1997-10-165-91/+107
| | | | | | | | | | | | | | | * secure.c: Use <secure.h> rather than "secure.h" so that the correct secure.h gets included (the one in the $(srcdir) of the directory we're compiling secure.c into). From danw@mit.edu. * ftp.c: Change KERBEROS to KRB5_KRB4_COMPAT where appropriate. Re-order the clauses so that that GSSAPI gets tried before KERBEROS_V4. * Makefile.in: Update LOCALINCLUDE and the link line to DTRT with krb4 compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10235 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Change LOCALINCLUDE and the link line to allow forTom Yu1997-10-163-56/+73
| | | | | | | | | | | krb4 compatibility. * ftpd.c: Change KERBEROS to KRB5_KRB4_COMPAT where appropriate. (reply): Fix up braces around the check for auth_type == "KERBEROS_V4" so that the nesting of if statements is correct. Various and sundry fixes from danw@mit.edu to make it work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10234 dc483132-0cff-0310-8789-dd5450dbe970
* * server_stubs.c (CHANGEPW_SERVICE): Modify to free allocatedEzra Peisach1997-10-153-3/+46
| | | | | | | | | | | | | | | | | | | memory in request. (setup_gss_names): Free memory in case of failure. (chrand_principal_1): Call free_server_handle for failure cleanup. * ovsec_kadmd.c (main): Cleanup memory by calling acl_finish, gss_release_name, and krb5_free_context Some of these fixes are to make accounting easier with Purify upon shutdown while the server_stubs.c fixes take care of a per-request memory leak present for many requests. automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10233 dc483132-0cff-0310-8789-dd5450dbe970
* Real fix this time - deals with the malloc(0) case..Ezra Peisach1997-10-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10232 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMAJOR): Bump major version due to possibleTom Yu1997-10-142-1/+6
| | | | | | change in type sizes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10231 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Define KRB_INT32 for the purposes of dealing with the keyTom Yu1997-10-142-1/+26
| | | | | | | schedule. Also, define the key schedule more sanely. See related comments in lib/crypto/des. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10230 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Bump major version due to possible size changesTom Yu1997-10-142-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10229 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: Use better logic to find an appropriate type forTom Yu1997-10-143-7/+42
| | | | | | | | | | | KRB_INT32; also don't assume that a key schedule element is exactly 64 bits wide... use instead 2 * KRB_INT32, since that is what the code uses internally. * des.h: Use better logic to find an appropriate type for KRB_INT32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10228 dc483132-0cff-0310-8789-dd5450dbe970
* Fix error when number of enctypes comming in is 0Ezra Peisach1997-10-141-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10227 dc483132-0cff-0310-8789-dd5450dbe970
* * server_init.c (kadm5_destroy): Call kadm5_free_config_paramsEzra Peisach1997-10-133-1/+12
| | | | | | | | * server_acl.c: Include <ctype.h> for tolower(). (acl_load_acl_file): Close acl file, even when acl_catchall_entry is not set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10226 dc483132-0cff-0310-8789-dd5450dbe970
* * client_init.c (kadm5_destroy): Free handle->lhandle field, callEzra Peisach1997-10-132-2/+12
| | | | | | kadm5_free_config_params and krb5_free_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10225 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): When KADM5_CONFIG_ENCTYPESEzra Peisach1997-10-132-3/+36
| | | | | | | | | is set on the input parameters, allocate a new copy of the key_salts for the output parameters. (kadm5_free_config_params): Free the admin_server and admin_lockfile names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10224 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kdb.c (do_testing): Add krb5_free_contextEzra Peisach1997-10-132-0/+7
| | | | | | This makes it easier for purify testing for memory leaks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10223 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_LIB_AUX so configure --help gives info onEzra Peisach1997-10-132-1/+10
| | | | | | shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10222 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.in: Add test to disable udp test underTom Yu1997-10-103-2/+19
| | | | | | | Solaris 2.0 thru 2.5; a getsockname() bug prevents channel bindings from working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10221 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (main): Initialize kdc error table withEzra Peisach1997-10-092-0/+8
| | | | | | initialize_kdc_error_table(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10220 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel: Allow for edits of relevant files that should be changedTom Yu1997-10-082-2/+51
| | | | | | | each time a release is cut. Some snapshot support. Add "-9" flag to gzip. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10219 dc483132-0cff-0310-8789-dd5450dbe970
* Disable the test again... Turns out I was relying on anotherEzra Peisach1997-10-081-1/+1
| | | | | | change that is required to kdb5_util which requires more testing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10218 dc483132-0cff-0310-8789-dd5450dbe970
* Add KRB%_CONFIG envronment variable for systems w/o /etc/krb5.confEzra Peisach1997-10-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10217 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kdb_check): Rewritten to use current admin system toolsEzra Peisach1997-10-082-13/+39
| | | | | | Tests re-enabled.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10216 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (quit): Call krb5_free_contextEzra Peisach1997-10-072-0/+5
| | | | | | | Makes it easier to search for memory leaks with purify if the context memory is freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10215 dc483132-0cff-0310-8789-dd5450dbe970
* * get_myaddress.c: Include string.h for memcpy prototypeEzra Peisach1997-10-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10214 dc483132-0cff-0310-8789-dd5450dbe970
* Removed useless .so to a non-existent macro fileTheodore Tso1997-10-072-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10213 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_PARAMS): For the alpha, revert RUN_ENVEzra Peisach1997-10-072-1/+7
| | | | | | | change as the dejagnu/Makefile.in can now deal with the older quoting scheme and makes this version more readable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10212 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (runenv.vars): Use tr to remove newlines in multipleEzra Peisach1997-10-072-1/+6
| | | | | | lines of variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10211 dc483132-0cff-0310-8789-dd5450dbe970
* Include ctype.h for isspace declarationEzra Peisach1997-10-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10210 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as prefix to srcsEzra Peisach1997-10-072-1/+8
| | | | | | Allows make depend to work... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10209 dc483132-0cff-0310-8789-dd5450dbe970
* * set_realm.c (krb5_set_principal_realm): Allocate extra byte for nul inEzra Peisach1997-10-062-1/+6
| | | | | | strcpy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10208 dc483132-0cff-0310-8789-dd5450dbe970
* * t_std_conf.c (main): Call krb5_free_context when doneEzra Peisach1997-10-062-0/+7
| | | | | | Purify cleanup... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10207 dc483132-0cff-0310-8789-dd5450dbe970
* * destest.c (main): Initialize context to 0 so it will not beEzra Peisach1997-10-063-0/+16
| | | | | | | | | | | treated as unset by purify. * t_verify.c (main): Use krb5_free_context to release memory in use. Essentially purify cleanups... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10206 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix up site.exp generation to reduce the quotingTom Yu1997-10-032-5/+15
| | | | | | lossage somewhat. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10205 dc483132-0cff-0310-8789-dd5450dbe970
* Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogsTom Yu1997-10-0227-45/+91
| | | | | | for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
* Modified to work with the new CVS re-organizationTheodore Tso1997-10-011-6/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10203 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replaceTom Yu1997-09-2640-49/+130
| | | | | | | with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c (add_to_transited): Fix up memory leaks, clean outEzra Peisach1997-09-245-36/+110
| | | | | | | | | | | | | | new memory allocated, allocate buffers to max size needed. [based on krb5-kdc/461 by Ken Hornstein]. * rtest.c: Rewrite code to use context and current krb5_principal structure. * configure.in: Add KRB5_RUN_FLAGS * Makefile.in (rtest): Compile rtest and run during make check. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10201 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos_v4.c (check_princ): Add checks for V5 kdc flagsEzra Peisach1997-09-233-112/+170
| | | | | | | | | | including REQUIRES_PWCHANGE, DISALLOW_ALL_TIX, REQUIRES_PREAUTH. Adds support for parsing the V4 options. [krb5-kdc/464]. * main.c (main): Add option -4 to specify V4 handling mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10200 dc483132-0cff-0310-8789-dd5450dbe970
* remove occurences of USE_STRING_H, HAS_STRDUP, and HAS_LABSTom Yu1997-09-1928-31/+81
| | | | | | (see ChangeLogs for details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10199 dc483132-0cff-0310-8789-dd5450dbe970
* * ccdefname.c (krb5_cc_default_name): Returns a const char *Ezra Peisach1997-09-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10198 dc483132-0cff-0310-8789-dd5450dbe970
* * ktfile.h, ktf_g_ent.c (krb5_ktfile_get_entry): Incoming principalEzra Peisach1997-09-153-2/+7
| | | | | | is krb5_const_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10197 dc483132-0cff-0310-8789-dd5450dbe970
* * ccbase.c (krb5_cc_resolve): Incoming cache name is constEzra Peisach1997-09-152-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10196 dc483132-0cff-0310-8789-dd5450dbe970
* * mcc-proto.h, mcc_reslv.c (krb5_mcc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10195 dc483132-0cff-0310-8789-dd5450dbe970