summaryrefslogtreecommitdiffstats
path: root/src/kdc/kdc_util.c
Commit message (Collapse)AuthorAgeFilesLines
* Use checksum verifier routinePaul Park1995-07-071-27/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6249 dc483132-0cff-0310-8789-dd5450dbe970
* Multiple realm support and remove KDB_CONVERT_KEY_OUTOF_DBPaul Park1995-06-231-7/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6138 dc483132-0cff-0310-8789-dd5450dbe970
* (kdc_process_tgs_req): Set the auth_context rcache to null beforeEzra Peisach1995-06-131-0/+2
| | | | | | freeing auth_context. This keeps the rcache valid (to be close elsewhere) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6044 dc483132-0cff-0310-8789-dd5450dbe970
* changes to accomodate redefinition of krb5_auth_contextTom Yu1995-06-111-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6035 dc483132-0cff-0310-8789-dd5450dbe970
* dispatch.c, kdc_util.h, kerberos_v4.c: Use KRB5_KRB4_COMPAT instead ofTheodore Tso1995-06-091-21/+24
| | | | | | | | | | | | | KRB4 for determining whether to compile in Kerberos V4 backwards compatibility configure.in: Remove standardized set of autoconf macros, which are now handled by CONFIG_RULES. do_as_req.c, do_tgs_req.c, kdc_util.c, kerberos_v4.c, main.c, network.c: Fix -Wall nits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6016 dc483132-0cff-0310-8789-dd5450dbe970
* Update kadmind5 to use new logging routinesPaul Park1995-06-081-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5976 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_util.c (kdc_process_tgs_req): Make sure apreq->ticket getsTheodore Tso1995-04-291-1/+0
| | | | | | | | | | | | | freed, since it isn't being passed back to the caller (anymore). do_tgs_req.c (process_tgs_req): Free header_ticket when we're done with it. (Prevents massive memory leak). Makefile.in (depend): Use $(LD) instead of $(CC) so that we can do purify checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5651 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c Use new calling conventions for krb5_rd_req_decoded()Chris Provenzano1995-03-271-150/+109
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5263 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in, Makefile.in: Use the libdes425 library so that the DESTheodore Tso1995-03-171-2/+4
| | | | | | | | | | | | code doesn't get dragged in twice. kdc_util.c (validate_as_request): Allow a client to obtain a password changing ticket, even if the client's key is expired. main.c (usage, process_args, main): The KDC will disassociate itself from the terminal by default, unless the -n option is given. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5148 dc483132-0cff-0310-8789-dd5450dbe970
* * *.[ch]: Avoid <krb5/...> and <com_err.h> includesJohn Gilmore1995-02-281-8/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5031 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c (kdc_rdreq_keyproc()) Add krb5_keytype() argChris Provenzano1995-02-021-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4874 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-251-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-66/+60
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* do_tgs_req.c (prepare_error_tgs): Don't free the passed in ticket; itTheodore Tso1994-12-131-6/+0
| | | | | | | | | | | | | | | | | | | | will be freed as part of other structures. do_tgs_req.c (process_tgs_req): Set the encryption type in the reply structure, and set the eblock type accordingly. do_as_req.c (process_as_req): Set the encryption type in the reply_encpart structure. kdc_util.c (validate_as_request): policy.c (against_local_policy_as): Move requirement that an AS request must include the addresses field to the local policy routine. (Not required by RFC). main.c (setup_com_err): Initialize the kdc5 error table (the kdb5 error table is already initialized) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4730 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lineage check so that we don't fail if we're cross-authenticatingTheodore Tso1994-11-081-1/+1
| | | | | | with a realm with the same length as our own. ('||' should have been '&&') git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4634 dc483132-0cff-0310-8789-dd5450dbe970
* Add widen.h and narrow.h around declaration so that argument types areTheodore Tso1994-10-041-0/+2
| | | | | | widened. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4449 dc483132-0cff-0310-8789-dd5450dbe970
* Applied Cybersafe's changes to do transited realm path checkingTheodore Tso1994-09-221-128/+170
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4328 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-6/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4190 dc483132-0cff-0310-8789-dd5450dbe970
* unused varsMark Eichin1994-08-141-1/+0
| | | | | | | time.h use v4_time as a var, not time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4139 dc483132-0cff-0310-8789-dd5450dbe970
* Fix error return codes for sanity's sakeTheodore Tso1994-07-161-45/+53
| | | | | | Fix error handling for bugs TGS renew/forward/etc requests. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3988 dc483132-0cff-0310-8789-dd5450dbe970
* Use the KRB5_TGS_NAME macro for "krbtgt"Theodore Tso1994-06-101-2/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3741 dc483132-0cff-0310-8789-dd5450dbe970
* Silly spelling fixTheodore Tso1994-06-021-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3665 dc483132-0cff-0310-8789-dd5450dbe970
* Change usage of xfree to krb5_xfree to prevent namespace pollutionTheodore Tso1993-10-151-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2667 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Remove debugging syslogsTheodore Tso1993-08-171-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2631 dc483132-0cff-0310-8789-dd5450dbe970
* Improved logging of TGS and AS error casesTheodore Tso1993-08-171-25/+101
| | | | | | | Fixed interrealm authentication; will now give out tickets for foreign interrealm requests. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2630 dc483132-0cff-0310-8789-dd5450dbe970
* Changed deallocation strategy to be cleanerTheodore Tso1993-06-031-47/+66
| | | | | | | Changes to support two variants on the checksumming behavior to fix ASN.1 encoding screwup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2575 dc483132-0cff-0310-8789-dd5450dbe970
* Added changes from HP to checksum actual asn.1 KDC-REQ-BODY structure,Theodore Tso1993-03-151-26/+185
| | | | | | instead of encoding and decoding it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2527 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bug in TGS validation logic which prevented you from getting a Theodore Tso1993-03-121-28/+7
| | | | | | forwarded ticket from a TGT git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2526 dc483132-0cff-0310-8789-dd5450dbe970
* Massive changes to do_as_req.c, do_tgs_req.c, kdc_util.c, and policy.cTheodore Tso1992-09-301-7/+375
| | | | | | | | | | | | Fixed bug so that renewable/forwardable/proxiable/tickets work on all tickets, not just the TGS server. Fixed bug so that proxiable tickets don't work on TGT tickets. Revamped structure to make things cleaner, and easier to understand. Nearly all of the validation routines have been moved to a validate_as_request and a validate_tgs_request subroutine in kdc_util.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2451 dc483132-0cff-0310-8789-dd5450dbe970
* Principal type changesJohn Carr1992-08-211-8/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2367 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the ticket in the TGS request is for the ticket granting service.John Carr1992-03-121-7/+17
| | | | | | Add local variable for encrypted ticket pointer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2255 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* use krb5_checksum_size macroJohn Kohl1991-05-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2080 dc483132-0cff-0310-8789-dd5450dbe970
* boil code down into common kdc_get_server_keyJohn Kohl1991-04-291-67/+78
| | | | | | to be used here and in the TGS code git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2054 dc483132-0cff-0310-8789-dd5450dbe970
* changes to make authenticator visible to callerJohn Kohl1991-04-221-30/+37
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2023 dc483132-0cff-0310-8789-dd5450dbe970
* clean up some XXX codeJohn Kohl1991-04-191-18/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2018 dc483132-0cff-0310-8789-dd5450dbe970
* add an imposter firewallJohn Kohl1991-03-251-0/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1950 dc483132-0cff-0310-8789-dd5450dbe970
* use KRB5_LRQ_NONE #defineJohn Kohl1991-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1949 dc483132-0cff-0310-8789-dd5450dbe970
* log what server wasn't foundJohn Kohl1991-03-251-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1947 dc483132-0cff-0310-8789-dd5450dbe970
* need to put something in the last_req field, it's not optionalJohn Kohl1991-03-141-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1919 dc483132-0cff-0310-8789-dd5450dbe970
* whoops, don't have a krb5_data in realm..John Kohl1991-02-281-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1818 dc483132-0cff-0310-8789-dd5450dbe970
* use memcmp in kdc_util.cJohn Kohl1991-02-271-5/+7
| | | | | | | use realm_compare in the transited stuff (transited still expects null-terminations...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1816 dc483132-0cff-0310-8789-dd5450dbe970
* plug memory leakJohn Kohl1991-02-211-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1758 dc483132-0cff-0310-8789-dd5450dbe970
* update copyright noticesJohn Kohl1991-02-191-2/+2
| | | | | | use xfree rather than free((char *)) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1725 dc483132-0cff-0310-8789-dd5450dbe970
* put back in kdc_rcacheJohn Kohl1991-02-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1685 dc483132-0cff-0310-8789-dd5450dbe970
* add TGS key cachingJohn Kohl1991-02-131-29/+36
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1680 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to reflect the changed interfaces for libkrb5.aTheodore Tso1991-02-131-31/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1678 dc483132-0cff-0310-8789-dd5450dbe970
* changes from Cliff for / processingJohn Kohl1991-01-291-39/+80
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1642 dc483132-0cff-0310-8789-dd5450dbe970
* make sure ap_req checksum is collision proof,John Kohl1991-01-031-4/+12
| | | | | | and do better error message returns. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1612 dc483132-0cff-0310-8789-dd5450dbe970