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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Theodore Tso [Tue, 9 Feb 1999 03:15:30 +0000 (03:15 +0000)]
winexclude.sed: Add .dll and .lib files to the list of functions which
shouldn't get included in the non-binary list of files to be added to
kerbsrc.zip for the Windows build. (If .dll or .lib files need to be
included in the zip file, they must be added to the WINBINARYFILES
macro in the top-level Makefile.in)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11162
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 03:12:52 +0000 (03:12 +0000)]
klist.c: Under Windows, #include winsock.h instead of sys/socket.h and
netdb.h
Makefile.in: Under Windows, link against wsock32.lib to get
gethostbyaddr().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11161
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 03:11:22 +0000 (03:11 +0000)]
kinit.c: If unistd.h is not available, use manual definitions for
getopt, optarg, and optind. (For Windows).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11160
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 03:09:22 +0000 (03:09 +0000)]
Makefile.in: Link in the ccapi import library under windows
krb5_16.def, krb5_32.def: Added a number of miscellaneous functions to
the DLL exports list so that things build under Windows again.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11159
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:57:14 +0000 (02:57 +0000)]
rd_req.c (krb_rd_req): Add appropriate #ifdef so that this code
compiles cleanly when KRB4_USE_KEYTAB is not defined.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11158
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:56:13 +0000 (02:56 +0000)]
Fix bad comment terminator in stdcc_util.c which was stopping it from compiling
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11157
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:55:34 +0000 (02:55 +0000)]
Makefile.in: Enable the ccapi directory for windows builds
ccdefops.c: Make the ccapi the default ccache type for Windows machines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11156
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:51:46 +0000 (02:51 +0000)]
krb5.hin (krb5_get_realm_domain): Add appropriate modifiers so that
this function can get exported in a Windows DLL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11155
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:50:11 +0000 (02:50 +0000)]
ccdefname.c (get_from_os): On the Windows platform, automatically
generate the correct default cache name based on what krb5_cc_dfl_ops
is set to.
realm_dom.c (krb5_get_realm_domain): Add modifiers so that this
function can get exported in a Windows DLL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11154
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:47:06 +0000 (02:47 +0000)]
(Forgot to check in ChangeLog earlier...)
prof_tree.c (profile_node_iterator): Added comments indicating that
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@11153
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:46:00 +0000 (02:46 +0000)]
information in it. (It's still not perfect!)
readme: Update readme file so that it doesn't have obviously incorrect
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11152
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 9 Feb 1999 02:44:22 +0000 (02:44 +0000)]
Makefile.in: Change Windows kerbsrc.zip target so this now does what
kerbsrc-nt.zip used to do. We no longer support building krb5 on
systems with 8.3 limitations. Also allow binary files in windows/lib
to be included into kerbsrc.zip file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11151
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 5 Feb 1999 05:31:17 +0000 (05:31 +0000)]
Initial rototilling of these functions to make them more krb5 library
API compliant.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11149
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 Feb 1999 07:53:43 +0000 (07:53 +0000)]
Initial commit of massively modified stdcc functions to make them somewhat
closer to correct.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11148
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 Feb 1999 04:43:25 +0000 (04:43 +0000)]
auth.c (auth_send): Increase size of buf so we can handle mongo-gram
sized tickets from Microsoft. [telnet/686]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11144
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 Feb 1999 04:42:54 +0000 (04:42 +0000)]
state.c: Increase size of subbufer so that we don't truncate
mongo-gram tickets from Microsoft. [telnet/688]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11143
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 4 Feb 1999 04:42:22 +0000 (04:42 +0000)]
kerberos5.c: Increase size of str_data so that we can accept
mongo-gram tickets from Microsoft. [telnet/686]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11142
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 2 Feb 1999 21:03:16 +0000 (21:03 +0000)]
* read_pwd.c: Remove reference to CPP symbol "unix"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11141
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 2 Feb 1999 04:27:33 +0000 (04:27 +0000)]
ccdefname.c: Add a new function krb5_cc_set_default_name(), which is
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
Theodore Tso [Tue, 2 Feb 1999 04:25:20 +0000 (04:25 +0000)]
k5-int.h: Add an entry to the os_context to store the default ccache
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
Tom Yu [Tue, 2 Feb 1999 00:43:45 +0000 (00:43 +0000)]
* et_c.awk: Fix to not depend on CPP symbol "unix"
* 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
Theodore Tso [Fri, 29 Jan 1999 01:07:32 +0000 (01:07 +0000)]
trval.c: Now understands krb5 structure elements
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
Tom Yu [Wed, 27 Jan 1999 22:11:05 +0000 (22:11 +0000)]
* configure.in: Fix typo so that lib/crypto actually gets
configured.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11135
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Jan 1999 07:34:40 +0000 (07:34 +0000)]
Added missing #include of termios.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11134
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Jan 1999 07:12:49 +0000 (07:12 +0000)]
listen.c (print_prompt): Replace BSD-style ioctl with termios interface
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11133
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Jan 1999 06:04:47 +0000 (06:04 +0000)]
Makefile.in, configure.in: Move the responsibility for generating
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
Theodore Tso [Wed, 27 Jan 1999 05:49:36 +0000 (05:49 +0000)]
configure.in: Remove test CHECK_WAIT_TYPE since nothing is using the
results of that test (WAIT_USES_INT).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11131
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Jan 1999 05:22:07 +0000 (05:22 +0000)]
kdc_preauth.c (check_padata): If preauth fails because the preauth
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
Theodore Tso [Wed, 27 Jan 1999 05:14:25 +0000 (05:14 +0000)]
localaddr.c: On the macintosh, check to see if getmyipaddr returns
NULL, and return an error in that case.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11129
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Jan 1999 04:53:45 +0000 (04:53 +0000)]
Makefile.in: Add ccapi to the include path so we can find stdcc.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11128
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Jan 1999 03:15:02 +0000 (03:15 +0000)]
wconfig.c: Updated to be more featureful. It will now save the
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
Miro Jurisic [Tue, 26 Jan 1999 20:59:23 +0000 (20:59 +0000)]
Upped to 1.1b4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11126
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 26 Jan 1999 20:56:14 +0000 (20:56 +0000)]
Reelase notes update; Makefile.tmpl fixes to make debugging version link against debugging C and runtime libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11125
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Jan 1999 23:47:01 +0000 (23:47 +0000)]
* prof_tree.c (profile_node_iterator): Added comments indicating that
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
Miro Jurisic [Fri, 22 Jan 1999 21:53:06 +0000 (21:53 +0000)]
Uppder version to 1.1b3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11123
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 22 Jan 1999 21:31:50 +0000 (21:31 +0000)]
Fixed typo in SRCS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11122
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 22 Jan 1999 21:30:41 +0000 (21:30 +0000)]
Added realms from Athena krb5.conf
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11121
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 22 Jan 1999 21:21:42 +0000 (21:21 +0000)]
Resource chain mangling fix
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11120
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 22 Jan 1999 21:21:12 +0000 (21:21 +0000)]
_MACINTOSH -> macintosh
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11119
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 22 Jan 1999 08:53:16 +0000 (08:53 +0000)]
trval.c: Added usage message, better options parsing, and support for
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
Theodore Tso [Fri, 22 Jan 1999 05:55:04 +0000 (05:55 +0000)]
netbsd1.def (UTMP_FILE, WTMP_FILE): Update filenames to comply with
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
Theodore Tso [Fri, 22 Jan 1999 05:12:52 +0000 (05:12 +0000)]
krb5.tex (krb5_mk_safe): Fix reference to a non-existent flag.
(KRB5_AUTH_CONTEXT_DO_TIME_NOTIME should have been
KRB5_AUTH_CONTEXT_DO_TIME). [krb5-doc/528]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11116
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Jan 1999 20:24:58 +0000 (20:24 +0000)]
krb5.hin: Fix realm iterator prototypes so that they use
KRB5_PROTOTYPE, and surround them with extern "C" so things work under
C++.
\aCVS: ----------------------------------------------------------------------
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11115
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Jan 1999 20:24:39 +0000 (20:24 +0000)]
krb5.hin: Fix realm iterator prototypes so that they use
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
Theodore Tso [Thu, 21 Jan 1999 20:23:04 +0000 (20:23 +0000)]
profile.hin: Fix definition of PROTOYPE so that it works under C++
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11113
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 21 Jan 1999 02:44:00 +0000 (02:44 +0000)]
* login.c (main): Call setluid()
* 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
Miro Jurisic [Wed, 20 Jan 1999 23:49:43 +0000 (23:49 +0000)]
Version 1.1b1, changed CFM fragment version numbers and tweaked makefile.initial
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11110
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 19 Jan 1999 19:42:19 +0000 (19:42 +0000)]
Changes to krb5.ini to default to single DES TGT (3DES is hosed); added 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
Scott McGuire [Wed, 13 Jan 1999 16:00:59 +0000 (16:00 +0000)]
Updating Mac CCache library implementation includes and bins to latest
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11108
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Jan 1999 23:27:13 +0000 (23:27 +0000)]
* Makefile.in (CFLAGS): PW_CHECK functionality now in DEFS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11106
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Jan 1999 23:26:44 +0000 (23:26 +0000)]
* configure.in: Define NDBM_PW_CHECK if enable_athena is set to
deal with v4kadmind kludge.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11105
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Wed, 6 Jan 1999 22:45:07 +0000 (22:45 +0000)]
Remove inappropriate cc_shutdown() call from krb5_cc_destroy()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 5 Jan 1999 06:39:40 +0000 (06:39 +0000)]
cns.c (position_dialog): If the registry position for the window is
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
Theodore Tso [Tue, 5 Jan 1999 05:39:44 +0000 (05:39 +0000)]
sn2princ.c (krb5_sname_to_principal): Windows NT5's broken resolver
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
Theodore Tso [Tue, 5 Jan 1999 05:39:07 +0000 (05:39 +0000)]
changepw.c: Add a test for _WIN16 as well as _WIN32 for sockets
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
Tom Yu [Tue, 5 Jan 1999 05:15:28 +0000 (05:15 +0000)]
* configure.in (withval): Conditinalize ATHENA_DES3_KLUDGE on
--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
Tom Yu [Tue, 5 Jan 1999 05:14:54 +0000 (05:14 +0000)]
* make_checksum.c (krb5_c_make_checksum): Note the fact that we're
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
Tom Yu [Tue, 5 Jan 1999 05:14:31 +0000 (05:14 +0000)]
* dk.h: Add prototypes for krb5_marc_dk_*
* 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
Theodore Tso [Sat, 2 Jan 1999 06:38:49 +0000 (06:38 +0000)]
prof_tree.c (profile_node_iterator): Make sure the pointer to the
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
Sam Hartman [Sun, 27 Dec 1998 02:53:59 +0000 (02:53 +0000)]
Temporary patch for krb5-appl/678; avoid data from stdout being mixed to stderr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11095
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 22 Dec 1998 04:10:08 +0000 (04:10 +0000)]
gss-server.c (test_import_export_context): Fix memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11094
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 22 Dec 1998 04:09:37 +0000 (04:09 +0000)]
accept_sec_context.c (krb5_gss_accept_sec_context): Eliminate double
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
Tom Yu [Wed, 16 Dec 1998 21:16:33 +0000 (21:16 +0000)]
* old_decrypt.c (krb5_old_decrypt): Initialize the ivec to the key
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
Tom Yu [Fri, 11 Dec 1998 03:16:50 +0000 (03:16 +0000)]
* old_decrypt.c (krb5_old_decrypt): Actually compare the
calculated checksum against the provided checksum.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11091
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 7 Dec 1998 20:20:38 +0000 (20:20 +0000)]
* svr_principal.c (kadm5_randkey_principal_3): Fix typo in
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
Tom Yu [Mon, 7 Dec 1998 00:46:32 +0000 (00:46 +0000)]
* krb54proto.h: Fix decomp_tkt_krb5 to use KRB4_32, instead of a
nonexistent type.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11089
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 21:39:30 +0000 (21:39 +0000)]
krb.h: Add prototypes for krb_set_key() and decomp_ticket()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11088
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 21:38:08 +0000 (21:38 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 21:32:13 +0000 (21:32 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
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
Theodore Tso [Sat, 5 Dec 1998 06:52:28 +0000 (06:52 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
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
Theodore Tso [Sat, 5 Dec 1998 06:51:49 +0000 (06:51 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11084
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:45:51 +0000 (06:45 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11083
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:31:28 +0000 (06:31 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11082
dc483132-0cff-0310-8789-
dd5450dbe970