Richard Basch [Thu, 11 Apr 1996 00:36:19 +0000 (00:36 +0000)]
Mostly output formatting fixes.
Also, rather than figuring out the default host key, leave it to the library.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7787
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Thu, 11 Apr 1996 00:34:56 +0000 (00:34 +0000)]
Small fix in case anyone tries compiling without the keytab fallback
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7786
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Thu, 11 Apr 1996 00:32:22 +0000 (00:32 +0000)]
* rd_svc_key.c (read_service_key): First try to read the V4
service key from the V4 srvtab, and if it fails, try the keytab.
A * instance will be translated into the default instance component
(usually the FQDN of the local hostname).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7785
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 10 Apr 1996 22:26:40 +0000 (22:26 +0000)]
proven's ksu fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7784
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 10 Apr 1996 22:05:34 +0000 (22:05 +0000)]
oops, ted already got it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7783
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 10 Apr 1996 22:04:04 +0000 (22:04 +0000)]
actually build afsstring2key.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7782
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 10 Apr 1996 21:47:38 +0000 (21:47 +0000)]
Added afsstring2key.c to the list of files to be compiled
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7781
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 10 Apr 1996 19:39:56 +0000 (19:39 +0000)]
add meeting stuff
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7780
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 10 Apr 1996 14:45:09 +0000 (14:45 +0000)]
If make_ap_req() returns KRB5APP_TKT_EXPIRED, then return
GSS_S_CREDENTIALS_EXPIRED as the major return code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7779
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 10 Apr 1996 14:40:28 +0000 (14:40 +0000)]
Add prototype of new function
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7778
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 10 Apr 1996 14:39:36 +0000 (14:39 +0000)]
rd_req_dec.c (krb5_rd_req_decoded): Move code which validated the
ticket times to krb5_validate_times.
valid_times.c (krb5_validate_times): New function which determines
whether or not the ticket times are valid.
mk_req_ext.c (krb5_mk_req_extended): Call krb5_validate_time() to
determine whether or not the ticket in passed-in credentials is valid.
If it isn't, return an error right away.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7777
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 10 Apr 1996 14:22:33 +0000 (14:22 +0000)]
Fix #define of PROVIDE_DES_CBC_RAW so that the mac implementation
actually exported the raw DES encryption system (needed for GSSAPI).
Also added defines for the triple-DES encryption systems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7776
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 23:02:34 +0000 (23:02 +0000)]
add sam challenge and response test cases
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7775
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 23:00:06 +0000 (23:00 +0000)]
fix spelling error
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7774
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:57:14 +0000 (22:57 +0000)]
preauth.c: add SAM support
str_conv.c: add AFS3 support
init_ctx.c: add processing for default_tkt_enctypes, matching
default_tgs_enctypes but client-side (so as not to hard code it,
since hard coded values are usually wrong :-)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7773
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:52:06 +0000 (22:52 +0000)]
add sam-related error codes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7772
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:51:38 +0000 (22:51 +0000)]
add sam encoders, decoders, including "optional string" macros
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7771
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:50:28 +0000 (22:50 +0000)]
add afs3 salt support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7770
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:48:59 +0000 (22:48 +0000)]
document the afs3 salt tag
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7769
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:47:25 +0000 (22:47 +0000)]
add afsstring2key
hack des string2key to call it if salt.length is -1
initialize context in testsuite
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7768
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:46:22 +0000 (22:46 +0000)]
add transarc-afs cmu-style long-lived ticket timestamp support
handle clockskew properly
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7767
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:45:03 +0000 (22:45 +0000)]
add SAM preauth extensible snk4 support
add AFS3 preauth response and salt hooks
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7766
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:44:01 +0000 (22:44 +0000)]
unused, but afs3 hook added for completeness
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7765
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:43:21 +0000 (22:43 +0000)]
Ken's acl and hangup fixes
AFS3 salt support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7764
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:42:11 +0000 (22:42 +0000)]
add "extract snk4 key" function to get device keys out of the database
(easier than putting them in...)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7763
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:41:13 +0000 (22:41 +0000)]
add afs3 salttype value
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7762
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:40:49 +0000 (22:40 +0000)]
add SAM preauth values and prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7761
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 9 Apr 1996 22:40:18 +0000 (22:40 +0000)]
some fixes changes from marc. changelogs will be merged later
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7760
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 8 Apr 1996 19:34:12 +0000 (19:34 +0000)]
* rcp.exp: Invoke kshd with -L for every environment variable we
want passed to invoke rcp with...
We also tell kshd to pass on ENV_SET because at MIT,
csh -c rcp.... will source the users .cshrc - which at MIT sets
LD_LIBRARY_PATH on the SUNS... We cannot use other options like
-f as the user may have sh as their shell. Probably kshd should recognize
rcp and invoke rcp without the shell invocation....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7759
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 8 Apr 1996 18:11:11 +0000 (18:11 +0000)]
Check in comments from previous checkin
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7758
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 8 Apr 1996 03:07:31 +0000 (03:07 +0000)]
Major chanes to use the list of runtime environment variables as
indicated by configure. (i.e. do not assume that LD_LIBRARY_PATH is all
you need)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7754
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 8 Apr 1996 03:04:26 +0000 (03:04 +0000)]
* configure.in: Add KRB5_RUN_FLAGS
* Makefile.in (site.exp): Create site.exp with runtime environment
line from configure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7753
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 8 Apr 1996 02:47:37 +0000 (02:47 +0000)]
Add an option -L to pass an environment variable to a client.
This is used by the DejaGnu test suite to pass the shared library
paths to start up rcp properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7752
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 3 Apr 1996 22:31:15 +0000 (22:31 +0000)]
Removed a bogus dependency (if you try make depend)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7750
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 3 Apr 1996 22:24:03 +0000 (22:24 +0000)]
* krlogind.c: Under Solaris, when the connection pipe goes away,
zero bytes are returned. Since we are using blocking
read calls, and the net_read function deals with
interrupted/resumed reads, consider zero bytes to be
be a terminated connection, so as not to spin.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7749
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 2 Apr 1996 20:32:13 +0000 (20:32 +0000)]
Inlined list of source files for SRCS and OBJS (for Macintosh build)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7748
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 2 Apr 1996 20:21:30 +0000 (20:21 +0000)]
Makefile.in (SRCS): Inlined list of source files for SRCS and OBJS
(for Macintosh build).
k5mech.c: Added Macintosh #ifdef so that the #include path is right
for the Macintosh.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7747
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 1 Apr 1996 15:15:28 +0000 (15:15 +0000)]
Leading/trailing colons should not be there based on the variable usage.
Solaris test was incorrect.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7746
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 1 Apr 1996 15:11:43 +0000 (15:11 +0000)]
Whitespace cleanup for readability
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7745
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sun, 31 Mar 1996 03:57:48 +0000 (03:57 +0000)]
Took the list of sources and object files in FSRCS, FOBJS, D3OBJS, and
D3SRCS, and inlined them into the OBJS and SRCS list. This is
necessary so that the files are correctly picked up for the Macintosh
build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7744
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sun, 31 Mar 1996 03:56:14 +0000 (03:56 +0000)]
Inlined the list of et-build source files in SRCS, so that they are
correctly included in the Mac build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7743
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sun, 31 Mar 1996 03:54:57 +0000 (03:54 +0000)]
Removed crctest.c from the SRCS list, since it's only a test program
and it confuses the Macintosh build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7742
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sun, 31 Mar 1996 03:53:46 +0000 (03:53 +0000)]
Fixed comments describing the various checksum types. (Added numbers,
and fixed a mistake in a description of an undefined checksum type.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7741
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sun, 31 Mar 1996 03:47:07 +0000 (03:47 +0000)]
macfiles.sh: Add the C files which were used in the MACSRCS
definition, as well as the SRCS definition.
Makefile.tmpl (KH): Add KerberosHeaders.h to the dependencies for the
precompiled header.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7740
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Sat, 30 Mar 1996 00:18:40 +0000 (00:18 +0000)]
Added SunOS shared library support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7739
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Sat, 30 Mar 1996 00:18:05 +0000 (00:18 +0000)]
Added basic SunOS shared library support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7738
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 29 Mar 1996 01:38:42 +0000 (01:38 +0000)]
Makefile.in: support des3-cbc-raw
des3_md5.c: correct an abstraction violation
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7737
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 29 Mar 1996 01:33:59 +0000 (01:33 +0000)]
Added support for des3-cbc-raw (gssapi) and rsa-md5-des3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7736
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 29 Mar 1996 01:30:21 +0000 (01:30 +0000)]
Added support for ENCTYPE_DES3_CBC_RAW (gssapi)
des_int.h: added support for CKSUMTYPE_RSA_MD5_DES3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7735
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 29 Mar 1996 01:28:53 +0000 (01:28 +0000)]
Added support for CKSUMTYPE_RSA_MD5_DES3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7734
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 29 Mar 1996 01:26:56 +0000 (01:26 +0000)]
Added ENCTYPE_DES3_CBC_RAW (for gssapi)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7733
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 29 Mar 1996 01:21:10 +0000 (01:21 +0000)]
Added support for ENCTYPE_DES3_CBC_RAW (gssapi)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7732
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 28 Mar 1996 23:00:08 +0000 (23:00 +0000)]
Use new MacTCP Header files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7731
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 28 Mar 1996 22:59:21 +0000 (22:59 +0000)]
AddressXlation.h: Updated to use latest versions from the Apple's
MacTCP Universal Interface. (For PowerPC port).
MacTCP.h: New header file from Apple's Universal Interface
GetMyIPAddr.h, MacTCPCommonTypes.h, TCPPB.h, UDPPB.h: Removed old
MacTCP header files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7730
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 28 Mar 1996 22:56:46 +0000 (22:56 +0000)]
DNR.c: Replace eight-year-old version of this file with the latest
version from the Code Warrior MacTCP files.
macsock.c: Use new MacTCP header files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7729
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Mar 1996 23:53:40 +0000 (23:53 +0000)]
Don't use "-model far" when linking on the Power PC. It has no
meaning.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7724
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Mar 1996 23:52:26 +0000 (23:52 +0000)]
Use universal procedure pointers (UPP) which are necessary for the Mac
Power PC.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7723
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Mar 1996 23:48:41 +0000 (23:48 +0000)]
Use universal procedure pointers (UPP), which are required on the Mac
Power PC.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7722
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 27 Mar 1996 22:56:38 +0000 (22:56 +0000)]
DES modes are now interoperable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7721
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 27 Mar 1996 22:55:17 +0000 (22:55 +0000)]
* in_tkt_ktb.c (keytab_keyproc): Do not check to see that the
enctype of the key is identical; there are several equivalent
DES enctypes.
* in_tkt_ktb.c (krb5_get_in_tkt_with_keytab): Removed the fancy
logic to only request the keytypes that correspond to those in
the keytab. There were too many fencepost conditions that could
get you into trouble. Either it should be there and *fully*
functional, or not in there at all. Besides, there are too many
other components in Kerberos that expect the end-service to know
all its keys that this sanity check is overkill.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7720
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 27 Mar 1996 22:54:07 +0000 (22:54 +0000)]
Fixed an incorrect entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7719
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 27 Mar 1996 05:30:29 +0000 (05:30 +0000)]
* telnetd.c: remove inclusion of netdb.h; it's already in defs.h,
and #$%&* ultrix doesn't protect it from multiple
inclusions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7718
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Mar 1996 05:08:52 +0000 (05:08 +0000)]
Don't include <sys/types.h> mechglue.h will take care of this by
including gssapi.h, which will include sys/types.h if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7717
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Mar 1996 05:08:22 +0000 (05:08 +0000)]
Add #define of HAVE_STDLIB_H, since Macintoshes have it!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7716
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 26 Mar 1996 19:49:46 +0000 (19:49 +0000)]
Added imap service to the conversion list (it is used by some off-the-shelf
imap mail packages).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7715
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 26 Mar 1996 05:43:20 +0000 (05:43 +0000)]
* default.exp (start_kerberos_daemons): New methodology for
starting KDC so that the KDC will not hang on a full
output buffer which is being ignored.
(setup_kerberos_files): Enable des3 encryption types.
The first problem was seen on Suns where I previously set the logging
for the kdc to stderr, and then ignored the output after the server was
running.
The second exercised the bug that sam just fixed in mixing in the des3
encryption types.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7712
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 25 Mar 1996 21:44:07 +0000 (21:44 +0000)]
Add a couple missing log entries for stuff Mark checked in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7711
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 25 Mar 1996 16:19:38 +0000 (16:19 +0000)]
krshd.c: use the library routines to do v4 to v5 principal translation
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7710
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 25 Mar 1996 15:24:01 +0000 (15:24 +0000)]
Backed out the patch for const pointer reassignments; it was legal ANSI
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7709
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 25 Mar 1996 03:01:48 +0000 (03:01 +0000)]
Changes to help streams work correctly on AIX 4.1.4 and HPUX 9.
Adapted loosly from 1837 in krb5-bugs, although I ended up not using
any of Doug's code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7708
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 24 Mar 1996 20:31:55 +0000 (20:31 +0000)]
Implement _getpty handling for the SGI
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7707
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 24 Mar 1996 20:28:37 +0000 (20:28 +0000)]
* krshd no longer does non-blocking IO. It never really needed it
* krcp works correctly even if not all data is written in a single
request.
* Implement temporary patch to make sure des_outbuf is big enough.
Proven should be sending the Cygnus patch once he decides how to
handle this permanently.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7706
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 24 Mar 1996 20:23:45 +0000 (20:23 +0000)]
* Apply patch from Ken Raeburn to get telnetd compiling on the SGI
* Force telnetd not to use streams on the SGI; it doesn't support
pushing modules onto a pty.
* Remove old utmpx crud from sys_term.c because it was getting called
inadvertently, didn't compile on the SGI, and libpty already does
something reasonable with utmpx.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7705
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 24 Mar 1996 20:19:29 +0000 (20:19 +0000)]
Fix multiple enctype bug: the enctype for the eblock used to encrypt
the kdc request used the enctype of the tgt, not of the session key.
Considering that the request is encrypted in the session key of the
tgt, this is incorrect.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7704
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 22 Mar 1996 04:56:45 +0000 (04:56 +0000)]
do not bother building the old kadmin server (kadmin.old)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7703
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 22 Mar 1996 04:55:58 +0000 (04:55 +0000)]
krb5_get_in_tkt_with_keytab(): only request keytypes that have corresponding
entries in the keytab.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7702
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 22 Mar 1996 04:53:25 +0000 (04:53 +0000)]
all des enctypes are equivalent (interim checkin until I create a function
to check the key equivalency of two enctypes).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7701
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 22 Mar 1996 04:52:13 +0000 (04:52 +0000)]
bullet-proofing the code -- if the data contents are NULL, it would coredump
(I discovered this one because of another bug)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7700
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 22 Mar 1996 04:50:48 +0000 (04:50 +0000)]
new principals were being created with two keys, one of which the
key_data_ver=0 and had no valid data
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7699
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 22 Mar 1996 04:49:59 +0000 (04:49 +0000)]
use the library routines to do the v4 to v5 principal translation
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7698
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 05:18:00 +0000 (05:18 +0000)]
g_imp_sec_context.c (gss_import_sec_context):
g_exp_sec_context.c (gss_export_sec_context): Fix 16bit vs 32bit lint flame.
g_glue.c, g_initialize.c: Add include of string.h, as it is needed.
g_acquire_cred.c, g_inq_cred.c: Add include of time.h
g_rel_oid_set.c (gss_release_oid_set): Removed unused variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7695
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 04:39:12 +0000 (04:39 +0000)]
Don't compile this procedure, since it's not used. The mechanism glue
layer uses the krb5_gss_internal_relase_oid() function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7694
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 04:20:14 +0000 (04:20 +0000)]
walk_rtree.c (krb5_walk_realm_tree): Fix 16bit vs. 32bit error.
(cap_code should been a krb5_error_code, not an int!)
mk_cred.c (krb5_mk_ncred_basic): Fix windows lint flame.
get_in_tkt.c (krb5_get_in_tkt): Fix 16bit vs. 32bit error. (do_more
should not have been an int!)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7693
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 04:19:30 +0000 (04:19 +0000)]
Change type of pa_type field in krb5_pa_data to be krb5_preauthtype,
for consistency's sake.
Added prototype for krb5_copy_addr().
Change type of etype in krb5_etype_info_entry to be krb5_enctype, for
consistency's sake.
(More cleanup of windows 16bit vs. 32bit)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7692
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 04:17:29 +0000 (04:17 +0000)]
Decode pa_type in the krb5_pa_data structure as a krb5_int32, since it
is now type krb5_preauthtype.
Decode etype in the krb5_etype_info_entry as krb5_enctype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7691
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 03:51:25 +0000 (03:51 +0000)]
Added prototype of krb5_scc_skip_header to fix Windows lint flames
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7690
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 03:50:58 +0000 (03:50 +0000)]
Added prototype of krb5_fcc_skip_header to fix Windows lint flames
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7689
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 03:44:10 +0000 (03:44 +0000)]
Fix 16 bit vs. 32bit error in the encoded timestamp structure
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7688
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 03:40:28 +0000 (03:40 +0000)]
Fix Windows lint flames. (16bit vs. 32bit issues)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7687
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 01:36:03 +0000 (01:36 +0000)]
Comment out #ident line. This causes the Macintosh C compiler
indigestion. Remove #include of gssapi/gssapi.h, since that gets
included by gssapiP_generic.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7686
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 21 Mar 1996 01:35:02 +0000 (01:35 +0000)]
mechglue.h: Don't include <sys/types.h>; it's included if necessary in
gssapi/gssapi.h. On a Macintosh, #include gssapi.h instead of
gssapi/gssapi.h.
g_accept_sec_context.c, g_acquire_cred.c, g_compare_name.c,
g_context_time.c, g_delete_sec_context.c, g_dsp_name.c,
g_dsp_status.c, g_exp_sec_context.c, g_glue.c, g_imp_name.c,
g_imp_sec_context.c, g_indicate_mechs.c, g_init_sec_context.c,
g_initialize.c, g_inq_context.c, g_inq_cred.c, g_inq_names.c,
g_process_context.c, g_rel_buffer.c, g_rel_cred.c, g_rel_name.c,
g_rel_oid_set.c, g_seal.c, g_sign.c, g_unseal.c, g_verify.c,
gssd_pname_to_uid.c, mechglue.h, mglueP.h: Comment out #ident line.
This causes the Macintosh C compiler indigestion.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7685
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 20:16:26 +0000 (20:16 +0000)]
* Makefile (clean): Remove *.info-? now
* install.texi: Changes to allow emacs M-X texinfo-format-buffer
to work. (The problem was @item used within @enumerate).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7684
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 20 Mar 1996 05:19:49 +0000 (05:19 +0000)]
Fix SRCS definition so that it doesn't fool the Macintosh macfiles.sh
Makefile generation script.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7682
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 20 Mar 1996 05:18:11 +0000 (05:18 +0000)]
macfiles.sh: Improved matching of the SRCS declaration. It must not
be commented out; it must start on the first column of the line.
Makefile.tmpl (KH): Fix typos in Dan's original template.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7681
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 04:11:57 +0000 (04:11 +0000)]
Add kdc_preauth.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7680
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 04:08:46 +0000 (04:08 +0000)]
Remove no longer relevant ksu.1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7679
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 02:24:01 +0000 (02:24 +0000)]
* des_crc.c (mit_des_crc_decrypt_func): Add const to pointer
cast for suncc warning.
Update .Saintize as well to reflect reality
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7678
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 02:22:22 +0000 (02:22 +0000)]
* new_rn_key.c (mit_des_generate_random_block): Add const keywrod
to cast for suncc warning.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7677
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 02:17:26 +0000 (02:17 +0000)]
ustime.c was renamed to c_ustime.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7676
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Mar 1996 02:15:05 +0000 (02:15 +0000)]
Add keytab.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7675
dc483132-0cff-0310-8789-
dd5450dbe970