summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* * login.c (main): Only destroy xtra_creds if non-null. (Patch from Richard ↵Ken Raeburn2000-02-102-1/+7
| | | | | | Basch.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12031 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): Reorder some control flow to avoid security holeTom Yu2000-02-062-6/+9
| | | | | | if KRB4_GET_TICKETS is not defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12001 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-client.c, gss-server.c, gss-misc.c: Include Windows headersDanilo Almeida2000-02-015-9/+63
| | | | | | | | | | | | | | | | instead of Unix headers under Windows. * gss-server.c (usage): Fix usage info to reflect that service_name is required. * gss-misc.c (read_all, write_all): Change write to send and read to recv for portability. (gettimeofday): Add an implementation of gettimeofday() for Windows. * Makefile.in: Build under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11981 dc483132-0cff-0310-8789-dd5450dbe970
* didn't have date line on last log entryKen Raeburn2000-01-281-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11978 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (speeds): Added some comments from net recommending not ↵Ken Raeburn2000-01-272-0/+16
| | | | | | extending the list to higher values git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11974 dc483132-0cff-0310-8789-dd5450dbe970
* from 1.1 branch: use init_secure_contextKen Raeburn1999-12-152-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11956 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-2616-0/+112
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-2616-31/+18
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2421-21/+84
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* Don't fclose(NULL). Don't declare string functions that are macrosKen Raeburn1999-09-214-2/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11836 dc483132-0cff-0310-8789-dd5450dbe970
* from 1.1 branch:Ken Raeburn1999-09-014-1/+31
| | | | | | | | | | | | | | | | * krlogin.c (main): Error out if -D isn't followed by another argument. Based on patch from Brad Thompson. * krshd.c (v4_kdata, v4_ticket): Don't define if KRB5_KRB4_COMPAT is not defined. Patch from Brad Thompson. * kcmd.c (kcmd): If krb5_get_credentials returns a nonzero error code, print an error message before returning. * krlogin.c (main): If ospeed is outside of compiled-in table index range but not high enough to be a baud rate, use the highest rate in the table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11777 dc483132-0cff-0310-8789-dd5450dbe970
* jaltman's principal-name check from 1.1 branch, indentation fixedKen Raeburn1999-09-012-2/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11776 dc483132-0cff-0310-8789-dd5450dbe970
* disable krb5-mech2 for now; from 1.1 branchKen Raeburn1999-09-012-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11773 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kshd): Remove $(LOGINLIBS) from kshd dependenciesTom Yu1999-08-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11710 dc483132-0cff-0310-8789-dd5450dbe970
* Patches from Brad Thompson for building without krb4 compatibilityKen Raeburn1999-08-023-4/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11612 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.c (telnet): Fix typo in error message, viaTom Yu1999-07-262-1/+6
| | | | | | schwim@whatmore.Stanford.EDU git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11607 dc483132-0cff-0310-8789-dd5450dbe970
* fix typo in calculating buffer sizeKen Raeburn1999-07-262-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11606 dc483132-0cff-0310-8789-dd5450dbe970
* from the 1.0 branchEzra Peisach1999-07-242-1/+5
| | | | | | kshd: Add $(LOGINLIBS) for setluid on the Alpha's... Probably never pulled up git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11595 dc483132-0cff-0310-8789-dd5450dbe970
* AIX 4.3.2 (4.3.0+) build fixes based on bug report from Joshua Lackey,Ken Raeburn1999-07-123-1/+14
| | | | | | lackeyj@austin.ibm.com. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11563 dc483132-0cff-0310-8789-dd5450dbe970
* * ftp.c: Inclusion of gssapi_krb5.h requires gssapi_generic.hEzra Peisach1999-05-112-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11435 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Fix typo in test below; fixed name of the autoconf cacheTheodore Tso1999-04-152-2/+7
| | | | | | variable which indicates if sys/streams.h exists. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11362 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check for setupterm() in libncurses in addition toTheodore Tso1999-04-142-3/+17
| | | | | | | libcurses. Only set STREAMSPTY if both grantpt and sys/stremas.h exists. (Will be needed for Linux/Redhat 6.0) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11359 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check for setupterm() in libncurses in addition toTheodore Tso1999-04-142-2/+8
| | | | | | libcurses. (Will be needed for Linux/Redhat 6.0) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11358 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check to see if we need to pull in the util library inTheodore Tso1999-04-142-0/+7
| | | | | | order to find logwtmp(). (Needed for Linux/glibc 2.1.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11356 dc483132-0cff-0310-8789-dd5450dbe970
* * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pcktTom Yu1999-03-312-1/+9
| | | | | | failure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11329 dc483132-0cff-0310-8789-dd5450dbe970
* * termios-tn.c: Include termio.h under AIX due to brokennessTom Yu1999-03-312-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11327 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (login): Check that the luid is not the uid we want toTom Yu1999-03-262-1/+8
| | | | | | | change to prior to calling setluid() so that we can run as non-root. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11316 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/sockio.h for systems that need itTom Yu1999-03-242-1/+6
| | | | | | for SIOCATMARK. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11307 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y (urgsafe_getc): New function; like getc() except itTom Yu1999-03-242-4/+39
| | | | | | | | | retries once if SIOCATMARK returns TRUE. (getline): Use urgsafe_getc() rather than getc() to avoid problems with certain Mac clients that cause the urgent pointer to end up in a location that results in EOF from getc(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11306 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kshd): Add $(LOGINLIBS)Tom Yu1999-03-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11278 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (user): Remove extra "%s" in call to sprintf() to avoidTom Yu1999-03-122-1/+6
| | | | | | dereferencing stack garbage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11268 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.M: Resync with realityTom Yu1999-03-094-29/+105
| | | | | | | | | | * Makefile.in (ftpd): Add libpty to link line. Remove mention of logwtmp files. * ftpd.c: Fix up hostname logging to use pty_make_sane_hostname(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11253 dc483132-0cff-0310-8789-dd5450dbe970
* * kshd.M: Resync manpageTom Yu1999-03-093-36/+100
| | | | | | * krshd.c: Rework hostname logging. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11247 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (reply): Don't call secure_gss_error() or secure_error()Tom Yu1999-02-262-0/+12
| | | | | | | from within reply() to avoid setting up an infinite loop. [krb5-appl/684] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11230 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.c (secure_putbuf): Revert Sam's last change; ifTom Yu1999-02-262-1/+10
| | | | | | | | | | FUDGE_FACTOR is wrong, then badness can happen. Also, if out_buf.length != nbytes+FUDGE_FACTOR, heap corruption could happen. We really should be using gss_wrap_size_limit() or something like that, but doing so would require substantial amounts of reworking. [krb5-appl/685] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11228 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.8: Resync manpageTom Yu1999-02-253-12/+42
| | | | | | * telnetd.c: Rework flags controlling hostname logging. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11222 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind.M: Resync manpageTom Yu1999-02-253-25/+45
| | | | | | * krlogind.c: Rework flags for hostname logging. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11220 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (k4cmd): Move call to krb_realmofhost() to avoid smashingTom Yu1999-02-232-5/+7
| | | | | | hp. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11213 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (kcmd): Fix up to not call sname_to_principal until afterTom Yu1999-02-232-36/+36
| | | | | | | all the addresses in hp have been iterated through to avoid smashing. [krb5-appl/516] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11211 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.8: Document hostname logging changesTom Yu1999-02-223-15/+43
| | | | | | | * telnetd.c: Add options to control logging of remote hostname to login(1). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11208 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add check for setluidTom Yu1999-02-182-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11183 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (login): Add call to setluid() if necessaryTom Yu1999-02-182-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11182 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind.M: Document things a little better, including newTom Yu1999-02-174-32/+90
| | | | | | | | | | | | | options controlling hostname manipulation. * krlogind.c: Make use of pty_make_sane_hostname() for purposes of manipulating hostname to pass to login. Also unconditionally syslog IP address and full hostname of remote host. Add command line options to control such behavior. * configure.in: Add arpa/nameser.h to CHECK_HEADERS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11176 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: strcat -> strncatTom Yu1999-02-132-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11172 dc483132-0cff-0310-8789-dd5450dbe970
* state.c: Increase size of subbufer so that we don't truncateTheodore Tso1999-02-042-1/+6
| | | | | | mongo-gram tickets from Microsoft. [telnet/688] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11143 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos5.c: Increase size of str_data so that we can acceptTheodore Tso1999-02-042-1/+6
| | | | | | mongo-gram tickets from Microsoft. [telnet/686] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11142 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (main): Call setluid()Tom Yu1999-01-214-9/+26
| | | | | | | | | * krshd.c (doit): Call setluid(). * configure.in: Check for setluid() rather than main() in libsecurity. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11111 dc483132-0cff-0310-8789-dd5450dbe970
* Temporary patch for krb5-appl/678; avoid data from stdout being mixed to stderrSam Hartman1998-12-275-7/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11095 dc483132-0cff-0310-8789-dd5450dbe970
* gss-server.c (test_import_export_context): Fix memory leakTheodore Tso1998-12-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11094 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add check for <sys/utsname.h>Theodore Tso1998-11-163-1/+35
| | | | | | | utility.c (putf): Add support for %s, %m, %r, %v using information from the uname() system call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11041 dc483132-0cff-0310-8789-dd5450dbe970