summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* Only print each possible authentication type once in the auth statusTheodore Tso1994-11-082-5/+25
| | | | | | | | | | | | report. Remove excess call to getauthmask() in auth_onoff() which stomped the mask field. Only print each possible authentication type once in the help message. Fix reversed sense of strcasecmp comparison in getauthmask(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4642 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for stdlib.hTheodore Tso1994-11-082-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4641 dc483132-0cff-0310-8789-dd5450dbe970
* Only include <sys/tty.h> if HAVE_SYS_TTY_H is defined by configureTheodore Tso1994-11-083-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4639 dc483132-0cff-0310-8789-dd5450dbe970
* Change prototypes of auth_enable() and auth_disable() to be a char *Theodore Tso1994-11-082-2/+23
| | | | | | | Print an error message if there are no arguments to "auth" or "encrypt", instead of core dumping. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4638 dc483132-0cff-0310-8789-dd5450dbe970
* Change the input type to be a char *, which is what auth_onoff wants anywayTheodore Tso1994-11-082-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4637 dc483132-0cff-0310-8789-dd5450dbe970
* Don't define time() manually; pull it in from <time.h>Theodore Tso1994-11-084-2/+20
| | | | | | Add checking for whether we should be pulling in <time.h> and <sys/time.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4636 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for util library (needed for the Alpha)Theodore Tso1994-11-082-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4635 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in Richard's changes of November 2nd. (See changelog). Lots ofTheodore Tso1994-11-0810-221/+565
| | | | | | portability fixes: POSIX_SIGNALS, POSIX_SETJMP, use of POSIX waitpid, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4632 dc483132-0cff-0310-8789-dd5450dbe970
* Use POSIX method of obtaining fd table size, if availableTheodore Tso1994-11-082-4/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4630 dc483132-0cff-0310-8789-dd5450dbe970
* NULL should not be used as a character assignment value. Use '\0' insteadTheodore Tso1994-11-032-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4618 dc483132-0cff-0310-8789-dd5450dbe970
* NULL should not be used as a character assignment value. Use '\0'Theodore Tso1994-11-032-4/+9
| | | | | | instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4617 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): if CSTATUS is missing, don't set c_cc[VSTATUS]Mark Eichin1994-10-282-0/+7
| | | | | | (for sunos.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4594 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (des_write): get rid of srandom, since seeding is doneMark Eichin1994-10-274-49/+9
| | | | | | | | directly in krb5_random_confounder. get rid of unused variables. * krlogind.c (v4_des_write): use krb5_random_confounder directly. get rid of unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4592 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): if CDISCARD is missing, use CFLUSH insteadMark Eichin1994-10-273-1/+13
| | | | | | | | | * configure.in: fix typo in "use streams interface" test (ttold.h not ttyold.h) appl/bsd now builds on solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4591 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: check for srand48, srand, and srandom.Mark Eichin1994-10-273-2/+34
| | | | | | | | * krlogind.c (v4_des_write): use the best available of the three random number systems for padding (based on code from lib/crypto/os/rnd_confoun.c.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4590 dc483132-0cff-0310-8789-dd5450dbe970
* Control -g/-O via $(CCOPTS)Theodore Tso1994-10-262-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4581 dc483132-0cff-0310-8789-dd5450dbe970
* Conversion of autoconfigury to Autoconf V2Mark Eichin1994-10-2617-56/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4576 dc483132-0cff-0310-8789-dd5450dbe970
* Check for both EAGAIN in addition to EWOULDBLOCKTheodore Tso1994-10-263-11/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4575 dc483132-0cff-0310-8789-dd5450dbe970
* The Kerberos V4 libraries must be linked in after the V5 libraries;Theodore Tso1994-10-242-2/+5
| | | | | | compat_recvauth pulls in the V4 routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4569 dc483132-0cff-0310-8789-dd5450dbe970
* Don't free host_save; it's supposed to be returned by kcmd to theTheodore Tso1994-10-242-4/+3
| | | | | | caller! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4562 dc483132-0cff-0310-8789-dd5450dbe970
* Don't check for srand48 and then try to define srandom to be srand48.Theodore Tso1994-10-243-2/+12
| | | | | | | | This breaks on machines which have both srandom and srand48. Instead, change krlogin to use krb5_random_confounder; it will do the right thing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4561 dc483132-0cff-0310-8789-dd5450dbe970
* Change one last variable to be an unsigned charTheodore Tso1994-10-192-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4545 dc483132-0cff-0310-8789-dd5450dbe970
* Add other termios c_cc initializations for the ALPHATheodore Tso1994-10-192-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4544 dc483132-0cff-0310-8789-dd5450dbe970
* Make protocol buffers be unsigned, since we're comparing againstTheodore Tso1994-10-192-1/+6
| | | | | | unsigned data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4543 dc483132-0cff-0310-8789-dd5450dbe970
* Obey CCOPTS in CFLAGS declarationTheodore Tso1994-10-192-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4542 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c: use HAVE_STREAMS, fix TIOCPKT_* testMark Eichin1994-10-182-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4533 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (HAVE_STREAMS): test for streams interface headersMark Eichin1994-10-183-4/+13
| | | | | | | in a way that fails on sunos but works on solaris. * krlogin.c: use HAVE_STREAMS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4530 dc483132-0cff-0310-8789-dd5450dbe970
* Add OBJS definition so that object files get cleaned out during aTheodore Tso1994-10-122-0/+9
| | | | | | "make clean". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4495 dc483132-0cff-0310-8789-dd5450dbe970
* Add widen.h and narrow.h around declaration so that argument types areTheodore Tso1994-10-042-0/+7
| | | | | | widened. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4449 dc483132-0cff-0310-8789-dd5450dbe970
* Add structure magic numbersTheodore Tso1994-10-042-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4445 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(srcdir) to find manual page for make installTheodore Tso1994-10-038-4/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4429 dc483132-0cff-0310-8789-dd5450dbe970
* Look for termios.h in <termios.h>, not <sys/termios.h>. The latter is what'sTheodore Tso1994-10-032-1/+6
| | | | | | specified in the POSIX standard. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4424 dc483132-0cff-0310-8789-dd5450dbe970
* Remove declaration for strncpy()Theodore Tso1994-10-032-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4423 dc483132-0cff-0310-8789-dd5450dbe970
* More autoconf portability fixes --- for Solaris Suncc. SETPGRP_TWOARG,Theodore Tso1994-09-303-15/+14
| | | | | | HAVE_KILLPG, HAVE_SYS_TTY_H and HAVE_SYS_PTYVAR_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4408 dc483132-0cff-0310-8789-dd5450dbe970
* Make clean will remove executablesTheodore Tso1994-09-302-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4403 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable if libraries changeTheodore Tso1994-09-3016-15/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4400 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable if libraries changeTheodore Tso1994-09-304-2/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4399 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (mode): ifdef VLNEXT instead of svr4 for ^V fixing.Mark Eichin1994-09-293-4/+16
| | | | | | | | (doit): ditto. krlogin.c, configure.in: include sys/tty.h and sys/ttold.h only if they're both there. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4388 dc483132-0cff-0310-8789-dd5450dbe970