summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * login.c (login_get_kconf): Also test whether *kconf_val is nullGeoffrey King1998-11-162-1/+8
| | | | | | | | rather than just kconf_val before passing *kconf_val to conf_affirmative (where strcasecmp will choke on it if it is in fact null). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11039 dc483132-0cff-0310-8789-dd5450dbe970
* Fix broken thisconfdir and mydir lines in Makefile.in's. Forgot toTheodore Tso1998-11-138-16/+16
| | | | | | adjust them after consildating the configure.in scripts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11034 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-132-0/+7
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11033 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-133-2/+39
| | | | | | | | | | | | to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS definition to control the directories which are recursively descended by the Makefile. configure.in: Fold the autoconf tests from the sample, simple, gss-sample, and user_user directories into this higher-level configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11032 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-138-0/+42
| | | | | | | | to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro set to '.' to indicate that there are no subdirectories to be processed by the Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11031 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Removed and tests moved up to appl/configure.inTheodore Tso1998-11-1312-38/+48
| | | | | | | | | Makefile.in: Set the myfulldir and mydir variables (which are relative to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro set to '.' to indicate that there are no subdirectories to be processed by the Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11030 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-1314-0/+49
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11029 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-3015-1427/+1875
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Add -A (require authentication but not necessarily authorization) andDan Winship1998-10-265-160/+381
| | | | | | | | | | -C (user wants local credentials) flags to ftpd. If -C is set, write out forwarded credentials to disk and use krb524 to get krb4 tickets as well. If user doesn't forward credentials, require a password even if auth was successful and use that to get credentials. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10993 dc483132-0cff-0310-8789-dd5450dbe970
* * ftp.M: Add documentation for new ccc and cprotect commands.Geoffrey King1998-10-263-23/+77
| | | | | | | | | | Also, add previously omitted command line options -u and -t and "passive" command to the man page. * main.c (main): Print out a usage message instead of just "unknown option." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10992 dc483132-0cff-0310-8789-dd5450dbe970
* ftpd.c (pass): Wait 5 seconds before returning "passwordTheodore Tso1998-10-243-10/+36
| | | | | | | | | | | | incorrect", and only allow three bad passwords. Then return an 421 reply code before closing the connection and going away. ftpcmd.y (cmd): Don't allow the PORT command to accept a port number lower than 1024; this prevents some nasty ftp "bounce attacks" to SMTP ports, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10990 dc483132-0cff-0310-8789-dd5450dbe970
* update ftpd man page to fully match reality (-a, -c, -u, CCC)Dan Winship1998-10-202-6/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10973 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.c (telnet): Cosmetic change: Put a newline after "WaitingGeoffrey King1998-10-102-1/+8
| | | | | | | | for encryption to be negotiated..." so that the response "[ Kerberos V5 accepts you as ``gjking@ATHENA.MIT.EDU'' ]" doesn't run off the end of the line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10972 dc483132-0cff-0310-8789-dd5450dbe970
* krshd.c (doit): Apply ghudson's patch so that rshd passes the portTheodore Tso1998-10-083-4/+30
| | | | | | | | | | | | numbers for the local and foreign addresses so that the V4 encrypted RCP will work correctly. [krb5-appl/638] v4rcp.c (answer_auth): Apply ghudson's patch so that if KRB5LOCALPORT and KRB5REMOTEPORT are set, use them to set the foreign and local ports so that encrypted rcp for the same machine. [krb5-appl/638] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10971 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Add support for restricted users, as requested inGeoffrey King1998-10-082-16/+59
| | | | | | | | [krb5-appl/481]. Users that appear in /etc/ftpusers, followed by the keyword "restrict" will be granted access, but a chroot() will be done to their home directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10970 dc483132-0cff-0310-8789-dd5450dbe970
* cmdtab.c: Update help message for passive mode so that itTheodore Tso1998-10-023-2/+9
| | | | | | | | indicates that the "passive" command toggles passive mode. main.c (main): Make passive mode off by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10956 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use h_errno, it's not fully portable, and it's not worth itTheodore Tso1998-09-292-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10949 dc483132-0cff-0310-8789-dd5450dbe970