summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove CFLAGS=@CCOPTS@ line, which is in pre.inTheodore Tso1995-03-312-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5329 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
* * rc_dfl.c (krb5_rc_dfl_expunage): Close the old, temporary replyTheodore Tso1995-03-313-2/+16
| | | | | | | | | | | cache after we're done expunging it. * rc_io.c (krb5_rc_io_move): Make duplicate copies of the filename and the file descriptor (via malloc/strcpy and dup), so that the old rc_io object can be cleanly closed without affecting the new rc_io object. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5327 dc483132-0cff-0310-8789-dd5450dbe970
* * realm_dom.c (krb5_get_realm_domain): Don't indent #ifdef's!Theodore Tso1995-03-313-6/+12
| | | | | | * hst_realm.c (krb5_get_host_realm): Don't indent #ifdef's! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5326 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (CONFIG_RULES): ReplacedTheodore Tso1995-03-312-0/+5
| | | | | | (Why was this removed?) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5325 dc483132-0cff-0310-8789-dd5450dbe970
* Back out previous change so that it doesn't break people who are usingTheodore Tso1995-03-312-15/+32
| | | | | | | VPATH to have separate build directories. (See comments in the Makefile.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5324 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused fileTheodore Tso1995-03-312-152/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5323 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typos in Mike's changesJonathan Kamens1995-03-311-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5319 dc483132-0cff-0310-8789-dd5450dbe970
* Changes from shanzer for API versioning testsJonathan Kamens1995-03-311-0/+241
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5318 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo which caused new_keytab to not get freed, causing a memoryTheodore Tso1995-03-312-1/+6
| | | | | | leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5317 dc483132-0cff-0310-8789-dd5450dbe970
* Commit on the whole tree to make a checkpoint for a working windows worldKeith Vetter1995-03-3117-474/+661
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5315 dc483132-0cff-0310-8789-dd5450dbe970
* No need to have the session_key established for mutual authenticationTheodore Tso1995-03-292-6/+6
| | | | | | to work. (That's only done if ENCRYPTION is defined.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5313 dc483132-0cff-0310-8789-dd5450dbe970
* Add a makefile dependency for libtelnet.a, so that the executable getsTheodore Tso1995-03-294-2/+10
| | | | | | automatically relinked when the library changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5312 dc483132-0cff-0310-8789-dd5450dbe970
* Allow mutual authentication even if the ENCRYPTION option is notTheodore Tso1995-03-292-2/+5
| | | | | | turned on. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5311 dc483132-0cff-0310-8789-dd5450dbe970
* * def.h: Replace STDARG_PROTOTYPES with HAVE_STDARG_HJohn Gilmore1995-03-292-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5310 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix up Mac makefile.John Gilmore1995-03-294-6/+13
| | | | | | | * error_message.c: For errno, use strerror if HAS_STRERROR. * configure.in: Define HAS_STRERROR. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5309 dc483132-0cff-0310-8789-dd5450dbe970
* * ccdefname.c: On Mac, default cred cache is "STDIO:krb5cc" for now.John Gilmore1995-03-291-0/+4
| | | | | | | FIXME, this needs to find the Preferences folder and use that. FIXME, shouldn't be conditioned on HAVE_MACSOCK_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5308 dc483132-0cff-0310-8789-dd5450dbe970
* Added functionality for windows to read default file locations fromKeith Vetter1995-03-297-9/+73
| | | | | | windows ini files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5307 dc483132-0cff-0310-8789-dd5450dbe970
* Chasing an elusive nmake bugKeith Vetter1995-03-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5306 dc483132-0cff-0310-8789-dd5450dbe970
* Added capability for windows version to read default values out of an ini fileKeith Vetter1995-03-294-1/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5305 dc483132-0cff-0310-8789-dd5450dbe970
* Moved the differing parts of osconf.win into osconf.hKeith Vetter1995-03-293-89/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5304 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix up Mac build process somewhat. Not completeJohn Gilmore1995-03-292-9/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5303 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all): Run all-$(WHAT).John Gilmore1995-03-292-2/+13
| | | | | | | (unixmac): Build includes at this time. (LDFLAGS): Punt duplicated setting. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5302 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all): Split into all-$(WHAT).John Gilmore1995-03-292-3/+14
| | | | | | | (unixmac): Add. (libupdate): Use $(RM). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5301 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (AC_REPLACE_FUNCS): Add getuid to the list.John Gilmore1995-03-294-4/+14
| | | | | | | * getuid.c: Simple getuid() to fake out single-user systems. * strcasecmp.c: Remove duplicated <sys/types.h> and u_char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5300 dc483132-0cff-0310-8789-dd5450dbe970
* * DNR.c: Add Apple MacTCP source file for domain name resolution.John Gilmore1995-03-2910-36/+542
| | | | | | | | | | | | | | | | | | | | | | | * macsock.c: Add fake socket support routines for MacTCP. * Makefile.in (OBJS, SRCS): Add DNR and macsock. * ccdefname.c: On Mac, default cred cache is "STDIO:krb5cc" for now. FIXME, this needs to find the Preferences folder and use that. FIXME, shouldn't be conditioned on HAVE_MACSOCK_H. * gmt_mktime.c: Use HAVE_SYS_TYPES_H. * krbfileio.c: Remove <sys/types.h>. * localaddr.c, sendto_kdc.c: Convert to more generic socket support. Use closesocket instead of close, SOCKET_ERRNO rather than errno, SOCKET rather than int, etc. * localaddr.c: Use getmyipaddr() from macsock.c, if on Mac. Add FIXME for multiple local addresses. * lock_file.c: Provide a dummy version for MacOS. * read_pwd.c (ECHO_PASSWORD): Add #ifdef's to avoid all the ioctls and other stuff that turn off echoing. This is useful for debugging on MacOS. FIXME: ECHO_PASSWORD needs to be added to configure.in. * ustime.c: Bring in Mac-specific time-and-timezone code. It probably isn't hooked up correctly, yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5299 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_req_sim.c: Really remove the fileJohn Gilmore1995-03-292-74/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5298 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (BUILDTOP2, etc): Make it possibleJohn Gilmore1995-03-293-13/+45
| | | | | | | | | | | | | to build the error tables on Unix before a Mac build. (all-mac): Don't build $(HDRS) on Mac. (unixmac): Build `includes'. (clean-mac): Add. (includes, clean, .SUFFIXES, .et.h, .et.c): Add, to make it possible to run `make -f Makefile.in unixmac' successfully. * configure.in (ASN1_{HDRS,OBJS,SRCS, BOGUS): Remove, unused. (CopyHeader rules): Remove, they're now in Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5297 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (unixmac): Add to build header filesJohn Gilmore1995-03-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5296 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-mac): Add.John Gilmore1995-03-293-6/+13
| | | | | | | | * configure.in (LinkFile's): Put `./' on libraries to ease Mac translation. (AppendRule all-unix): Rename from AppendRule all. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5295 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB5_HEADERS, install): `Make install' now works.John Gilmore1995-03-294-1/+16
| | | | | | | * configure.in (WITH_KRB5ROOT): For `make install'. * krb5.h: Include "k5-errors.h" rather than "errors.h". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5294 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-errors.h: Rename errors.h (which duplicated a standard MacJohn Gilmore1995-03-297-0/+588
| | | | | | | | header name, causing a problem). * AddressXlation.h, GetMyIPAddr.h, MacTCPCommonTypes.h, TCPPB.h, UDPPB.h: Add MacTCP header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5293 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB5_HEADERS, install): Account for file renames.John Gilmore1995-03-296-20/+94
| | | | | | | | | | | | (all-mac): Add. * configure.in (CONFIG_RULES): Remove. (krb5_sigtype): Define as either void or int. * encryption.h: Insert parentheses in macros to avoid mis-expansion. * k5-config.h: Further parameterize socket support. * macsock.h: Support connect(), recv(), send(), getmyipaddr(). (WSAGetLastError): Fix typo -- there's no argument to this macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5292 dc483132-0cff-0310-8789-dd5450dbe970
* * mac-config.cache: Correct some entries.John Gilmore1995-03-294-14/+37
| | | | | | | | | | | * mac-mf.sed: Improve conversion of pathnames, $(srcdir), support linking MPW tools (for make check, kinit). * mac-pre.in (.c.o): Add -sym on for debugging. (LDFLAGS): Remove ToolLibs.o. (RANLIB, ARCHIVE): Make these work. (MAKE): Make recursive makes work, with BuildProgram. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5291 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Remove, conflicts with pre.in.John Gilmore1995-03-293-8/+31
| | | | | | | | | (kinit): Link with $(CC) $(LDFLAGS), to work on the Mac. * kinit.c (HAVE_PWD_H): Use. (NO_KEYTAB): Skip keytab support if defined. FIXME: NO_KEYTAB needs to be set by configure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5290 dc483132-0cff-0310-8789-dd5450dbe970
* Bring in portability fixes from Cygnus K4 releaseJohn Gilmore1995-03-287-58/+93
| | | | | | | | | | | | | * f_cbc.c, f_cksum.c, f_pcbc.c: Replace individual casts with simpler solution. * f_tables.h: Insert debugging code, and circumvention for MPW compiler bug. * key_sched.c: Remove ancient (microvax??!) comments, and dup prototype. * verify.c: Small hack for MS-Windows scrolling. Fix spelling. "register x" -> "register int x". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5288 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed some windows filesKeith Vetter1995-03-282-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5284 dc483132-0cff-0310-8789-dd5450dbe970
* Adding zipping and building in windows/wintel directoryKeith Vetter1995-03-282-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5283 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typo in windows makefileKeith Vetter1995-03-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5282 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed a file for DOS 8.3 compatabilityKeith Vetter1995-03-283-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5281 dc483132-0cff-0310-8789-dd5450dbe970
* Added windows/wintel directoryKeith Vetter1995-03-283-2/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5280 dc483132-0cff-0310-8789-dd5450dbe970
* Minor bug fixes and clean up in windows/cnsKeith Vetter1995-03-284-21/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5279 dc483132-0cff-0310-8789-dd5450dbe970
* Added windows/wintel directory for the windows telnet programKeith Vetter1995-03-2825-0/+6609
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5278 dc483132-0cff-0310-8789-dd5450dbe970
* * full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:John Gilmore1995-03-277-26/+4
| | | | | | | Remove explicit includes of socket files. * locate_kdc.c: Remove <sys/types.h> and "os-proto.h". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5276 dc483132-0cff-0310-8789-dd5450dbe970
* * macsock.c (connect, send, recv): Add for K5 compatability.John Gilmore1995-03-272-1/+103
| | | | | | (getmyipaddr): Add for use in K5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5275 dc483132-0cff-0310-8789-dd5450dbe970
* * macsock.c: Add Mac socket support file, verbatim from K4 releaseJohn Gilmore1995-03-272-0/+488
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5274 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c (verify_cs_pair()): Use new calling conventionsChris Provenzano1995-03-272-88/+126
| | | | | | for krb5_rd_req() and krb5_mk_req_extended(), git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5267 dc483132-0cff-0310-8789-dd5450dbe970
* * kprop.c : Use new calling conventions for krb5_sendauth(),Chris Provenzano1995-03-273-151/+140
| | | | | | | | | krb5_mk_safe(), krb5_rd_safe() and krb5_mk_priv(). * kpropd.c : Use new calling conventions for krb5_recvauth(), krb5_mk_safe(), krb5_rd_safe() and krb5_rd_priv(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5266 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Removed rd_req_sim.cChris Provenzano1995-03-2712-392/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * auth_con.c: Default cksumtype is now CKSUMTYPE_RSA_MD4_DES. * auth_con.c: Added krb5_auth_con_setuseruserkey(), krb5_auth_con_getkey(), krb5_auth_con_getremotesubkey(), krb5_auth_con_getauthenticator(), krb5_auth_con_getremoteseqnumber(), krb5_auth_con_initivector(). * auth_con.c: Fixed krb5_auth_con_getlocalsubkey() to check for a valid local_subkey before calling krb5_copy_keyblock(). * auth_con.h: Fixed some comments. * mk_req_ext.c (krb5_mk_req_extended()): Always pass in a seed (the keyblock contents) to krb5_calculate_checksum() * rd_rep.c (krb5_rd_rep()): Use appropriate key to decode reply. * rd_safe.c (krb5_rd_safe()): Don't pass checksum to krb5_rd_safe_basic(), it's unnecessary. * compat_recv.c (krb5_compat_recvauth()): * mk_rep.c (krb5_mk_rep()): * rd_req.c (krb5_rd_req()): * rd_req_dec.c (krb5_rd_req_decode()): * recvauth.c (krb5_recvauth()): Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5265 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c: Use new calling convention for krb5_rd_req()Chris Provenzano1995-03-272-135/+47
| | | | | | and krb5_mk_rep(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5264 dc483132-0cff-0310-8789-dd5450dbe970