summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * scc-proto.h, scc_reslv.c (krb5_scc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10194 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc-proto.h, fcc_reslv.c (krb5_fcc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10193 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c: (krb5_ktkdb_get_entry): Incoming principal is constEzra Peisach1997-09-156-9/+25
| | | | | | | | | | | | | | | | * kdb_dbm.c (krb5_dbm_db_get_principal, krb5_dbm_db_delete_principal): Incoming principal is const. * kdb_xdr.c (krb5_dbe_update_mod_princ_data, krb5_encode_princ_dbkey): Incoming principal is const. * kdb_db2.h (krb5_db2_db_get_principal): Change prototype to const principal. * kdb_db2.c (krb5_db2_db_get_principal, krb5_db2_db_delete_principal): The search for principal is const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10192 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Add const to prototypes for krb5_cc_resolve,Ezra Peisach1997-09-152-4/+10
| | | | | | | krb5_cc_default_name, credential cache resolve and keytab get functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10191 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.h: Add const to argument of krb5_dbm_db_get_principal.Ezra Peisach1997-09-153-5/+18
| | | | | | | | | | Add prototype for krb5_dbm_db_delete_principal. * kdb.h: Prototypes for krb5_db_get_principal, krb5_db_delete_principal, krb5_dbe_update_mod_princ_data, krb5_encode_princ_dbkey modified to use const krb5_principals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10190 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (main): Changes to allow for standalone daemonTom Yu1997-09-022-58/+113
| | | | | | | operation. Use the "-f" flag to enable. This automagically figures out which port to bind to if you don't specify it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10189 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): Fix swapped args to memsetTom Yu1997-09-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10188 dc483132-0cff-0310-8789-dd5450dbe970
* * decomp_tkt.c (decomp_ticket): Fix swapped args to memsetTom Yu1997-09-022-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10187 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c (krb5_get_in_tkt): Move nulling out ofTom Yu1997-08-292-1/+7
| | | | | | | request.padata before the os_localaddr call in order to avoid freeing a null pointer in the cleanup code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10186 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug that causes send_file_list to send no dataSam Hartman1997-08-292-2/+10
| | | | | | on short directories in safe mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10185 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_PROG_INSTALL as we do install hereEzra Peisach1997-08-182-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10184 dc483132-0cff-0310-8789-dd5450dbe970
* * do_tgs_req.c (process_tgs_req): Initialize authtime to 0 so itEzra Peisach1997-08-183-5/+8
| | | | | | | | is set before potentially used in case the packet has an error. * kdc_preauth.c (get_sam_edata): Remove unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10183 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.h: Added prototype for setup_server_realm(). This functionEzra Peisach1997-08-183-112/+9
| | | | | | | | | is used in several files. * main.c (get_realm_port): Removed unused function. (setup_server_realm): Moved prototype to kdc_util.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10182 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_PARAMS): For the alpha, RUN_ENV needs toEzra Peisach1997-08-182-1/+7
| | | | | | | | | | have sed expression in single quotes unstead of double to deal with a shell quoting bug in the dejagnu test suite. Shared library dejagn testing now works on the alpha... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10181 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as neededEzra Peisach1997-08-172-4/+9
| | | | | | make depend will now work if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10180 dc483132-0cff-0310-8789-dd5450dbe970
* * gmt_mktime.c (days_in_month): Now const.Ezra Peisach1997-08-172-1/+6
| | | | | | Originally by raeburn@cygnus.com from the Kerbnet release git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10179 dc483132-0cff-0310-8789-dd5450dbe970
* * util_token.c (g_verify_token_header): Change local char *Ezra Peisach1997-08-172-1/+6
| | | | | | variable to unsigned char * to match usage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10178 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(SRCS) lineEzra Peisach1997-08-178-0/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10177 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir)Ezra Peisach1997-08-172-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10176 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) where neededEzra Peisach1997-08-174-7/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10175 dc483132-0cff-0310-8789-dd5450dbe970
* Changes from the Kerbnet release by CygnusEzra Peisach1997-08-143-19/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | * asn1buf.h (asn1buf_remove_octet, asn1buf_size, asn1buf_free, asn1buf_ensure_space, asn1buf_len): Add macro versions. (asn1buf_insert_octet) [__GNUC__ >= 2]: Ditto, using a GNU C extension. * asn1buf.c (asn1buf_remove_octet, asn1buf_size, asn1buf_free, asn1buf_ensure_space, asn1buf_len, asn1buf_insert_octet): Undef macros before defining as functions. [Kerbnet changes made by raeburn@cygnus.com] * asn1buf.h (asn1buf_expand): Remove "const" from int arg in prototype. * asn1buf.c (asn1buf_remove_charstring, asn1buf_create, asn1buf_remove_octetstring, asn12krb5_buf): Call malloc instead of calloc. (asn1buf_unparse, asn1buf_hex_unparse): Ditto. Also don't allocate extra byte, since sizeof(STRING) does count the trailing null. (asn1buf_expand): Adjust bound based on increment value used, not value specified by caller. [Kerbnet changes made by raeburn@cygnus.com] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10174 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_HESIOD): Fix --with-hesiod support to DTRT ifEzra Peisach1997-08-122-2/+7
| | | | | | the option is not specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10173 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (krb5_init_context): Initialize local variable ctxEzra Peisach1997-08-122-1/+6
| | | | | | | | before calling krb5_init_ets. This keeps purify happy as we are not using a variable before setting it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10172 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OSSRCS): Add $(srcdir)/ to source locationEzra Peisach1997-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10171 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as neededEzra Peisach1997-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10170 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (MACFILES): Remove mac/gss/* as it does not existEzra Peisach1997-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10169 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_BUILD_LIBRARY_STATIC): Fix up some things soTom Yu1997-08-122-16/+33
| | | | | | | | | | | | | that this macro actually works; it's still necessary to precede a call to KRB5_BUILD_LIBOBJS with a call to KRB5_BUILD_LIBRARY_STATIC, though. Basically if you AC_DEFUN something that produces shell code and then calls a macro that AC_REQUIREs something else, then all the AC_REQUIREd stuff ends up coming *before* the shell code in the first macro. I'm not sure there's a reasonable workaround, or whether this can even be considered to be a bug. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10168 dc483132-0cff-0310-8789-dd5450dbe970
* * convt_tkt.c: Delete; it's not needed anymoreTom Yu1997-08-127-209/+258
| | | | | | | | | | | | | | | | | | * test.c: Remove reference to krb524_convert_creds_addr, as that doesn't exist anymore. * conv_creds.c: Clean up substantially to be less convoluted. * sendmsg.c: Fix to not do a full series of timeouts on each server; loop over the whole list before increasing the timeout. * configure.in: Update to use the new library build system to build libkrb524. * Makefile.in: Update to reflect changes in the library. Also, use the new library build system to build libkrb524. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10167 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): Check remote_addr andTom Yu1997-08-082-1/+7
| | | | | | | encpart.s_address before calling krb5_address_compare. Fixes krb5-libs/456. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10166 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c:Tom Yu1997-08-074-14/+35
| | | | | | | | * krb524.h: * krb524d.c: Add jik's patches for multihomed hosts. Fixes krb5-misc/275. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10165 dc483132-0cff-0310-8789-dd5450dbe970
* * g_cnffile.c: Check to see if context is NULL prior to callingTom Yu1997-08-072-12/+20
| | | | | | profile_get_values. Fixes krb5-libs/317. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10164 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add support for compiling with HesiodTom Yu1997-08-072-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10163 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Add support for --with-hesiod (and add it toTom Yu1997-08-072-0/+29
| | | | | | | CONFIG_RULES, as it's needed almost everywhere kadm5 gets linked). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10162 dc483132-0cff-0310-8789-dd5450dbe970