summaryrefslogtreecommitdiffstats
path: root/src/appl/bsd
Commit message (Collapse)AuthorAgeFilesLines
* * krlogind.c:Tom Yu1997-12-125-4/+30
| | | | | | | | | | * krshd.c: * login.c: * v4rcp.c: Don't include netdb.h or sys/socket.h if krb.h is included; this works around an Ultrix bug where those headers aren't protected against multiple inclusion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10331 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (recvauth): Fix args in call toTom Yu1997-11-202-1/+6
| | | | | | rd_and_store_for_creds. [krb5-appl/502] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10301 dc483132-0cff-0310-8789-dd5450dbe970
* * krshd.c: Don't set checksum_ignored to 1 if checksum_required isTom Yu1997-11-182-4/+7
| | | | | | | 0; also, if a krb5 client passes in a checksum, check it regardless of whether checksum_required is true. [krb5-appl/500] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10286 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds): Don't do the chown. AvoidsTom Yu1997-11-133-20/+25
| | | | | | | | | a security hole. [krb5-appl/494] * krshd.c (recvauth): chown the ccache explicitly, as rd_and_store_for_creds no longer does so. [krb5-appl/494] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10277 dc483132-0cff-0310-8789-dd5450dbe970
* Use error_message(errno) instead of using sys_errlist[errno]. ThisTheodore Tso1997-11-072-55/+60
| | | | | | | | avoids the hair of deciding whether or not we need to declare sys_errlist or use strerror(), etc., since com_err has all of that complexity anyway. Also fixed lots of -Wall nits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10268 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (doit): Fix up potential buffer overrun.Tom Yu1997-11-054-4/+19
| | | | | | | | | | [krb5-appl/488] * krlogin.c (main): Fix up potential buffer overrun. * krcp.c (hosteq): Fix up potential buffer overrun. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10267 dc483132-0cff-0310-8789-dd5450dbe970
* Removed useless .so to a non-existent macro fileTheodore Tso1997-10-072-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10213 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (main): Changes to allow for standalone daemonTom Yu1997-09-022-58/+113
| | | | | | | operation. Use the "-f" flag to enable. This automagically figures out which port to bind to if you don't specify it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10189 dc483132-0cff-0310-8789-dd5450dbe970
* killpg() wasn't conditionalized in login.c, causing compiles to fail onKevin Mitchell1997-06-302-0/+12
| | | | | | Solaris 2.4 (which puts the function into the BSD compatibility libraries). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10105 dc483132-0cff-0310-8789-dd5450dbe970
* login.c: Always use the new tty line discpline. [krb5-appl/428]Theodore Tso1997-06-072-10/+34
| | | | | | | login.c: If a hangup signal is received, pass it onto the child. [krb5-appl/432] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10095 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid typos in test compilationTheodore Tso1997-03-281-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10037 dc483132-0cff-0310-8789-dd5450dbe970
* If we're on an SGI machine, don't do the MOTD or MAILCHECK thing,Theodore Tso1997-03-282-1/+6
| | | | | | | since it's done by /etc/cshrc magic. (SGI's don't define __SVR4, even though it's SVR4 derived). [krb5-appl/158] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10033 dc483132-0cff-0310-8789-dd5450dbe970
* When falling back to the normal rlogin, clear the signal mask, so thatTheodore Tso1997-03-282-0/+16
| | | | | | | the child rlogin handles SIGUSR1 (which is used for window size changes) correctly. [krb5-appl/335] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10032 dc483132-0cff-0310-8789-dd5450dbe970
* dditional patch for login environment variable processing: respect TERMSam Hartman1997-03-202-0/+10
| | | | | | even without -p option. [326] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10017 dc483132-0cff-0310-8789-dd5450dbe970
* krshd should not require a user to have a valid home directory. [krb5-appl/167]Sam Hartman1997-02-282-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9986 dc483132-0cff-0310-8789-dd5450dbe970
* Fix terminal handling with regard to ^@ and ^oSam Hartman1997-02-222-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9960 dc483132-0cff-0310-8789-dd5450dbe970
* kcmd.c (getport): Let the OS pick the best port rather than scanning.Richard Basch1997-02-195-131/+120
| | | | | | | | | | | krlogin.c: Fixed 8bit flow control (Solaris) krlogind.c: Whitespace cleanup krshd.c: No need to set lport before calling getport(&lport) Also, changed all occurrences of krb5_xfree to use something else. [kcmd.c still needs one free() fixed when a routine exists to replace the realm component] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9908 dc483132-0cff-0310-8789-dd5450dbe970
* Use free() to free realm component, until a replacement function is addedRichard Basch1997-02-191-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9907 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_xfree from the public interfaceRichard Basch1997-02-185-6/+12
| | | | | | | Implement krb5_free_data & krb5_free_data_contents to cleanup krb5_data structures and data contents allocated by the krb5 library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9904 dc483132-0cff-0310-8789-dd5450dbe970
* login.c: set ccache name consistently with other login appsRichard Basch1997-02-112-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9847 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-093-27/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Overide important environment variables. Preliiminary fix; includeSam Hartman1996-12-292-6/+11
| | | | | | | | in patch release. [326] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9699 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix up "test $ac_cv_c_cross" to deal withTom Yu1996-12-242-2/+7
| | | | | | autoconf-2.12, since that variable can be set to a null string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9687 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-136-6/+45
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c: don't print our own error message if kcmd returns -1 (itBarry Jaspan1996-11-142-8/+16
| | | | | | | always printed something in that case, and error_message(-1) prints a mess [krb5-appl/70] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9413 dc483132-0cff-0310-8789-dd5450dbe970
* * krshd "plumbing" fixesMark Eichin1996-11-122-66/+112
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9385 dc483132-0cff-0310-8789-dd5450dbe970
* same typoMark Eichin1996-11-121-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9384 dc483132-0cff-0310-8789-dd5450dbe970
* fix typoMark Eichin1996-11-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9383 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in, krshd.c, v4rcp.M, v4rcp.c: addedMark Eichin1996-11-116-17/+1237
| | | | | | | | | | kerberos V4 rcp -x support from Cygnus tree. * Makefile.in, configure.in: added support for not building v4rcp if --without-krb4 is used. (original ChangeLogs copied as well.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9370 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (k_init): Set up KRBTKFILE if converting krb5 tickets toTom Yu1996-11-102-1/+6
| | | | | | krb4 but not getting them via password. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9360 dc483132-0cff-0310-8789-dd5450dbe970
* Fix so login.c compiles with krb4 support.Sam Hartman1996-11-092-2/+7
| | | | | | [krb5-appl/148] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9351 dc483132-0cff-0310-8789-dd5450dbe970
* login.c (destroy_tickets): Just use global kcontext insteadTheodore Tso1996-11-077-21/+55
| | | | | | | | | | | | | of creating a new krb5 context for no good reason. krshd.c (main): krsh.c (main): krlogind.c (main): krlogin.c (main): krcp.c(main): Check the error return from krb5_init_context(), and print an error message if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9317 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix broken comment ; it's setuid() that must suceed not the setleuidSam Hartman1996-11-022-3/+14
| | | | | | | | | | | equivelent under AIX. * You want to destroy v4 tickets if you are converting them just as if you are getting them directly. * Attempt to be more reasonable about printing out errors in in_tkt. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9283 dc483132-0cff-0310-8789-dd5450dbe970
* * Remove rhosts support [138]Sam Hartman1996-11-026-244/+25
| | | | | | | * Remove tab3 from initial terminal settings. We don't really care about horizontal tab delays, do we? This was breaking on NetBSD. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9282 dc483132-0cff-0310-8789-dd5450dbe970
* Make the defaults be to *not* to get Kerberos V4 tickets. There areTheodore Tso1996-10-302-6/+15
| | | | | | | | | currently bad interactions between defaulting and the default Kerberos V4 realm (which is still hard-coded to be ATHENA.MIT.EDU). Also added some miscelanneous code cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9249 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c: don't retry (and waste 7 seconds) on ECONNREFUSED, justBarry Jaspan1996-10-212-8/+6
| | | | | | fail immediately [krb5-appl/120] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9217 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.c, krlogin.c: don't print our own error message if kcmdBarry Jaspan1996-10-183-8/+16
| | | | | | | returns -1 (it always printed something in that case, and error_message(-1) prints a mess [krb5-appl/70] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9211 dc483132-0cff-0310-8789-dd5450dbe970
* * Use login.krb5 -f from klogindSam Hartman1996-09-304-39/+37
| | | | | | * Allow login.krb5 -f to authorize root login. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9135 dc483132-0cff-0310-8789-dd5450dbe970
* Fix goto labels so it compiles without krb4 supportSam Hartman1996-09-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9134 dc483132-0cff-0310-8789-dd5450dbe970
* Preliminary fixed version of patch to deal with reading in credentialsSam Hartman1996-09-212-17/+38
| | | | | | and writing them out later. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9101 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c: fix a security-threating race condition: chown'ing theBarry Jaspan1996-09-112-6/+131
| | | | | | | | ccache to the user can be bad if the user can delete the file first and make it a symlink to something else. The solution is to re-create the ccache after login as setuid() to the user. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9084 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-107-12/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* login.M: Document that login_krb4_convert is off by defaultTheodore Tso1996-09-063-3/+18
| | | | | | | | | login.c: Turn login_krb4_convert off by default, since it causes problems if you don't have krb524d running on the KDC. This is necessary because a Solaris socket bug causes login to hang for 45 seconds if krb524d isn't present on the KDC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9041 dc483132-0cff-0310-8789-dd5450dbe970
* TCP performance fix (see 2203 in krb5-bugs): write out encrypted dataSam Hartman1996-09-023-31/+54
| | | | | | | | and length as one packet, not with two calls to write. This should also happen to rsh, rcp, and possibly telnet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9020 dc483132-0cff-0310-8789-dd5450dbe970
* Removed Cygnus-specific infoJeff Bigler1996-08-303-205/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9015 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrites/tweaks/edits from CygnusJeff Bigler1996-08-296-334/+471
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9003 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug that caused files transmitted by a NetBSD box to have fileSam Hartman1996-08-102-1/+8
| | | | | | | | | | names of (null). CVS: ---------------------------------------------------------------------- automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8922 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo so that krsh doesn't exit when using the default portTheodore Tso1996-06-242-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8545 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind should do a better job of initializing output flags on ttySam Hartman1996-06-245-1/+48
| | | | | | | * Fix so login.krb5 compiles with Athena Kerberos libs (needed for rsaix build) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8540 dc483132-0cff-0310-8789-dd5450dbe970
* Remove tests that are not needed with the pty library in placeEzra Peisach1996-06-152-22/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8366 dc483132-0cff-0310-8789-dd5450dbe970