John Gilmore [Mon, 23 Jan 1995 02:21:48 +0000 (02:21 +0000)]
* preauth.h, rsa-md5.h: Protect against multiple inclusion
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4832
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:58:15 +0000 (03:58 +0000)]
Fix use of connected sockets; previously krb5_sendto_kdc only used one
socket per address family. This doesn't work; it now uses one socket
per address. (krb5-bugs #938)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4831
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:52:36 +0000 (03:52 +0000)]
Modify getopt args so that the 'M' option takes an argument, as it's
supposed to. (krb5 bugs 984)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4830
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:25:16 +0000 (03:25 +0000)]
If gethostbyname returns an error, exit after printing an error message
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4829
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:11:44 +0000 (03:11 +0000)]
Add missing context variable when compiling with V4 compatibility
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4828
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:09:37 +0000 (03:09 +0000)]
Added convert changes to kdb5_convert.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4827
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:04:43 +0000 (03:04 +0000)]
Add context changes to dumpv4.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4826
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:02:48 +0000 (03:02 +0000)]
Make global_context a static variable and initialize it automatically
if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4825
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:02:16 +0000 (03:02 +0000)]
Fixed bugs in introduction of context variables; if the global context is
not initialized, initialize it automatically. Initialize the connection
context's krb5_context varaible in init_security_context and
accept_security_context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4824
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 02:46:40 +0000 (02:46 +0000)]
Oops in previous memory freeing fixes; was a bit too agressive freeing things
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4823
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 23:55:49 +0000 (23:55 +0000)]
* krlogind.c (v4_des_read, v5_des_read): When reading length,
ignore everything before a leading zero (MSB first "reasonable"
value) to compensate for rlogin (mis)use of BSD-OOB data.
* krlogin.c (des_read): same code (in both versions of des_read.)
rlogin -x should be much more reliable now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4822
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:15:44 +0000 (06:15 +0000)]
it belongs here instead
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4821
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:15:13 +0000 (06:15 +0000)]
this doesn't belong here
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4820
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:11:31 +0000 (06:11 +0000)]
* configure.in: undo streams test. It turns out that we want sunos
to *fail* that test, since it doesn't have a streams PTEM module
anyhow.
* krlogind.c: don't include sys/tty.h and sys/ptyvar.h if we don't
HAVE_STREAMS already.
* krlogin.c: do the same thing.
most of the files in appl/bsd should probably include one common
"system headers" include, since they duplicate so much (and not
consistently at that.) krlogind now works on SunOS 4.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4819
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:04:14 +0000 (06:04 +0000)]
fix tab vs. space glitch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4818
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 22:15:08 +0000 (22:15 +0000)]
Acually move init_ctx.c to init_os_ctx.c in the CVS repository and also
rename the routine krb5_free_os_context() to krb5_os_free_context().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4817
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 22:07:17 +0000 (22:07 +0000)]
Auto configure changes. I didn't do anything
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4816
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 22:05:49 +0000 (22:05 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_*() routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:50:24 +0000 (21:50 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_*() routines.
Fixed krlogin to use htons(debug_port).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4814
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:47:20 +0000 (21:47 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines throughout the tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4813
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:30:09 +0000 (21:30 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4812
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:25:00 +0000 (21:25 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines.
Moved init_ctx.c to init_os_ctx.c because a library cannot
have more than on file with the same name. See krb5/krb/init_ctx.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4811
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:21:42 +0000 (21:21 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4810
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:19:08 +0000 (21:19 +0000)]
Removed all references to DECLARG and OLDDECLARG
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4809
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:13:02 +0000 (21:13 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4808
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 13 Jan 1995 12:52:16 +0000 (12:52 +0000)]
fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4807
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 13 Jan 1995 12:51:38 +0000 (12:51 +0000)]
* Makefile.in (install): constructed headers come from the build
tree, not the source tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4806
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 11 Jan 1995 20:28:48 +0000 (20:28 +0000)]
* configure.in (K4LIB): fix quoting so $(KRB4) actually survives
to the Makefile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4805
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 11 Jan 1995 07:16:51 +0000 (07:16 +0000)]
* logutil.c (update_wtmp): declare missing variables if
HAVE_SETUTENT isn't set.
(update_utmp): declare tty at top of function.
Now the whole tree builds under raw sunos, native cc (still needs gnumake
though)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4804
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 11 Jan 1995 00:44:56 +0000 (00:44 +0000)]
* krlogin.c (doit): use exit_handler for signal exits, don't use
exit directly.
(exit_handler): new function, avoids type collision from misusing
exit directly as a signal handler.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4803
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 10 Jan 1995 20:31:49 +0000 (20:31 +0000)]
* configure.in: Streams test needs to include sys/types.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4802
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 10 Jan 1995 20:24:10 +0000 (20:24 +0000)]
* krsh.c: Include sys/time.h (linux)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4801
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 10 Jan 1995 02:51:06 +0000 (02:51 +0000)]
* kcmd.c, krlogin.c, krcp.c: Always include fcntl.h, and never
sys/fcntl.h.
* krshd.c: Always define the Kerberos V4 data structures.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4800
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 10 Jan 1995 00:29:55 +0000 (00:29 +0000)]
gss_display_name() should return a name type OID, not a mechanism OID
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4799
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Jan 1995 22:10:04 +0000 (22:10 +0000)]
Changed kerberos5 and kerberos4 port names to kerberos and kerberos-sec
Add a comment about why you might want to switch the definitions of
kerberos and kerberos-sec under some circumstances.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4798
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Jan 1995 22:03:26 +0000 (22:03 +0000)]
Use the service names kerberos and kerberos-sec, instead of kerberos5
and kerberos4 --- the official port name is kerberos, after all!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4797
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 3 Jan 1995 21:58:41 +0000 (21:58 +0000)]
kcmd.c, krsh.c, krshd.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4794
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 3 Jan 1995 21:58:14 +0000 (21:58 +0000)]
Removed a debugging statement (which could compromise the eblock)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4793
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 3 Jan 1995 21:57:51 +0000 (21:57 +0000)]
Tidied up the comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4792
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 3 Jan 1995 21:57:28 +0000 (21:57 +0000)]
Removed old sgi code (it has POSIX signals)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4791
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 3 Jan 1995 02:52:31 +0000 (02:52 +0000)]
* krsh.c
* krshd.c
Added encrypted rsh support.
It still isn't entirely secure; as the command-line could
be spoofed by an active attack, but the data sharing is...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4790
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 2 Jan 1995 19:45:48 +0000 (19:45 +0000)]
mailquery.c: Issue QUIT pop command when done retrieving messges
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4789
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 2 Jan 1995 18:34:05 +0000 (18:34 +0000)]
krlogind.c, krshd.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4788
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 2 Jan 1995 18:33:47 +0000 (18:33 +0000)]
Ultrix doesn't have a fully functional POSIX termios
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4787
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 2 Jan 1995 18:33:26 +0000 (18:33 +0000)]
Cleaned up some of the #ifdef's and code duplication.
Fixed decl. of return variable for getopt() [int not char]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4786
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Sat, 31 Dec 1994 01:14:14 +0000 (01:14 +0000)]
krlogin.c: Don't need to #undef _BSD for AIX anymore (no more BSD dependencies)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4785
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Sat, 31 Dec 1994 00:49:31 +0000 (00:49 +0000)]
* Makefile.in
Fixed man page installation when build tree != source tree
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4784
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 30 Dec 1994 23:42:13 +0000 (23:42 +0000)]
* configure.in
No need to do the fcntl check
Changed GETPGRP_ONEARG detection (and assign it when it
takes one argument, not void).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4783
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 30 Dec 1994 23:40:17 +0000 (23:40 +0000)]
* logutil.c
* login.c
Tidied up the code a bit.
Do not rely on NO_UT_TYPE (it has problems with AIX headers)
* krlogind.c
Tidied up the code a bit.
Set the controlling tty for Ultrix
Do not rely on NO_UT_TYPE (it has problems with AIX headers)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4782
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 30 Dec 1994 22:06:57 +0000 (22:06 +0000)]
* aclocal.m4
CHECK_UTMP needs to #include <sys/types.h> for its tests
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4781
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Fri, 30 Dec 1994 04:38:18 +0000 (04:38 +0000)]
configure.in: Removed extraneous characters
krlogind.c: Try all the forms of tty access (for most types of machines)
logutil.c: Corrected conditionalization for ut_pid.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4780
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Thu, 29 Dec 1994 15:17:28 +0000 (15:17 +0000)]
* krlogind.c
* logutil.c
Conditionalized references to ut_type.
* krlogind.c
* configure.in
Conditionalize grantpt/unlockpt on HAVE_GRANTPT
(added check to configure.in)
* krlogind.c
Try all the pty master devices. Other systems frequently
use the same names.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4779
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Thu, 29 Dec 1994 06:48:24 +0000 (06:48 +0000)]
* krlogind.c:
More error checking for Solaris tty setup routines (grantpt/unlockpt)
Commented out the OOB code, as it causes problems currently.
Cleaned up some of the #ifdef's for logging incoming users
Removed extraneous declaration of malloc()
Pass a "" for the hostname rather than NULL to update_utmp.
Some additional cosmetic changes.
Included/excluded #ifdef SYSV code (SYSV is not defined anywhere)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4778
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 23:30:34 +0000 (23:30 +0000)]
* krlogin.c
* krlogind.c
* krsh.c
* krshd.c
Corrected the arguments to select, based on sizeof fd_set.
Converted what remained to use FD_* macros, instead of bitshift
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4777
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 22:13:00 +0000 (22:13 +0000)]
Fixed a couple more syntactical errors with shadow passwords (now works)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4776
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 22:08:02 +0000 (22:08 +0000)]
Corrected logic for shadow password tests
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4775
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 21:57:34 +0000 (21:57 +0000)]
login.c, configure.in, logutil.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4774
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 21:57:02 +0000 (21:57 +0000)]
Renamed HAS_SHADOW to HAVE_SHADOW
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4773
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 21:51:29 +0000 (21:51 +0000)]
Removed a reference to CBAUD that caused compilation errors
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4772
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 21:38:21 +0000 (21:38 +0000)]
Changed uid_type to uid_t, gid_type to gid_t
Added shadow password support
Always use cfset*speed when POSIX_TERMIOS is defined
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4771
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 20:56:30 +0000 (20:56 +0000)]
logutil.c, configure.in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4770
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 20:55:25 +0000 (20:55 +0000)]
Added caching to some of the local tests.
Added shadow password support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4769
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 20:05:27 +0000 (20:05 +0000)]
Corrected the arguments to updwtmpx, and getutxid
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 19:59:29 +0000 (19:59 +0000)]
Changed the PATH for looking for BSD r* commands
Use AC_TRY_LINK instead of AC_TRY_COMPILE for the setenv test.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4767
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 18:56:09 +0000 (18:56 +0000)]
* configure.in
Don't bother checking for sys/stream.h; done elsewhere
Look for the function ptsname.
* logutil.c
Search to the proper position in the utmp/utmpx files.
* krlogind.c
Revamped the tty setup routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4766
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 18:55:59 +0000 (18:55 +0000)]
* krlogind.c
Revamped the tty setup routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4765
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 18:55:37 +0000 (18:55 +0000)]
* logutil.c
Search to the proper position in the utmp/utmpx files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4764
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Wed, 28 Dec 1994 18:55:09 +0000 (18:55 +0000)]
* configure.in
Don't bother checking for sys/stream.h; done elsewhere
Look for the function ptsname.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4763
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 19:48:53 +0000 (19:48 +0000)]
Tue Dec 27 14:42:15 1994 Richard Basch (probe@tardis)
* krlogin.c
Cleaned up some of the includes
* krlogind.c
* krshd.c
* logutil.c
* login.c
Revamped the utmp/wtmp handling routines
* Makefile.in
Fixed the "krlogin" program define for "krsh"
* configure.in
Changed the HAVE_STREAMS macro to not try <sys/tty.h>
Corrected the text for the setpgrp arguments check
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4762
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 19:48:34 +0000 (19:48 +0000)]
* configure.in
Changed the HAVE_STREAMS macro to not try <sys/tty.h>
Corrected the text for the setpgrp arguments check
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4761
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 19:48:07 +0000 (19:48 +0000)]
Revamped the utmp/wtmp handling
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4760
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 19:47:11 +0000 (19:47 +0000)]
* krlogin.c
Cleaned up some of the includes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4759
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 19:46:44 +0000 (19:46 +0000)]
* krlogind.c
* logutil.c
* login.c
Revamped the utmp/wtmp handling routines
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4758
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 19:46:05 +0000 (19:46 +0000)]
* Makefile.in
Fixed the "krlogin" program define for "krsh"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4757
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 11:45:05 +0000 (11:45 +0000)]
* krlogind.c
Use the file descriptor macros (eg. FD_SET) to handle fd arrays
Change #ifdef STREAMS to #ifdef HAVE_STREAMS
Started to add SYS-V utmp handling
Ripped out the old termio code.
Include <unistd.h> and <stdlib.h> where available.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4756
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 11:22:40 +0000 (11:22 +0000)]
aclocal.m4:
Combined KRB5_UT* macros into CHECK_UTMP macro (with additional checks)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4755
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 11:17:20 +0000 (11:17 +0000)]
configure.in:
Combined KRB5_UT* macros into CHECK_UTMP macro, and added more checks.
Changed AC_COMPILE_CHECK macros to AC_MSG_CHECKING/AC_TRY_COMPILE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4754
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 27 Dec 1994 11:15:03 +0000 (11:15 +0000)]
Combined KRB5_UTPID, KRB5_UTTYPE, and KRB5_UTHOST into CHECK_UTMP macro.
Files affected: aclocal.m4, kadmin/kpasswd/configure.in, appl/bsd/configure.in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4753
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 26 Dec 1994 23:47:15 +0000 (23:47 +0000)]
Removed the hard-coded paths for the BSD rlogin/rcp/rsh programs.
Let "configure" find the programs for us...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4752
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Mon, 26 Dec 1994 18:54:47 +0000 (18:54 +0000)]
Removed the hard-coded paths for the BSD rlogin/rcp/rsh programs.
Let "configure" find the programs for us...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4751
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 24 Dec 1994 03:55:32 +0000 (03:55 +0000)]
Add a enc_part2 member to the krb5_cred structure which may point to the
unecrypted version, if it's available.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4750
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 23 Dec 1994 02:06:37 +0000 (02:06 +0000)]
fixes as per OV suggestions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4749
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 22 Dec 1994 21:34:01 +0000 (21:34 +0000)]
configure.in:
strcasecmp.c: Add strcasecmp replacement if necessary.
daemon.c:
memmove.c: Add #include for <sys/types.h>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4748
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 22 Dec 1994 20:47:43 +0000 (20:47 +0000)]
Add test for uid_t
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4747
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 22 Dec 1994 17:25:05 +0000 (17:25 +0000)]
Change the type of krb5_context to include the pointer
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4746
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 21 Dec 1994 23:31:24 +0000 (23:31 +0000)]
Fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4745
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 04:17:56 +0000 (04:17 +0000)]
New function which support krb5_init_os_context and krb5_free_os_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4744
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 02:57:21 +0000 (02:57 +0000)]
Add support for krb5_init_os_context and krb5_free_os_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4743
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 02:56:23 +0000 (02:56 +0000)]
Add support for krb5_init_context and krb5_free_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4742
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 02:55:10 +0000 (02:55 +0000)]
Add new typedefs, declarations for krb5_context and krb5_os_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4741
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 02:52:49 +0000 (02:52 +0000)]
Add new magic numbers for krb5_context and krb5_os_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4740
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 02:26:11 +0000 (02:26 +0000)]
Workaround more Ultrix sh brain damage
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4739
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 20 Dec 1994 00:42:41 +0000 (00:42 +0000)]
Work around yet another really horrible Ultrix sh bug. The values of
variables read in using the ${var='bar'} construction are displayed
using the "set" command with the high bit set. (Someone should just
haul off the Ultrix sh and have it shot). Fixed using tr.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4738
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 19 Dec 1994 23:12:57 +0000 (23:12 +0000)]
Use syslog instead of krb_log
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4737
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 19 Dec 1994 23:07:39 +0000 (23:07 +0000)]
Do the right thing if we are compiling without V4 support. (The
dump_v4db command is disabled.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4736
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 19 Dec 1994 20:23:58 +0000 (20:23 +0000)]
Fixed minor bug where the length of the returned domain was calculated
incorrectly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4735
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 19 Dec 1994 20:15:08 +0000 (20:15 +0000)]
krcp.c, krlogin.c, krlogind.c (v5_des_write): Fix byte swapping code
(Missing shift instructions).
krlogind.c: Fixed byte swapping code so that V4 des compatibility
works on 64 bit architectures.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4734
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 13 Dec 1994 20:44:47 +0000 (20:44 +0000)]
If a null addresses is passed in to krb5_scc_store_addrs, don't core dump
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4733
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 13 Dec 1994 20:43:58 +0000 (20:43 +0000)]
If a null addresses is passed in to krb5_fcc_store_addrs, don't core dump
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4732
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 13 Dec 1994 20:41:10 +0000 (20:41 +0000)]
Add check for HAS_SETSID test for daemon.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4731
dc483132-0cff-0310-8789-
dd5450dbe970