summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Oops; I accidentally comitted a version of krloginSam Hartman1996-01-272-2/+3
| | | | | | | | | that didn't even compile. (I tested the binary in the wrong build tree.) Compiled and tested this time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7397 dc483132-0cff-0310-8789-dd5450dbe970
* Implement -e option to list thatSam Hartman1996-01-262-2/+20
| | | | | | shows enctypes associated with a key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7396 dc483132-0cff-0310-8789-dd5450dbe970
* Require DES for credentialsSam Hartman1996-01-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7395 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in call to shared library macrosSam Hartman1996-01-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7394 dc483132-0cff-0310-8789-dd5450dbe970
* Telnet really wants a DES key; have it ask for oneSam Hartman1996-01-262-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7393 dc483132-0cff-0310-8789-dd5450dbe970
* Fix delay in ^C processingSam Hartman1996-01-262-11/+27
| | | | | | caused by my OOB fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7392 dc483132-0cff-0310-8789-dd5450dbe970
* Disable resetting of tgs_enctypesSam Hartman1996-01-261-2/+2
| | | | | | until I hear a good reason for it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7391 dc483132-0cff-0310-8789-dd5450dbe970
* Convert the kvno to a char before writing it out. (The previous codeSam Hartman1996-01-262-2/+9
| | | | | | | tried, but casting from (int *) to (char *) is not the same as casting from int to char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7390 dc483132-0cff-0310-8789-dd5450dbe970
* Removed outdated comment about mappingSam Hartman1996-01-262-4/+3
| | | | | | | etypes to ktypes--it's a one to one mapping now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7389 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed to check enctype of retrieved keysSam Hartman1996-01-263-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7388 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed extraction of keytabs to extract all keysSam Hartman1996-01-262-6/+38
| | | | | | | not just the first one. Fixed v4 extraction to find the v4 key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7387 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c (krb524_convert_tkt_skey): Take both a v5 and v4Sam Hartman1996-01-256-56/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | service key. Use the v5 service key to decrypt the v5 ticket, and the v4 service key to encrypt the v4 ticket. * krb524d.c (do_connection): Use a separate v5 and v4 service key so that if the KDC chooses to encrypt the v5 ticket in something besides ENCTYPE_DES_CBC_CRC, we don't lose. Also, make sure we free keyblock contents and tickets on error. (lookup_service_key): Pass enctype to kdc_get_server_key (kdc_get_server_key): Only try for v4 salt if the enctype is DES_CRC. Take enctype as an argument. This creates a problem if the server key has a normal and v4 salt of ENCTYPE_DES_CBC_CRC but I can't think of a good answer to this. * k524init.c (main): Use crc32 not md5. Wed Jan 24 20:05:47 1996 Sam Hartman <hartmans@tertius.mit.edu> * krb524d.c (kdc_get_server_key): Try to find a v4 salt type key, else try any des_crc32 key, else fail. (do_connection): Lookup a crc32 key not an md5 key. (init_master): Handle reading kdc profile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7386 dc483132-0cff-0310-8789-dd5450dbe970
* get_creds.c: Only match on enctype if in_creds.keyblockSam Hartman1996-01-253-3/+23
| | | | | | | | | | has non-null enctype. (I.E. implement as documented) gc_via_tkt.c: If the in_creds.keyblock.enctype !=0 then don't call send_tgs with a null ktypes paramater; instead, explicitally allow only increds.keyblock.enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7385 dc483132-0cff-0310-8789-dd5450dbe970
* Previously, ktype_match only made sure that the enctype was validSam Hartman1996-01-256-15/+35
| | | | | | | | | and in the set of default tgs enctypes. Now, if matching on keytype, do an exact match, else use ktype_reasonable (renamed ktype_match) to make sure the ticket is in the default tgs enctypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7384 dc483132-0cff-0310-8789-dd5450dbe970
* Remove superfluous link lineSam Hartman1996-01-252-1/+5
| | | | | | from configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7380 dc483132-0cff-0310-8789-dd5450dbe970
* * g_compare_name.c, g_delete_sec_context.c, g_dsp_status.c,Tom Yu1996-01-2515-196/+288
| | | | | | | | | | | g_exp_sec_context.c, g_imp_sec_context.c, g_rel_buffer.c, g_rel_cred.c, g_rel_name.c, g_rel_oid_set.c, get_mechanism.c, get_mtype.c: Include stdlib.h and string.h as needed * mglueP.h: Add many invocations of NPROTOTYPE and PROTOTYPE to prevent breakage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7378 dc483132-0cff-0310-8789-dd5450dbe970
* * pname_to_uid.c (krb5_pname_to_uid): Changed def'n ofTom Yu1996-01-252-2/+8
| | | | | | | krb5principalname to static so K&R compilers won't lose on automatic aggregate initialization. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7377 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove spurious @DEFS@Tom Yu1996-01-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7376 dc483132-0cff-0310-8789-dd5450dbe970
* Update man pages with new optionsSam Hartman1996-01-243-64/+101
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7375 dc483132-0cff-0310-8789-dd5450dbe970
* Added lines to adm.h which Chris had removed while working on theTheodore Tso1996-01-242-0/+19
| | | | | | kadmin revisions. This allows the existing code to compile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7374 dc483132-0cff-0310-8789-dd5450dbe970
* Don't assume that the input_name_buffer is null terminated, when itTheodore Tso1996-01-242-8/+26
| | | | | | contains a string. Fix gcc warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7373 dc483132-0cff-0310-8789-dd5450dbe970
* * Add checksum support to klogind making sure encrypted authenticatorsSam Hartman1996-01-245-135/+251
| | | | | | | | | | | | | | cannot be replayed against unencrypted connections. * Updated checksumming in kshd to be compatible with klogind so they use the same client code. CVS: * Fixed Makefile to install kshd and klogind not kr*d * Updated option process in krlogind and kshd per messages to c.p.k. ---------------------------------------------------------------------- automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7372 dc483132-0cff-0310-8789-dd5450dbe970
* Check for stdlib.h, include stdlib.h, string.h, cast to handle gcc warningEzra Peisach1996-01-234-1/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7371 dc483132-0cff-0310-8789-dd5450dbe970
* Check for stdlib.h (configure.in)Ezra Peisach1996-01-2311-0/+44
| | | | | | | Include stdlib.h and string.h for declarations of such items like malloc, strlen, memmove... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7370 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Remove extraneous line with only a tab.Ezra Peisach1996-01-232-2/+11
| | | | | | | (SHLIB_LDFLAGS): Declare that krb5_gss_initialize is to be unresolved. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7368 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_LIBS): Add lines for shared library buildingEzra Peisach1996-01-232-0/+9
| | | | | | depending on libkrb5, crypto, and com_err. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7367 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for building GSSAPI as a shared libraryTheodore Tso1996-01-235-8/+57
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7366 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add the mechglue directory as a subdirTheodore Tso1996-01-233-2/+10
| | | | | | | Makefile.in (libgssapi_krb5.a): Include the object files in the mechglue directory as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7365 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h: Removed prototypes of functions that have beenTheodore Tso1996-01-237-543/+9
| | | | | | | | | moved to the mechglue layer. Makefile.in: Removed gssapi_generic.c, oid_ops.c, rel_buffer.c, and rel_oid_set.c --- these functions are now done in the mechglue layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7364 dc483132-0cff-0310-8789-dd5450dbe970
* rel_oid.c (krb5_gss_internal_release_oid): Add the new interface forTheodore Tso1996-01-237-687/+61
| | | | | | | | | | | | | | the mechglue layer. inq_cred.c (krb5_gss_inquire_cred): Call gss_release_oid_set() instead of generic_gss_release_oid_set(). gssapiP_krb5.h: Added prototype for krb5_gss_internal_release_oid Makefile.in (CCSRCS): Removed the file krb5_gss_glue.c and added the file k5mech.c and pname_to_uid.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7363 dc483132-0cff-0310-8789-dd5450dbe970
* Added Sun's changes (from Roland), as fixed by Ted, to finally have aTheodore Tso1996-01-2314-54/+995
| | | | | | fully working mechglue layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7362 dc483132-0cff-0310-8789-dd5450dbe970
* New files for Sun's multi-mechanism GSSAPITheodore Tso1996-01-232-0/+427
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7361 dc483132-0cff-0310-8789-dd5450dbe970
* Check for prototypes so that KRB5_STDARG_P worksEzra Peisach1996-01-223-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7360 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use KRB5_CHECK_PROTOS instead of inliningEzra Peisach1996-01-222-13/+6
| | | | | | prototype checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7359 dc483132-0cff-0310-8789-dd5450dbe970
* Move the prototype checking code from include/krb5/configure.in intoEzra Peisach1996-01-222-0/+21
| | | | | | | | | | KRB5_CHECK_PROTOS. This is for applications that wish to use KRB5_PROTOTYPE, are not STDC, do not want to include k5-int.h but need to know if prototypes work on the system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7358 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Merge in berk_db library if neededEzra Peisach1996-01-223-3/+33
| | | | | | | * Makefile.in (LIB_SUBDIRS): Get location of berk_db from configure if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7357 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add in WITH_ANAME_DB and WITH_KDB_DB so that topEzra Peisach1996-01-223-6/+24
| | | | | | | | | | | | level configure --help lists options. * aclocal.m4 (CHECK_DB): Fix m4 quoting to allow for the autoconf rules to insert the required CPP determination rules automatically. (WITH_ANAME_DB): Add missing comma. Fix up spacing so configure --help looks pretty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7356 dc483132-0cff-0310-8789-dd5450dbe970
* If there is no DES key with a V4 salttype, simply return any DES key.Richard Basch1996-01-221-1/+8
| | | | | | (Service keys only need to be DES for V4 requests to work.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7355 dc483132-0cff-0310-8789-dd5450dbe970
* Allow for the use of other K/M encryption types. Try to look it up inRichard Basch1996-01-221-7/+8
| | | | | | the stash file if it is being invoked in non-interactive mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7354 dc483132-0cff-0310-8789-dd5450dbe970
* Don't syslog if the child exited normallyRichard Basch1996-01-221-2/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7353 dc483132-0cff-0310-8789-dd5450dbe970
* A couple more tasks have been completed (use dbm, and kdc locking)Richard Basch1996-01-221-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7352 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed three problems in the database rename function:Richard Basch1996-01-221-9/+13
| | | | | | | | | | | | | 1. Added a missing call to krb5_dbm_db_end_update to ensure the lock file timestamp is updated. 2. Corrected the test for a valid lock file handle to be >=0 not non-zero. 3. Use the lock file of the target name, since the source will shortly disappear and another process may already be checking for the lock file of the target. (For example, a kdb5_edit db load will use a temporary name and rename the db to the proper name when it is done, and krb5kdc will be testing for the target lock file.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7351 dc483132-0cff-0310-8789-dd5450dbe970
* Simplified to simply require the use of WITH_ANAME or USE_KDB5_LIBRARYRichard Basch1996-01-2224-364/+13
| | | | | | to specify the need for dbm inclusion/testing/compilation flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7350 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4Richard Basch1996-01-221-28/+101
| | | | | | | | | | | Added several macros and restructures to allow for testing of which dbm type to use and to override with --with-kdb-db=DBM --with-aname-db=DBM Added USE_ANAME macro to specify a module requires the aname db. USE_KDB5_LIBRARIES now checks the --with-kdb-* flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7349 dc483132-0cff-0310-8789-dd5450dbe970
* * gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won'tTom Yu1996-01-222-1/+7
| | | | | | | break trying to match is_skey in the ccache. This way we won't end up with many copies of user-to-user tickets. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7348 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.inRichard Basch1996-01-221-1/+11
| | | | | | Only build Berkeley db, if it is being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7347 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_get_credentials does not use the same flags as kdc_optionsEzra Peisach1996-01-202-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7346 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_get_credentials does not take the same flags as kdc_options. Set toEzra Peisach1996-01-202-1/+6
| | | | | | 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7345 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_get_credentials does not take kdc_options flagsEzra Peisach1996-01-203-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7344 dc483132-0cff-0310-8789-dd5450dbe970
* Remove use of krb5_kdc_default_optionsEzra Peisach1996-01-202-3/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7343 dc483132-0cff-0310-8789-dd5450dbe970