summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile.in: Add ccapi to the include path so we can find stdcc.hTheodore Tso1999-01-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11128 dc483132-0cff-0310-8789-dd5450dbe970
* wconfig.c: Updated to be more featureful. It will now save theTheodore Tso1999-01-272-20/+89
| | | | | | | | | | | | arguments passed to it and emit it as a makefile variable WCONFIG_FLAGS. This allows the makefile to be able to preserve wconfig options in the future when updating makefile. Also added the --win32 and --win16 options to force win16 or win32 makefiles. An option of the form --enable-foo will cause lines that begin ##FOO## to be uncommented in the Makefile. The program has also been cleaned up so it can be run (for debugging purposes) under Unix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11127 dc483132-0cff-0310-8789-dd5450dbe970
* Upped to 1.1b4Miro Jurisic1999-01-261-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11126 dc483132-0cff-0310-8789-dd5450dbe970
* Reelase notes update; Makefile.tmpl fixes to make debugging version link ↵Miro Jurisic1999-01-262-5/+48
| | | | | | against debugging C and runtime libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11125 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_tree.c (profile_node_iterator): Added comments indicating thatTheodore Tso1999-01-252-2/+39
| | | | | | | | | | | profile_node_iterator, not being an exported interface, returns pointers into the parse tree, and that values should be strdup()'ed before returning them to a calling application. prof_get.c (profile_iterator): Strdup the name and value strings before returning them to the calling application. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11124 dc483132-0cff-0310-8789-dd5450dbe970
* Uppder version to 1.1b3Miro Jurisic1999-01-221-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11123 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typo in SRCSMiro Jurisic1999-01-221-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11122 dc483132-0cff-0310-8789-dd5450dbe970
* Added realms from Athena krb5.confMiro Jurisic1999-01-221-9/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11121 dc483132-0cff-0310-8789-dd5450dbe970
* Resource chain mangling fixMiro Jurisic1999-01-221-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11120 dc483132-0cff-0310-8789-dd5450dbe970
* _MACINTOSH -> macintoshMiro Jurisic1999-01-221-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11119 dc483132-0cff-0310-8789-dd5450dbe970
* trval.c: Added usage message, better options parsing, and support forTheodore Tso1999-01-222-70/+306
| | | | | | | | | | two new options: -hex, which will accept the asn.1 encoding in hex (i.e., from a packet dump), and -krb5, which instructs the trval to print out the krb5 interpretations of the data types. Trval will now also try to interpret the field names of known krb5 structures if -krb5 is specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11118 dc483132-0cff-0310-8789-dd5450dbe970
* netbsd1.def (UTMP_FILE, WTMP_FILE): Update filenames to comply withTheodore Tso1999-01-222-2/+9
| | | | | | | netbsd system. (Not actually used by our configuration system, but I'll update the file.) Submitted by ghudson, [krb5-admin/522] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11117 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Fix realm iterator prototypes so that they useTheodore Tso1999-01-211-0/+6
| | | | | | | | | KRB5_PROTOTYPE, and surround them with extern "C" so things work under C++. CVS: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11115 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Fix realm iterator prototypes so that they useTheodore Tso1999-01-211-4/+12
| | | | | | | KRB5_PROTOTYPE, and surround them with extern "C" so things work under C++. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11114 dc483132-0cff-0310-8789-dd5450dbe970
* profile.hin: Fix definition of PROTOYPE so that it works under C++Theodore Tso1999-01-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11113 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): Call setluid()Tom Yu1999-01-214-9/+26
| | | | | | | | | * krshd.c (doit): Call setluid(). * configure.in: Check for setluid() rather than main() in libsecurity. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11111 dc483132-0cff-0310-8789-dd5450dbe970
* Version 1.1b1, changed CFM fragment version numbers and tweaked makefile.initialMiro Jurisic1999-01-204-6/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11110 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to krb5.ini to default to single DES TGT (3DES is hosed); added ↵Miro Jurisic1999-01-193-20/+47
| | | | | | realms API and 3DES to export file; building only PPC versions git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11109 dc483132-0cff-0310-8789-dd5450dbe970
* Updating Mac CCache library implementation includes and bins to latestScott McGuire1999-01-137-19/+62
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11108 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): PW_CHECK functionality now in DEFSTom Yu1999-01-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11106 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Define NDBM_PW_CHECK if enable_athena is set toTom Yu1999-01-122-0/+11
| | | | | | deal with v4kadmind kludge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11105 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inappropriate cc_shutdown() call from krb5_cc_destroy()Scott McGuire1999-01-061-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104 dc483132-0cff-0310-8789-dd5450dbe970
* cns.c (position_dialog): If the registry position for the window isTheodore Tso1999-01-052-2/+8
| | | | | | all zeros, then default to centering the window in the correct place. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11103 dc483132-0cff-0310-8789-dd5450dbe970
* sn2princ.c (krb5_sname_to_principal): Windows NT5's broken resolverTheodore Tso1999-01-052-0/+19
| | | | | | | gratuitously tacks on a trailing period to the hostname (at least it does in Beta2). Deal with this brain-damage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11102 dc483132-0cff-0310-8789-dd5450dbe970
* changepw.c: Add a test for _WIN16 as well as _WIN32 for socketsTheodore Tso1999-01-052-1/+7
| | | | | | | workaround (in case we do want to build the 16 bit library again someday) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11101 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (withval): Conditinalize ATHENA_DES3_KLUDGE onTom Yu1999-01-053-1/+32
| | | | | | | | | --enable-athena. * main.c (initialize_realms): Kludge to disable des3-marc-hmac-sha1 from the command line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11100 dc483132-0cff-0310-8789-dd5450dbe970
* * make_checksum.c (krb5_c_make_checksum): Note the fact that we'reTom Yu1999-01-054-1/+38
| | | | | | | | | | | | | | | | punting on dealing with backwards compat with length-included checksums. * etypes.c: Add ENCTYPE_LOCAL_DES3_HMAC_SHA1 as a temporary kludge. Note that this is added to the end of the array so other code can lop off the last member of the array and the right thing will happen so that it is possible to disable des3-marc-hmac-sha1 from the KDC command line, for instance. * configure.in: Conditionalize ATHENA_DES3_KLUDGE on --enable-athena. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11099 dc483132-0cff-0310-8789-dd5450dbe970
* * dk.h: Add prototypes for krb5_marc_dk_*Tom Yu1999-01-055-0/+389
| | | | | | | | | | | | | | * dk_encrypt.c (krb5_marc_dk_encrypt): Add compat for 32-bit length coded ciphertext. * dk_decrypt.c (krb5_marc_dk_decrypt): Add compat for 32-bit length coded ciphertext. * checksum.c: Add compat for 32-bit length included checksum. Note that nothing uses this at the moment, and probably shouldn't. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11098 dc483132-0cff-0310-8789-dd5450dbe970
* prof_tree.c (profile_node_iterator): Make sure the pointer to theTheodore Tso1999-01-023-3/+26
| | | | | | | | | iterator function is non-NULL before checking the magic value. prof_file.c (profile_open_file): Add ability to parse filenames that begin with "~/" and substitute it with "$HOME/". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11096 dc483132-0cff-0310-8789-dd5450dbe970
* Temporary patch for krb5-appl/678; avoid data from stdout being mixed to stderrSam Hartman1998-12-275-7/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11095 dc483132-0cff-0310-8789-dd5450dbe970
* gss-server.c (test_import_export_context): Fix memory leakTheodore Tso1998-12-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11094 dc483132-0cff-0310-8789-dd5450dbe970
* accept_sec_context.c (krb5_gss_accept_sec_context): Eliminate doubleTheodore Tso1998-12-223-232/+219
| | | | | | | | | | | | | | | free of ap_req.data, and initialize ctypes to be NULL to avoid freeing a pointer to stack garbage when doing a V1 mechanism accept_sec_contxt. init_sec_context.c: Re-arrange program logic to simplify and factor out code; fix gss_init_sec_context() so that if the default OID is passed to the init_sec_context, it will use the V1 mechanism if a single DES enctype is used. Error handling was revamped to make it simpler and cleaner, and to assure that we don't have memory leaks on error returns. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11093 dc483132-0cff-0310-8789-dd5450dbe970
* * old_decrypt.c (krb5_old_decrypt): Initialize the ivec to the keyTom Yu1998-12-162-1/+17
| | | | | | | | | | if we're using DES_CBC_CRC, for backwards compatibility. We weren't noticing this before because it only trashes the first block, which is the confounder, which we weren't actually verifying because checksum was unconditionally succeeding prior to the other patch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11092 dc483132-0cff-0310-8789-dd5450dbe970
* * old_decrypt.c (krb5_old_decrypt): Actually compare theTom Yu1998-12-112-1/+6
| | | | | | calculated checksum against the provided checksum. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11091 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_randkey_principal_3): Fix typo inEzra Peisach1998-12-072-2/+7
| | | | | | | | | arguments to krb5_dbe_crk(). Prototypes are your friends. Essentially, the number of tuples was passed as tuples and visa-versa. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11090 dc483132-0cff-0310-8789-dd5450dbe970
* * krb54proto.h: Fix decomp_tkt_krb5 to use KRB4_32, instead of aTom Yu1998-12-072-2/+7
| | | | | | nonexistent type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11089 dc483132-0cff-0310-8789-dd5450dbe970
* krb.h: Add prototypes for krb_set_key() and decomp_ticket()Theodore Tso1998-12-052-0/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11088 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0556-1/+199
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-052-0/+7
| | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Use K5_AC_OUTPUT isntead of K5_OUTPUT_FILES git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11086 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-053-2/+10
| | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Use K5_AC_OUTPUT instead of K5_OUTPUT_FILES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11085 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-056-0/+21
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11084 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0524-0/+85
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11083 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0528-0/+98
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11082 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0514-0/+49
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11081 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, ccdefops.c: Temporarily back out the ccapi ccache underTheodore Tso1998-12-053-9/+23
| | | | | | | | | Windows so we can make sure the rest of the krb5 tree builds correctly under Windows. (Note: I didn't revert lib/krb5/os/ccdefname.c, so setting KRB5_CC_NAME to FILE:C:\tmp\tkt is required to make things work.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11080 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Updated windows configuration rules to work with the newTheodore Tso1998-12-052-6/+28
| | | | | | | crypto library. (Including bundling the correct directories into kerbsrc-nt.zip) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11079 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing krb4__krb5_context variable declarationTheodore Tso1998-12-051-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11078 dc483132-0cff-0310-8789-dd5450dbe970
* localaddr.c: Added missing KRB5_DLLIMP and KRB5_CALLCONF macros fromTheodore Tso1998-12-052-1/+6
| | | | | | the function definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11077 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_32.def: Fixed exports file to reflect new crypto library andTheodore Tso1998-12-052-1/+19
| | | | | | related changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11076 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Add KRB5_DLLIMP and KRB5_CALLCONV to the prototypes ofTheodore Tso1998-12-052-4/+12
| | | | | | | | valid_enctype, valid_cksumtype, is_coll_proof_cksum, and is_keyed_cksum, which had previously been #defines, but since they are now functions, they needed to be exported by the DLL interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11075 dc483132-0cff-0310-8789-dd5450dbe970