summaryrefslogtreecommitdiffstats
path: root/src/kdc
Commit message (Collapse)AuthorAgeFilesLines
...
* kerberos_v4.c: Add prototypes for compat_decrypt_key,Ezra Peisach1995-07-105-2/+68
| | | | | | | | | | | | | | | kerb_get_principal, check_princ, v4_klog network.c (process_packet): Make prog a const char * main.c: Add prototypes for find_realm_data, setup_server_realm, usage, request_exit, setup_signal_handlers, initialize_realms, finish_realms. kdc_util.h: Add prototypes for against_local_policy_as, against_local_policy_tgs, validate_as_request, validate_tgs_request, fetch_asn1_field, kdc_initialize_rcache, process_packet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6274 dc483132-0cff-0310-8789-dd5450dbe970
* Also log L_KRB_PERR error messages, so we know when there are protocolTheodore Tso1995-07-082-0/+5
| | | | | | problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6269 dc483132-0cff-0310-8789-dd5450dbe970
* Describe previous changesPaul Park1995-07-071-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6263 dc483132-0cff-0310-8789-dd5450dbe970
* Reorganize library logic and use LDFLAGS from configurePaul Park1995-07-072-14/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6250 dc483132-0cff-0310-8789-dd5450dbe970
* Use checksum verifier routinePaul Park1995-07-071-27/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6249 dc483132-0cff-0310-8789-dd5450dbe970
* Add ability to switch between Berkeley and DBM for KDC databasePaul Park1995-06-302-0/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6214 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos_v4.c (check_princ): delete master_key_version check,Mark Eichin1995-06-292-283/+29
| | | | | | | | | | since we never actually set it. (main): elide original V4 server code to avoid confusion when looking for variable references. (type_2_v5err): reformat for 79 columns instead of 80 and conditionalize out since it is unused (though still informative.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6198 dc483132-0cff-0310-8789-dd5450dbe970
* Compiler warning cleanupPaul Park1995-06-273-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
* Document changes to KDCPaul Park1995-06-231-5/+42
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6139 dc483132-0cff-0310-8789-dd5450dbe970
* Multiple realm support and remove KDB_CONVERT_KEY_OUTOF_DBPaul Park1995-06-232-7/+64
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6138 dc483132-0cff-0310-8789-dd5450dbe970
* Multiple realm supportPaul Park1995-06-237-320/+727
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6137 dc483132-0cff-0310-8789-dd5450dbe970
* Remove usage of KDB_CONVERT_KEY_OUTOF_DBPaul Park1995-06-231-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6136 dc483132-0cff-0310-8789-dd5450dbe970
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-153-9/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of special casing _AIX in network.c, look forSam Hartman1995-06-133-1/+9
| | | | | | | SYS_SELECT_H in configure.in and check this symbol to include sys/select.h in network.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6056 dc483132-0cff-0310-8789-dd5450dbe970
* (kdc_process_tgs_req): Set the auth_context rcache to null beforeEzra Peisach1995-06-132-0/+8
| | | | | | 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-112-1/+5
| | | | 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-0911-125/+147
| | | | | | | | | | | | | 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-088-91/+47
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5976 dc483132-0cff-0310-8789-dd5450dbe970
* krb5kdc depends on libkdb5.aPaul Park1995-05-262-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5898 dc483132-0cff-0310-8789-dd5450dbe970
* Port to OSF/1. (deal with the longs that should be 4 bytes)Ezra Peisach1995-05-212-29/+36
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5830 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_util.c (kdc_process_tgs_req): Make sure apreq->ticket getsTheodore Tso1995-04-294-2/+17
| | | | | | | | | | | | | 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
* * Makefile.in (KLIB): put KRB4_LIB inside KLIBMark Eichin1995-04-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5647 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (krb5kdc): use KRB4_LIB directly.Mark Eichin1995-04-273-11/+7
| | | | | | * configure.in: use WITH_KRB4 as-is. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5564 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: need HAS_ANSI_VOLATILE for signal_requests_exitMark Eichin1995-04-262-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5496 dc483132-0cff-0310-8789-dd5450dbe970
* Don't rely on krb5_kdc_portname and krb5_kdc_sec_portname anymore.Theodore Tso1995-04-222-9/+10
| | | | | | Use the #define'd versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5443 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-141-0/+57
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the context is initialized before it is usedTheodore Tso1995-03-312-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5328 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c Use new calling conventions for krb5_rd_req_decoded()Chris Provenzano1995-03-274-166/+128
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5263 dc483132-0cff-0310-8789-dd5450dbe970
* replay.c: The KDC replay cache needs to store the databaseTheodore Tso1995-03-243-27/+43
| | | | | | | | | | | | | modification time, so that if the database is modified in between when it receives a request and when it receives a replay of the same request, it knows to throw away the replay cache entry and generate a new response (since the record in the database on which the response is based may have been modified). main.c (kdc_com_err_proc): Use syslog() instead of vsyslog(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5233 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos_v4.c: Replace STDARG_PROTOTYPES with HAVE_STDARG_HJohn Gilmore1995-03-192-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5173 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in, Makefile.in: Use the libdes425 library so that the DESTheodore Tso1995-03-175-6/+31
| | | | | | | | | | | | 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
* Remove reference to $(ISODELIB)Theodore Tso1995-03-022-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5061 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ISODE_INCLUDE and ISODE_DEFS, replace check for -lsocket andTheodore Tso1995-03-012-4/+6
| | | | | | -lnsl with WITH_NETLIB check. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5040 dc483132-0cff-0310-8789-dd5450dbe970
* * *.[ch]: Avoid <krb5/...> and <com_err.h> includesJohn Gilmore1995-02-2815-94/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5031 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_use_keytype() was being called when the argument was a encryptionTheodore Tso1995-02-102-1/+8
| | | | | | | type. Change use to krb5_use_cstype(). Actually, any use of krb5_use_keytype() is a bug by definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4935 dc483132-0cff-0310-8789-dd5450dbe970
* Add .cvsignore file so that cvs ignores the autoconf-built configure fileTheodore Tso1995-02-031-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c (kdc_rdreq_keyproc()) Add krb5_keytype() argChris Provenzano1995-02-022-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4874 dc483132-0cff-0310-8789-dd5450dbe970
* Allow the primary port that the KDC listens on be configurable on theTheodore Tso1995-01-265-15/+34
| | | | | | | command line. If the appropriate /etc/services entries aren't found, use compiled in defaults. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4851 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-252-3/+4
| | | | 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-1310-218/+227
| | | | | | 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-136-20/+43
| | | | | | | | | | | | | | | | | | | | 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
* Add appropriate help text for --with-krb4 optionTheodore Tso1994-11-302-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4721 dc483132-0cff-0310-8789-dd5450dbe970
* Use the list of encryption types passed as part of the KDC request toTheodore Tso1994-11-213-17/+77
| | | | | | | | | | | determine which encryption to use for encrypting the ticket. The encryption must be one that is supported by the KDC, as well as being one which is marked as being supported by the server of the ticket. In a AS request, also use this encryption for encrypting the KDC response. In a TGS request, use the encryption type of the TGT authenticator to determine how to encrypt the KDC response. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4712 dc483132-0cff-0310-8789-dd5450dbe970
* Use published interface to call krb5_random_keyTheodore Tso1994-11-083-2/+11
| | | | | | Fix typo in do_as_req.c (added missing '&') git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4646 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define functions manually, but pull in the appropriate includeTheodore Tso1994-11-082-7/+8
| | | | | | files (com_err.h, krb5/ext-proto.h, krb5/los-proto.h, etc.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4640 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lineage check so that we don't fail if we're cross-authenticatingTheodore Tso1994-11-082-1/+7
| | | | | | 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
* Use published interface to call krb5_random_key()Theodore Tso1994-11-082-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4633 dc483132-0cff-0310-8789-dd5450dbe970
* Conversion of autoconfigury to Autoconf V2Mark Eichin1994-10-261-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4576 dc483132-0cff-0310-8789-dd5450dbe970
* Select the cryptosystem to be used using krb5_use_cstype() instead ofTheodore Tso1994-10-142-6/+18
| | | | | | | using a implementation specific assignment. Also, allow the encryption type to be specified using a command line option. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4505 dc483132-0cff-0310-8789-dd5450dbe970
* Don't assume that the request server's realm name is null terminated.Theodore Tso1994-10-142-3/+18
| | | | | | | Compare the request server against changepw/kerberos using krb5_principal_compare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4504 dc483132-0cff-0310-8789-dd5450dbe970