krb5.git
25 years agoFix window's get_from_os() call so that gets the default cache name if
Theodore Tso [Tue, 23 Mar 1999 22:10:49 +0000 (22:10 +0000)]
Fix window's get_from_os() call so that gets the default cache name if
the strategy of getting the information from the registry fails (which it
normally will, since this is used only for PC-DCE compatibility).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11301 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFix up makefile so that it correctly builds the DLL's under windows
Theodore Tso [Tue, 23 Mar 1999 22:07:11 +0000 (22:07 +0000)]
Fix up makefile so that it correctly builds the DLL's under windows

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11300 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago68K builds gone; updated to 1.1b12
Miro Jurisic [Tue, 23 Mar 1999 04:47:25 +0000 (04:47 +0000)]
68K builds gone; updated to 1.1b12

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11299 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoupdated to CCache 2.0b4
Miro Jurisic [Tue, 23 Mar 1999 04:46:43 +0000 (04:46 +0000)]
updated to CCache 2.0b4

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11298 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFix stupid typo in defining the DLL_FILE_DEF macro
Theodore Tso [Mon, 22 Mar 1999 20:52:18 +0000 (20:52 +0000)]
Fix stupid typo in defining the DLL_FILE_DEF macro

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11295 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed krb5globals __initialize to use existing default cache instead of creatinga...
Miro Jurisic [Tue, 16 Mar 1999 18:21:58 +0000 (18:21 +0000)]
Fixed krb5globals __initialize to use existing default cache instead of creatinga new one; upped to b11

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11294 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * profile.hin: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 21:03:50 +0000 (21:03 +0000)]
* profile.hin: Fix GSS_DLLIMP

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11293 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * com_err.h: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 21:02:13 +0000 (21:02 +0000)]
* com_err.h: Fix GSS_DLLIMP

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11292 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * des.h: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 20:59:48 +0000 (20:59 +0000)]
* des.h: Fix GSS_DLLIMP

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11291 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * k5-int.h: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 20:59:31 +0000 (20:59 +0000)]
* k5-int.h: Fix GSS_DLLIMP

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11290 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded extern "C" to gssapi_krb5.h
Miro Jurisic [Mon, 15 Mar 1999 20:27:42 +0000 (20:27 +0000)]
Added extern "C" to gssapi_krb5.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11289 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed GSS_* macros for the Mac
Miro Jurisic [Mon, 15 Mar 1999 04:05:59 +0000 (04:05 +0000)]
Fixed GSS_* macros for the Mac

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11288 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded new exports and upped to b10
Miro Jurisic [Mon, 15 Mar 1999 04:04:21 +0000 (04:04 +0000)]
Added new exports and upped to b10

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11287 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoNow actually compiles
Miro Jurisic [Mon, 15 Mar 1999 04:03:45 +0000 (04:03 +0000)]
Now actually compiles

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11286 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFix = vs == bug in krb5_stdcc_next_cred
Theodore Tso [Sun, 14 Mar 1999 05:38:33 +0000 (05:38 +0000)]
Fix = vs == bug in krb5_stdcc_next_cred

check the return value from cc_create.

