summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed bugs in introduction of context variables; if the global context isTheodore Tso1995-01-1910-17/+80
| | | | | | | | 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
* Oops in previous memory freeing fixes; was a bit too agressive freeing thingsTheodore Tso1995-01-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4823 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (v4_des_read, v5_des_read): When reading length,Mark Eichin1995-01-183-1/+119
| | | | | | | | | | 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
* it belongs here insteadMark Eichin1995-01-181-0/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4821 dc483132-0cff-0310-8789-dd5450dbe970
* this doesn't belong hereMark Eichin1995-01-181-54/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4820 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: undo streams test. It turns out that we want sunosMark Eichin1995-01-184-2/+15
| | | | | | | | | | | | | | 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
* fix tab vs. space glitchMark Eichin1995-01-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4818 dc483132-0cff-0310-8789-dd5450dbe970
* Acually move init_ctx.c to init_os_ctx.c in the CVS repository and alsoChris Provenzano1995-01-132-1/+7
| | | | | | 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
* Auto configure changes. I didn't do anythingChris Provenzano1995-01-131-20/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4816 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-13100-2303/+2932
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-138-143/+163
| | | | | | | | 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
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-139-238/+263
| | | | | | 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
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-137-150/+228
| | | | | | Added krb5_context to all krb5_routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4812 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-1330-129/+163
| | | | | | | | | 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
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-13153-1658/+1982
| | | | | | Added krb5_context to all krb5_routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4810 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARGChris Provenzano1995-01-1336-1017/+825
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4809 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-1341-604/+717
| | | | | | Added krb5_context to all krb5_routines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4808 dc483132-0cff-0310-8789-dd5450dbe970
* fix typoMark Eichin1995-01-131-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4807 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): constructed headers come from the buildMark Eichin1995-01-132-2/+10
| | | | | | tree, not the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4806 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (K4LIB): fix quoting so $(KRB4) actually survivesMark Eichin1995-01-112-2/+8
| | | | | | to the Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4805 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.c (update_wtmp): declare missing variables ifMark Eichin1995-01-112-1/+13
| | | | | | | | | | 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
* * krlogin.c (doit): use exit_handler for signal exits, don't useMark Eichin1995-01-112-3/+15
| | | | | | | | 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
* * configure.in: Streams test needs to include sys/types.hRichard Basch1995-01-102-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4802 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.c: Include sys/time.h (linux)Richard Basch1995-01-102-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4801 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c, krlogin.c, krcp.c: Always include fcntl.h, and neverTheodore Tso1995-01-105-13/+8
| | | | | | | | 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
* gss_display_name() should return a name type OID, not a mechanism OIDTheodore Tso1995-01-102-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4799 dc483132-0cff-0310-8789-dd5450dbe970
* Changed kerberos5 and kerberos4 port names to kerberos and kerberos-secTheodore Tso1995-01-051-5/+23
| | | | | | | 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
* Use the service names kerberos and kerberos-sec, instead of kerberos5Theodore Tso1995-01-052-2/+8
| | | | | | 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
* kcmd.c, krsh.c, krshd.cRichard Basch1995-01-031-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4794 dc483132-0cff-0310-8789-dd5450dbe970
* Removed a debugging statement (which could compromise the eblock)Richard Basch1995-01-031-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4793 dc483132-0cff-0310-8789-dd5450dbe970
* Tidied up the commentsRichard Basch1995-01-031-10/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4792 dc483132-0cff-0310-8789-dd5450dbe970
* Removed old sgi code (it has POSIX signals)Richard Basch1995-01-031-12/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4791 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.cRichard Basch1995-01-033-40/+446
| | | | | | | | | * 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
* mailquery.c: Issue QUIT pop command when done retrieving messgesRichard Basch1995-01-022-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4789 dc483132-0cff-0310-8789-dd5450dbe970
* krlogind.c, krshd.cRichard Basch1995-01-021-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4788 dc483132-0cff-0310-8789-dd5450dbe970
* Ultrix doesn't have a fully functional POSIX termiosRichard Basch1995-01-021-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4787 dc483132-0cff-0310-8789-dd5450dbe970
* Cleaned up some of the #ifdef's and code duplication.Richard Basch1995-01-021-77/+51
| | | | | | 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
* krlogin.c: Don't need to #undef _BSD for AIX anymore (no more BSD dependencies)Richard Basch1994-12-312-4/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4785 dc483132-0cff-0310-8789-dd5450dbe970
* * 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
* * aclocal.m4Richard Basch1994-12-302-4/+13
| | | | | | 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
* 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