summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial commit of massively modified stdcc functions to make them somewhatTheodore Tso1999-02-042-269/+394
| | | | | | closer to correct. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11148 dc483132-0cff-0310-8789-dd5450dbe970
* auth.c (auth_send): Increase size of buf so we can handle mongo-gramTheodore Tso1999-02-042-1/+6
| | | | | | sized tickets from Microsoft. [telnet/686] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11144 dc483132-0cff-0310-8789-dd5450dbe970
* state.c: Increase size of subbufer so that we don't truncateTheodore Tso1999-02-042-1/+6
| | | | | | mongo-gram tickets from Microsoft. [telnet/688] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11143 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos5.c: Increase size of str_data so that we can acceptTheodore Tso1999-02-042-1/+6
| | | | | | mongo-gram tickets from Microsoft. [telnet/686] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11142 dc483132-0cff-0310-8789-dd5450dbe970
* * read_pwd.c: Remove reference to CPP symbol "unix"Tom Yu1999-02-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11141 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefname.c: Add a new function krb5_cc_set_default_name(), which isTheodore Tso1999-02-023-119/+166
| | | | | | | | | | | | | | | used set the default ccname stored in the krb5_context. All of the OS-specific functions to determine the default ccname is moved to this function. The krb5_cc_default_name() function now just reads the default ccname from the os_context, and will call krb5_cc_set_default_name() to set the default ccname if necessary. t_std_conf: Added functions to test krb5_cc_default_name and krb5_cc_set_default_name(). Fixed the call to krb5_locate_kdc to support the new variables added by the Cygnus initial ticket API merge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11140 dc483132-0cff-0310-8789-dd5450dbe970
* k5-int.h: Add an entry to the os_context to store the default ccacheTheodore Tso1999-02-023-0/+11
| | | | | | | | | name. krb5.hin (krb5_cc_set_default_name): Add function prototype which sets the defulat ccache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11139 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Fix to not depend on CPP symbol "unix"Tom Yu1999-02-023-2/+8
| | | | | | * et_h.awk: Fix to not depend on CPP symbol "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11137 dc483132-0cff-0310-8789-dd5450dbe970
* trval.c: Now understands krb5 structure elementsTheodore Tso1999-01-295-1730/+1118
| | | | | | | krb5_encode_test.c: Pass trval type hints to trval2() so that datastructures get properly decoded. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11136 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix typo so that lib/crypto actually getsTom Yu1999-01-272-1/+6
| | | | | | configured. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11135 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing #include of termios.hTheodore Tso1999-01-271-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11134 dc483132-0cff-0310-8789-dd5450dbe970
* listen.c (print_prompt): Replace BSD-style ioctl with termios interfaceTheodore Tso1999-01-273-12/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11133 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Move the responsibility for generatingTheodore Tso1999-01-2721-66/+122
| | | | | | | Makefile files for the following subdirectories to the top-level: util, util/send-pr, util/dyn, lib, config-files, and gen-manpages. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11132 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove test CHECK_WAIT_TYPE since nothing is using theTheodore Tso1999-01-273-1/+7
| | | | | | results of that test (WAIT_USES_INT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11131 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_preauth.c (check_padata): If preauth fails because the preauthTheodore Tso1999-01-272-0/+14
| | | | | | | | data from the client was of an unknown type, and the principal does not require preauth, then the preauth should be disregarded. [krb5-kdc/652] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11130 dc483132-0cff-0310-8789-dd5450dbe970
* localaddr.c: On the macintosh, check to see if getmyipaddr returnsTheodore Tso1999-01-272-0/+13
| | | | | | NULL, and return an error in that case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11129 dc483132-0cff-0310-8789-dd5450dbe970
* 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