Remove use of C++ comments.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11285 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoCommit updated changelog
Theodore Tso [Sun, 14 Mar 1999 05:35:49 +0000 (05:35 +0000)]
Commit updated changelog

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11284 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFix obviously missing variable declaration
Theodore Tso [Sun, 14 Mar 1999 05:35:14 +0000 (05:35 +0000)]
Fix obviously missing variable declaration

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11283 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoChanges to allow building the profile routines as their own separate DLL
Theodore Tso [Sun, 14 Mar 1999 05:24:27 +0000 (05:24 +0000)]
Changes to allow building the profile routines as their own separate DLL

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11282 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Sun, 14 Mar 1999 05:19:21 +0000 (05:19 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11281 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoCheck in prototype for gss_krb5_ccache_name()
Theodore Tso [Sun, 14 Mar 1999 05:18:03 +0000 (05:18 +0000)]
Check in prototype for gss_krb5_ccache_name()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11280 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * Makefile.in (kshd): Add $(LOGINLIBS)
Tom Yu [Sat, 13 Mar 1999 00:02:07 +0000 (00:02 +0000)]
* Makefile.in (kshd): Add $(LOGINLIBS)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11278 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * main.c (main): Fix cleanup code for setluid() failure
Tom Yu [Fri, 12 Mar 1999 23:53:02 +0000 (23:53 +0000)]
* main.c (main): Fix cleanup code for setluid() failure

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11276 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoBack out prototype changes which should haven't gotten checked in yet
Theodore Tso [Fri, 12 Mar 1999 22:10:04 +0000 (22:10 +0000)]
Back out prototype changes which should haven't gotten checked in yet

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11275 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoDon't blow away Krbcc32.lib by accident
Theodore Tso [Fri, 12 Mar 1999 20:55:09 +0000 (20:55 +0000)]
Don't blow away Krbcc32.lib by accident

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11274 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoCheck to make sure the context is valid and return an error if it
Theodore Tso [Fri, 12 Mar 1999 20:33:28 +0000 (20:33 +0000)]
Check to make sure the context is valid and return an error if it
isn't.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11273 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoSample the ccdefault name at the time when we create the context.
Theodore Tso [Fri, 12 Mar 1999 20:32:45 +0000 (20:32 +0000)]
Sample the ccdefault name at the time when we create the context.
Free the ccdefault name when we free the os context.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11272 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdd definition for GSS_DLLIMP for non-Windows platforms
Theodore Tso [Fri, 12 Mar 1999 20:22:27 +0000 (20:22 +0000)]
Add definition for GSS_DLLIMP for non-Windows platforms

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11269 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ftpd.c (user): Remove extra "%s" in call to sprintf() to avoid
Tom Yu [Fri, 12 Mar 1999 12:35:56 +0000 (12:35 +0000)]
* ftpd.c (user): Remove extra "%s" in call to sprintf() to avoid
dereferencing stack garbage.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11268 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated for 1.1b9
Miro Jurisic [Fri, 12 Mar 1999 03:38:46 +0000 (03:38 +0000)]
Updated for 1.1b9

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11267 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoset_ccache.c (gss_krb5_ccache_name): Added new Krb5 specific interface
Theodore Tso [Fri, 12 Mar 1999 00:16:47 +0000 (00:16 +0000)]
set_ccache.c (gss_krb5_ccache_name): Added new Krb5 specific interface
to set the default credentials cache name.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11266 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoChange K5_OUTPUT_FILES to be K5_AC_OUTPUT
Theodore Tso [Fri, 12 Mar 1999 00:05:14 +0000 (00:05 +0000)]
Change K5_OUTPUT_FILES to be K5_AC_OUTPUT

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11265 dc483132-0cff-0310-8789-dd5450dbe970

25 years agowindows.in (DLL_FILE_DEF): Add makefile controls to set either
Theodore Tso [Fri, 12 Mar 1999 00:04:10 +0000 (00:04 +0000)]
windows.in (DLL_FILE_DEF): Add makefile controls to set either
KRB5_DLL_FILE or GSS_DLL_FILE, with the default being
KRB5_DLL_FILE.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11264 dc483132-0cff-0310-8789-dd5450dbe970

25 years agowin-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
Theodore Tso [Fri, 12 Mar 1999 00:03:04 +0000 (00:03 +0000)]
win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
__declspec(dllexport) depending on whether GSS_DLL_FILE is defined.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11263 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Fri, 12 Mar 1999 00:01:04 +0000 (00:01 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

gssapi.hin, gssapi_generic.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11262 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Fri, 12 Mar 1999 00:00:22 +0000 (00:00 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

krb5_gss_glue.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11261 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Thu, 11 Mar 1999 23:58:37 +0000 (23:58 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

g_acquire_cred.c, g_oid_ops.c: Change use of KRB5_DLLIMP to be
GSS_DLLIMP.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11260 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded modification counter
Miro Jurisic [Thu, 11 Mar 1999 21:18:47 +0000 (21:18 +0000)]
Added modification counter

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11259 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated to 2.0b3
Miro Jurisic [Thu, 11 Mar 1999 21:17:41 +0000 (21:17 +0000)]
Updated to 2.0b3

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11258 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded function krb5_free_cc_cred_union(), a local version of cc_free_creds() to free...
Scott McGuire [Wed, 10 Mar 1999 20:14:14 +0000 (20:14 +0000)]
Added function krb5_free_cc_cred_union(), a local version of cc_free_creds() to free cred_unions allocated by Kerb5 library.  Removed mac-only sys_alloc() stuff and go back to malloc()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11256 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ftpd.M: Resync with reality
Tom Yu [Tue, 9 Mar 1999 05:11:18 +0000 (05:11 +0000)]
* ftpd.M: Resync with reality

* Makefile.in (ftpd): Add libpty to link line.  Remove mention of
logwtmp files.

* ftpd.c: Fix up hostname logging to use
pty_make_sane_hostname().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11253 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoadd PR number to log
Tom Yu [Tue, 9 Mar 1999 03:58:24 +0000 (03:58 +0000)]
add PR number to log

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11251 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * sendauth.c (krb5_sendauth): Set credspout to NULL if it's
Tom Yu [Tue, 9 Mar 1999 03:41:29 +0000 (03:41 +0000)]
* sendauth.c (krb5_sendauth): Set credspout to NULL if it's
destined to be returned to avoid freeing it.  Also,
unconditionally free credspout if it's non-NULL so that if someone
doesn't pass in a ticket and doesn't give us a non-NULL out_creds,
we don't leak it. [krb5-libs/699]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11249 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * kshd.M: Resync manpage
Tom Yu [Tue, 9 Mar 1999 00:23:38 +0000 (00:23 +0000)]
* kshd.M: Resync manpage

* krshd.c: Rework hostname logging.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11247 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * profile.hin: Fix prototype of profile_flush() to use long rather
Tom Yu [Tue, 9 Mar 1999 00:11:17 +0000 (00:11 +0000)]
* profile.hin: Fix prototype of profile_flush() to use long rather
than errcode_t to avoid breaking other stuff that includes
profile.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11246 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * prof_tree.c (profile_node_iterator): Fix bug where it will loop
Theodore Tso [Mon, 8 Mar 1999 19:45:10 +0000 (19:45 +0000)]
* prof_tree.c (profile_node_iterator): Fix bug where it will loop
endlessly when searching an empty section.

* test_profile.c: Add code so that the "add" code will interpret
"NULL" as calling profile_add_relation with a null pointer
for the value.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11245 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * heuristic.c (get_authorized_princ_names): Fix to not call
Tom Yu [Thu, 4 Mar 1999 23:48:15 +0000 (23:48 +0000)]
* heuristic.c (get_authorized_princ_names): Fix to not call
list_union() if cmd is NULL, otherwise freed memory gets
referenced.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11239 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoprof_file.c (profile_flush_file): On the Macintosh, fopen() doesn't
Theodore Tso [Wed, 3 Mar 1999 23:25:33 +0000 (23:25 +0000)]
prof_file.c (profile_flush_file): On the Macintosh, fopen() doesn't
set errno when fopen fails to open a file.  Work around this by
setting errno to PROF_FAIL_OPEN in this case.

prof_err.et: Add new error code PROF_FAIL_OPEN.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11238 dc483132-0cff-0310-8789-dd5450dbe970

25 years agotest_profile.c: Added ability to test profile set functions, and in a
Theodore Tso [Wed, 3 Mar 1999 04:56:15 +0000 (04:56 +0000)]
test_profile.c: Added ability to test profile set functions, and in a
batch mode.

prof_init.c (profile_flush): Add new public function for flushing
changes made to the profile.

prof_parse.c (profile_write_tree_file): Add official internal function
for flushing out a profile tree to a FILE *.

configure.in, prof_file.c (rw_access): Add new function which checks
to see whether we have read/write access, and emulate this for losing
non-POSIX OS's.

prof_file.c (profile_flush_file): Add support for writing modified
profile file's.  Call profile_flush_file from profile_close_file().

Also fixed minor bugs in prof_tree.c which affected renaming sections and
modifying existing relations.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11237 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoprof_tree.c: Add new functions profile_get_node_name,
Theodore Tso [Wed, 3 Mar 1999 01:26:15 +0000 (01:26 +0000)]
prof_tree.c: Add new functions profile_get_node_name,
profile_get_node_value, profile_find_node, profile_remove_node,
profile_set_relation_value, profile_rename_node.  Rewrite
profile_find_node_relation and profile_find_node_subsection in terms
of profile_find_node.

prof_set.c, Makefile.in: Add a new file which exports the public
interfaces for setting profile entries.

prof_get.c, prof_init.c, prof_int.h: Add the KRB5_DLLIMP and
KRB5_CALLCONV to all of the various profile routines so they can be
properly exported via a Windows DLL.

prof_int.h: Add definition for the flags in the profile structure.

prof_err.et: Add new error codes PROF_SET_SECTION_VALUE, PROF_EINVAL,
PROF_READ_ONLY, and PROF_EXISTS.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11236 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ovsec_kadmd.c (log_badverf): Actually make a real lookup table
Tom Yu [Tue, 2 Mar 1999 02:26:22 +0000 (02:26 +0000)]
* ovsec_kadmd.c (log_badverf): Actually make a real lookup table
for procedure numbers.  Also, if we don't find the procedure
number, just log the number rather than falling off the end of an
array.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11234 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago68K builds are back; updated to CCacahe 2.0b2; upped to 1.1b8
Miro Jurisic [Mon, 1 Mar 1999 20:29:19 +0000 (20:29 +0000)]
68K builds are back; updated to CCacahe 2.0b2; upped to 1.1b8

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11233 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated to 2.0b2
Miro Jurisic [Mon, 1 Mar 1999 20:28:02 +0000 (20:28 +0000)]
Updated to 2.0b2

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11232 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ftpd.c (reply): Don't call secure_gss_error() or secure_error()
Tom Yu [Fri, 26 Feb 1999 04:35:09 +0000 (04:35 +0000)]
* ftpd.c (reply): Don't call secure_gss_error() or secure_error()
from within reply() to avoid setting up an infinite
loop. [krb5-appl/684]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11230 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * secure.c (secure_putbuf): Revert Sam's last change; if
Tom Yu [Fri, 26 Feb 1999 04:15:45 +0000 (04:15 +0000)]
* secure.c (secure_putbuf): Revert Sam's last change; if
  FUDGE_FACTOR is wrong, then badness can happen.  Also, if
  out_buf.length != nbytes+FUDGE_FACTOR, heap corruption could
  happen.  We really should be using gss_wrap_size_limit() or
  something like that, but doing so would require substantial
  amounts of reworking. [krb5-appl/685]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11228 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed missing Mac#include
Miro Jurisic [Fri, 26 Feb 1999 01:24:45 +0000 (01:24 +0000)]
Fixed missing Mac#include

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11227 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded missing includes and pragmas for 68K
Miro Jurisic [Fri, 26 Feb 1999 01:22:49 +0000 (01:22 +0000)]
Added missing includes and pragmas for 68K

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11226 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoCFM68K builds are back
Miro Jurisic [Fri, 26 Feb 1999 01:21:59 +0000 (01:21 +0000)]
CFM68K builds are back

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11225 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * telnetd.8: Resync manpage
Tom Yu [Thu, 25 Feb 1999 01:12:46 +0000 (01:12 +0000)]
* telnetd.8: Resync manpage

* telnetd.c: Rework flags controlling hostname logging.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11222 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * klogind.M: Resync manpage
Tom Yu [Thu, 25 Feb 1999 01:06:42 +0000 (01:06 +0000)]
* klogind.M: Resync manpage

* krlogind.c: Rework flags for hostname logging.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11220 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated to 1.1b7
Miro Jurisic [Thu, 25 Feb 1999 00:20:03 +0000 (00:20 +0000)]
Updated to 1.1b7

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11219 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed clean target and added template target
Miro Jurisic [Thu, 25 Feb 1999 00:18:25 +0000 (00:18 +0000)]
Fixed clean target and added template target

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11218 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoEstabliched agreement on what buffer sizes are tajen and returned
Miro Jurisic [Thu, 25 Feb 1999 00:17:17 +0000 (00:17 +0000)]
Establiched agreement on what buffer sizes are tajen and returned

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11217 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated to CCache 2.0b1
Miro Jurisic [Thu, 25 Feb 1999 00:15:23 +0000 (00:15 +0000)]
Updated to CCache 2.0b1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11216 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed confusio nbetween CCAPI v1 and v2; fixed fragment names for globalslib; added...
Miro Jurisic [Wed, 24 Feb 1999 07:08:19 +0000 (07:08 +0000)]
Fixed confusio nbetween CCAPI v1 and v2; fixed fragment names for globalslib; added -sharedata to globals lib

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11215 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed debug vs. non-debug mistakes in GSSLib and globals lib
Miro Jurisic [Tue, 23 Feb 1999 23:53:47 +0000 (23:53 +0000)]
Fixed debug vs. non-debug mistakes in GSSLib and globals lib

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11214 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * kcmd.c (k4cmd): Move call to krb_realmofhost() to avoid smashing
Tom Yu [Tue, 23 Feb 1999 03:51:39 +0000 (03:51 +0000)]
* kcmd.c (k4cmd): Move call to krb_realmofhost() to avoid smashing
hp.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11213 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * kcmd.c (kcmd): Fix up to not call sname_to_principal until after
Tom Yu [Tue, 23 Feb 1999 03:28:28 +0000 (03:28 +0000)]
* kcmd.c (kcmd): Fix up to not call sname_to_principal until after
all the addresses in hp have been iterated through to avoid
smashing. [krb5-appl/516]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11211 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * telnetd.8: Document hostname logging changes
Tom Yu [Mon, 22 Feb 1999 23:28:29 +0000 (23:28 +0000)]
* telnetd.8: Document hostname logging changes

* telnetd.c: Add options to control logging of remote hostname to
login(1).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11208 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoRenamed globals lib fragments
Miro Jurisic [Sat, 20 Feb 1999 03:21:24 +0000 (03:21 +0000)]
Renamed globals lib fragments

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11207 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoMerging krb5globals fragments
Miro Jurisic [Sat, 20 Feb 1999 02:08:56 +0000 (02:08 +0000)]
Merging krb5globals fragments

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11203 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded deps for debug targets
Miro Jurisic [Sat, 20 Feb 1999 02:07:00 +0000 (02:07 +0000)]
Added deps for debug targets

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11202 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoGetDefaultCacheName returns length
Miro Jurisic [Sat, 20 Feb 1999 02:05:28 +0000 (02:05 +0000)]
GetDefaultCacheName returns length

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11201 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ccdefname.c (get_from_os): Add missing close-paren; also replace
Tom Yu [Sat, 20 Feb 1999 01:50:58 +0000 (01:50 +0000)]
* ccdefname.c (get_from_os): Add missing close-paren; also replace
#elif just in case.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11200 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoFixed makefile
Miro Jurisic [Sat, 20 Feb 1999 00:41:01 +0000 (00:41 +0000)]
Fixed makefile

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11199 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded globals lib to snapshot
Miro Jurisic [Sat, 20 Feb 1999 00:39:02 +0000 (00:39 +0000)]
Added globals lib to snapshot

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11198 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded k5 globals libs
Miro Jurisic [Sat, 20 Feb 1999 00:31:58 +0000 (00:31 +0000)]
Added k5 globals libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11197 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated for 1.5b5
Miro Jurisic [Sat, 20 Feb 1999 00:27:02 +0000 (00:27 +0000)]
Updated for 1.5b5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11196 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpped to 1.5b5
Miro Jurisic [Sat, 20 Feb 1999 00:26:44 +0000 (00:26 +0000)]
Upped to 1.5b5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11195 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded Krb5GlobalsLib and Krb5GlobalsDataLib sources
Miro Jurisic [Sat, 20 Feb 1999 00:26:13 +0000 (00:26 +0000)]
Added Krb5GlobalsLib and Krb5GlobalsDataLib sources

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11194 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoPreliminary implementation of CCAPI v2 added
Miro Jurisic [Sat, 20 Feb 1999 00:25:15 +0000 (00:25 +0000)]
Preliminary implementation of CCAPI v2 added

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11193 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded get_from_os for MacOS
Miro Jurisic [Sat, 20 Feb 1999 00:24:44 +0000 (00:24 +0000)]
Added get_from_os for MacOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11192 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoNow compiles on the Mac against CC API v2
Miro Jurisic [Sat, 20 Feb 1999 00:24:10 +0000 (00:24 +0000)]
Now compiles on the Mac against CC API v2

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11191 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoRemoved testtrack code
Miro Jurisic [Sat, 20 Feb 1999 00:23:30 +0000 (00:23 +0000)]
Removed testtrack code

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11190 dc483132-0cff-0310-8789-dd5450dbe970

25 years agotest_parse.c (main): Add a call to profile_verify_node so we can test
Theodore Tso [Fri, 19 Feb 1999 05:56:39 +0000 (05:56 +0000)]
test_parse.c (main): Add a call to profile_verify_node so we can test
the internal rep invariants.

prof_tree.c (profile_verify_node): Fix bug in profile_verify_node in
the group_level test.  Also make profile_verify_node check the return
code when it is recursively testing the child nodes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11189 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * configure.in: Add check for setluid()
Tom Yu [Fri, 19 Feb 1999 03:32:15 +0000 (03:32 +0000)]
* configure.in: Add check for setluid()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11187 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * Makefile.in (ksu): Add $(KSU_LIBS) in case we need -lsecurity
Tom Yu [Fri, 19 Feb 1999 03:31:52 +0000 (03:31 +0000)]
* Makefile.in (ksu): Add $(KSU_LIBS) in case we need -lsecurity

* main.c (main): Add call to setluid() on systems that have it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11186 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * configure.in: Add check for setluid
Tom Yu [Thu, 18 Feb 1999 23:35:23 +0000 (23:35 +0000)]
* configure.in: Add check for setluid

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11183 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ftpd.c (login): Add call to setluid() if necessary
Tom Yu [Thu, 18 Feb 1999 23:34:54 +0000 (23:34 +0000)]
* ftpd.c (login): Add call to setluid() if necessary

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11182 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoAdded debugging hooks to stdcc.c
Theodore Tso [Thu, 18 Feb 1999 04:28:12 +0000 (04:28 +0000)]
Added debugging hooks to stdcc.c

Added broadcast event notification of the krb5 cache changing, for backwards
compatibility with krb5.exe.

Added support for the V2 Ccache API.

In stdcc_util.c, replace the old matching algorithm with one that's closer
to the original stdcc and file algorithm, and so is provably correct.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11181 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoCommit the Windows version of the ccache dll and its interface header
Theodore Tso [Thu, 18 Feb 1999 04:23:55 +0000 (04:23 +0000)]
Commit the Windows version of the ccache dll and its interface header
file.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11180 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * sane_hostname.c (pty_make_sane_hostname): Remove unused
Tom Yu [Thu, 18 Feb 1999 00:57:34 +0000 (00:57 +0000)]
* sane_hostname.c (pty_make_sane_hostname): Remove unused
"char *scratch".

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11178 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * klogind.M: Document things a little better, including new
Tom Yu [Wed, 17 Feb 1999 22:26:33 +0000 (22:26 +0000)]
* klogind.M: Document things a little better, including new
options controlling hostname manipulation.

* krlogind.c: Make use of pty_make_sane_hostname() for purposes of
manipulating hostname to pass to login.  Also unconditionally
syslog IP address and full hostname of remote host.  Add command
line options to control such behavior.

* configure.in: Add arpa/nameser.h to CHECK_HEADERS.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11176 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * do_as_req.c (process_as_req): Fix to assign kvno to
Tom Yu [Wed, 17 Feb 1999 22:23:23 +0000 (22:23 +0000)]
* do_as_req.c (process_as_req): Fix to assign kvno to
reply.enc_part after encryption, since krb5_c_encrypt() now
explicitly initializes all fields of a krb5_enc_data.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11175 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * sane_hostname.c: Re-order so that pty-int.h precedes libpty.h to
Tom Yu [Wed, 17 Feb 1999 01:19:28 +0000 (01:19 +0000)]
* sane_hostname.c: Re-order so that pty-int.h precedes libpty.h to
prevent conflicting definitions of struct sockaddr_in

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11174 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * ftpd.c: strcat -> strncat
Tom Yu [Sat, 13 Feb 1999 02:12:29 +0000 (02:12 +0000)]
* ftpd.c: strcat -> strncat

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11172 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * sane_hostname.c: Force maxlen to be 16 if it's less than 16,
Tom Yu [Fri, 12 Feb 1999 04:11:11 +0000 (04:11 +0000)]
* sane_hostname.c: Force maxlen to be 16 if it's less than 16,
since otherwise a numeric IP address won't fit.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11169 dc483132-0cff-0310-8789-dd5450dbe970

25 years agobump minor version
Tom Yu [Fri, 12 Feb 1999 03:45:21 +0000 (03:45 +0000)]
bump minor version

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11168 dc483132-0cff-0310-8789-dd5450dbe970

25 years ago * Makefile.in: Add sane_hostname.{o,c}
Tom Yu [Fri, 12 Feb 1999 03:26:27 +0000 (03:26 +0000)]
* Makefile.in: Add sane_hostname.{o,c}

* libpty.h: Add prototype for make_sane_hostname.

* sane_hostname.c: New file; add function to "sanitize" hostname
for logging purposes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11165 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoUpdated to include the domain_realm lines needed for ECAT
Theodore Tso [Thu, 11 Feb 1999 22:16:59 +0000 (22:16 +0000)]
Updated to include the domain_realm lines needed for ECAT

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11164 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoenc_des.c (fb64_session): Call des_init_random_number_generator
Theodore Tso [Tue, 9 Feb 1999 03:16:04 +0000 (03:16 +0000)]
enc_des.c (fb64_session): Call des_init_random_number_generator
instead of des_set_random_generator_seed, since the compatibility
library no longer supports the latter call.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11163 dc483132-0cff-0310-8789-dd5450dbe970