summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.inRichard Basch1994-12-312-5/+8
| | | | | | Fixed man page installation when build tree != source tree git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4784 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.inRichard Basch1994-12-302-5/+10
| | | | | | | | 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
* * logutil.cRichard Basch1994-12-304-143/+144
| | | | | | | | | | | | | * 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
* configure.in: Removed extraneous charactersRichard Basch1994-12-304-54/+53
| | | | | | | 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
* * krlogind.cRichard Basch1994-12-294-12/+26
| | | | | | | | | | | | | | | | * 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
* * krlogind.c:Richard Basch1994-12-292-84/+87
| | | | | | | | | | | | 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
* * krlogin.cRichard Basch1994-12-285-15/+32
| | | | | | | | | | * 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
* Fixed a couple more syntactical errors with shadow passwords (now works)Richard Basch1994-12-281-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4776 dc483132-0cff-0310-8789-dd5450dbe970
* Corrected logic for shadow password testsRichard Basch1994-12-281-10/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4775 dc483132-0cff-0310-8789-dd5450dbe970
* login.c, configure.in, logutil.cRichard Basch1994-12-281-6/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4774 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed HAS_SHADOW to HAVE_SHADOWRichard Basch1994-12-281-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4773 dc483132-0cff-0310-8789-dd5450dbe970
* Removed a reference to CBAUD that caused compilation errorsRichard Basch1994-12-281-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4772 dc483132-0cff-0310-8789-dd5450dbe970
* Changed uid_type to uid_t, gid_type to gid_tRichard Basch1994-12-281-33/+44
| | | | | | | 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
* logutil.c, configure.inRichard Basch1994-12-281-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4770 dc483132-0cff-0310-8789-dd5450dbe970
* Added caching to some of the local tests.Richard Basch1994-12-281-19/+48
| | | | | | Added shadow password support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4769 dc483132-0cff-0310-8789-dd5450dbe970
* Corrected the arguments to updwtmpx, and getutxidRichard Basch1994-12-281-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768 dc483132-0cff-0310-8789-dd5450dbe970
* Changed the PATH for looking for BSD r* commandsRichard Basch1994-12-281-3/+3
| | | | | | 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
* * configure.inRichard Basch1994-12-281-0/+12
| | | | | | | | | | | | | 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
* * krlogind.cRichard Basch1994-12-281-40/+60
| | | | | | Revamped the tty setup routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4765 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.cRichard Basch1994-12-281-16/+2
| | | | | | 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
* * configure.inRichard Basch1994-12-281-1/+2
| | | | | | | 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
* Tue Dec 27 14:42:15 1994 Richard Basch (probe@tardis)Richard Basch1994-12-271-0/+18
| | | | | | | | | | | | | | | | | | | | * 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
* * configure.inRichard Basch1994-12-271-3/+2
| | | | | | | 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
* Revamped the utmp/wtmp handlingRichard Basch1994-12-271-40/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4760 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.cRichard Basch1994-12-271-13/+11
| | | | | | Cleaned up some of the includes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4759 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.cRichard Basch1994-12-273-177/+147
| | | | | | | | * 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
* * Makefile.inRichard Basch1994-12-271-1/+1
| | | | | | Fixed the "krlogin" program define for "krsh" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4757 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.cRichard Basch1994-12-272-77/+118
| | | | | | | | | | 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
* configure.in:Richard Basch1994-12-271-32/+55
| | | | | | | 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
* Removed the hard-coded paths for the BSD rlogin/rcp/rsh programs.Richard Basch1994-12-261-0/+2
| | | | | | Let "configure" find the programs for us... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4752 dc483132-0cff-0310-8789-dd5450dbe970
* Removed the hard-coded paths for the BSD rlogin/rcp/rsh programs.Richard Basch1994-12-266-11/+45
| | | | | | Let "configure" find the programs for us... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4751 dc483132-0cff-0310-8789-dd5450dbe970
* krcp.c, krlogin.c, krlogind.c (v5_des_write): Fix byte swapping codeTheodore Tso1994-12-194-20/+36
| | | | | | | | | (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
* externs.h: If USE_TERMIO is defined and SYSV_TERMIO isn't, then alwaysTheodore Tso1994-12-133-2/+11
| | | | | | | | #define termio to termios. configure: Set K4LIBS correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4728 dc483132-0cff-0310-8789-dd5450dbe970
* Move get_for_creds to krb5_get_for_creds in the Kerberos libraryTheodore Tso1994-11-302-202/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4718 dc483132-0cff-0310-8789-dd5450dbe970
* Move get_for_creds to krb5_get_for_creds in the krb5 libraryTheodore Tso1994-11-302-199/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4717 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid typo..Theodore Tso1994-11-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4704 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize magic variable and encryption typeTheodore Tso1994-11-192-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4700 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use WITH_KRB4. (from epeisach)Mark Eichin1994-11-182-0/+7
| | | | | | [from 0955] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4682 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use WITH_KRB4, cache cc_t in termio check, cacheMark Eichin1994-11-183-6/+37
| | | | | | | | | | | | SETPGRP_TWOARG check. * Makefile.in (K4LIB): use @K4LIB@. (telnetd): use $(K4LIB). (from epeisach) [from 0955] * Makefile.in (install): install telnetd manpage (from Ted Lemon <mellon@ipd.wellsfargo.com>). [from 0937] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4681 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (LIBS): use WITH_KRB4, CHECK_SIGNALS, and cacheMark Eichin1994-11-183-9/+30
| | | | | | | | | | | | cc_t in termio.h check. (from epeisach) * Makefile.in (K4LIB): set to @K4LIB@ instead of explicit setting. (telnet): link with $(K4LIB). (from epeisach). [from 0955] * Makefile.in (install): install telnet man page. (from Ted Lemon <mellon@ipd.wellsfargo.com>). [from 0937] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4680 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: add WITH_CCOPTS so that subdirs workMark Eichin1994-11-182-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4679 dc483132-0cff-0310-8789-dd5450dbe970
* * pop_send.c (pop_send): Only update last_msg if executing a RETR.Mark Eichin1994-11-183-7/+15
| | | | | | | | | From John Brezak <brezak@apollo.hp.com>. [from 0927] * configure.in: use KRB5_POSIX_LOCKS (from epeisach). [from 0961] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4678 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use new macros KRB5_UTPID, KRB5_UTTYPE, andMark Eichin1994-11-183-15/+20
| | | | | | | | | | | | KRB5_UTHOST (from epeisach). [from 0959] * Makefile.in (install): add install rules for krlogind.M, krshd.M, rlogin.M, rcp.M, rsh.M. (Section numbers are explicit, and this should probably be changed.) (from Ted Lemon <mellon@ipd.wellsfargo.com> [from 0937] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4677 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c:Richard Basch1994-11-162-0/+12
| | | | | | | If the system includes a SA_RESTART signal flag, use it. We want to resume the read() system call after a SIGURG comes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4664 dc483132-0cff-0310-8789-dd5450dbe970
* Move mk_cred and rd_cred to libkrb.aTheodore Tso1994-11-142-334/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4660 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos.c: Initialize random number generator on the server side soTheodore Tso1994-11-143-334/+22
| | | | | | | | | | | | that the encryption routines later on can use it. Fix bug in how we pick the challenge for the challenge/response mutual authentication. forward.c: Move rd_cred and mk_cred to libkrb.a. (Although we still need to fix the API!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4658 dc483132-0cff-0310-8789-dd5450dbe970
* Defining setpgrp(a,b) to setpgrp() if SETPGRP_TWOARG is not set canTheodore Tso1994-11-113-5/+13
| | | | | | | | cause infinite macro recursion on some C preprocessors. Fix by putting the #ifdef for SETPGRP_TWOARG where setpgrp is actually called, instead of trying to redefine setpgrp(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4653 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in logic of incrementing the received challenge. A ++/--Theodore Tso1994-11-092-1/+5
| | | | | | mixup means there's a 1 in 256 chance the server will get it wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4651 dc483132-0cff-0310-8789-dd5450dbe970
* Fix spelling typoTheodore Tso1994-11-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4644 dc483132-0cff-0310-8789-dd5450dbe970
* Use des_init_random_number_genator(), since that will result inTheodore Tso1994-11-082-1/+7
| | | | | | different subsession keys on successive runs of telnet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4643 dc483132-0cff-0310-8789-dd5450dbe970