summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-1536-59/+146
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
* changes to accomodate redefinition of krb5_auth_contextTom Yu1995-06-1126-19/+60
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6035 dc483132-0cff-0310-8789-dd5450dbe970
* recv_tocken: Initialize stack variable to 0 before usingEzra Peisach1995-06-102-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6034 dc483132-0cff-0310-8789-dd5450dbe970
* Allow for partial reads while reading the tokenTheodore Tso1995-06-102-11/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6032 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-0924-62/+71
| | | | | | now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6009 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-098-24/+32
| | | | | | | now handled by CONFIG_RULES. Use DO_SUBDIRS to recurse down subdirectories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6006 dc483132-0cff-0310-8789-dd5450dbe970
* sim_server.c: #include krb5.h first, to reduce size of debuggingTheodore Tso1995-06-093-7/+9
| | | | | | | | | executable. configure.in: Remove standardized set of autoconf macros, which are now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6005 dc483132-0cff-0310-8789-dd5450dbe970
* If using inetd, set file descriptor of socket to 0Ezra Peisach1995-06-032-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5941 dc483132-0cff-0310-8789-dd5450dbe970
* * loginpaths.h: #ifdef ultrix => #ifdef __ultrixTom Yu1995-06-012-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5927 dc483132-0cff-0310-8789-dd5450dbe970
* Check for string.h and include if present, else include strings.hEzra Peisach1995-05-244-0/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5862 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos5.c: Include string.h/strings.h. Include stdlib.h orEzra Peisach1995-05-243-6/+26
| | | | | | | | | | declare malloc. (kerberos5_send): Fix improperly closed comment krb5_get_credentials second argument is not kdc_options configure.in (LIBOBJS): Removed duplicate WITH_KRB4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5861 dc483132-0cff-0310-8789-dd5450dbe970
* ring.c: Include string.h or strings.hEzra Peisach1995-05-244-1/+25
| | | | | | | | | configure.in: Check for stdlib.h externs.h: Include sys/param.h before redefining BSD Include stdlib.h or define malloc, realloc, calloc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5860 dc483132-0cff-0310-8789-dd5450dbe970
* Fix problem when gss_accept_sec_context() fails where error message was lostPaul Park1995-05-222-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5845 dc483132-0cff-0310-8789-dd5450dbe970
* * loginpaths.h: Add NetBSD pathsEzra Peisach1995-05-216-0/+37
| | | | | | | | | | | | | | * login.c: Define TAB3 to 0 if non existant * krlogin.c (mode): ifdef code based on TABDLY existing on machine. (netbsd lacks this). * krcp.c: Declare sys_errlist only if needed by the OS. * configure.in: Add DECLARE_SYS_ERRLIST Check for libcrypt defining the function crypt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5835 dc483132-0cff-0310-8789-dd5450dbe970
* login.c (main): Only try to use TIOCSETD if it is definedTheodore Tso1995-05-203-2/+15
| | | | | | | | | | | (instead of relying on _IBMR2 *not* being defined). Only try to use TIOCNXCL if it is defined. krcp.c: If setreuid() is emulated using setresuid(), #define HAVE_SETREUID so it gets used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5825 dc483132-0cff-0310-8789-dd5450dbe970
* so that credential forwarding worksEzra Peisach1995-05-132-9/+10
| | | | | | recvauth: Use krb5_auth_con_genaddrs to set the port on the connection git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5812 dc483132-0cff-0310-8789-dd5450dbe970
* Include stdlib.h or declare malloc()Ezra Peisach1995-05-102-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5791 dc483132-0cff-0310-8789-dd5450dbe970
* Add new options -p and -S to specify port and keytab filesEzra Peisach1995-05-103-5/+70
| | | | | | for use by dejagnu tests. Manual page updated as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5790 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Check for stdlib.hEzra Peisach1995-05-093-1/+15
| | | | | | poplib.c: Include <string.h>. Include <stdlib.h> if present or define malloc(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5766 dc483132-0cff-0310-8789-dd5450dbe970
* kcmd.c and krcp.c: Add <stdlib.h> for malloc declarations.Ezra Peisach1995-05-094-2/+21
| | | | | | | krshd.c: Cast sockadr_in * to sockaddr * in call to accept. (compiler warning). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5762 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c (answer_auth()): Requires two new args that are passedChris Provenzano1995-05-052-38/+81
| | | | | | | | from the command line. The first -c is to pass the filename of the remote credential cache. The second -C is to pass the filename of the remote krb5.conf file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5731 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c (answer_auth()): Don't destroy the credential cacheChris Provenzano1995-05-052-17/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5724 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c (answer_auth()): Set auth_context = NULL before using itChris Provenzano1995-05-042-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5713 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c: respect HAVE_SYS_TTY_HMark Eichin1995-05-032-0/+6
| | | | | | (sgi build now completes, though rshd doesn't work.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5712 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c: (krb5_recvauth()): No longer needs the rc_type argChris Provenzano1995-05-032-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5703 dc483132-0cff-0310-8789-dd5450dbe970
* * sserver.c: (krb5_recvauth()): No longer needs the rc_type argChris Provenzano1995-05-032-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5702 dc483132-0cff-0310-8789-dd5450dbe970
* * pop_init.c: (krb5_recvauth()): No longer needs the rc_type argChris Provenzano1995-05-032-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5701 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c, krshd.c: (krb5_compat_recvauth()):Chris Provenzano1995-05-033-2/+5
| | | | | | No longer needs the rc_type arg. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5700 dc483132-0cff-0310-8789-dd5450dbe970
* Don't try to play uid swapping games if the effective uid is not zeroTheodore Tso1995-05-032-8/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5697 dc483132-0cff-0310-8789-dd5450dbe970
* Bug fix to jik's bug fix. (Caused by our code drift since jik'sTheodore Tso1995-05-032-3/+8
| | | | | | | changes went in, and not sufficiently careful checking of jik's patches before applying it.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5692 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main()): Changes to auth_context to betterChris Provenzano1995-05-012-10/+7
| | | | | | support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5675 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_server.c (main()): Changes to auth_context to betterChris Provenzano1995-05-012-25/+27
| | | | | | support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5674 dc483132-0cff-0310-8789-dd5450dbe970
* * sim_client.c (main()): Changes to auth_context to betterChris Provenzano1995-05-012-13/+24
| | | | | | support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5673 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (kcmd()): Bug fixes from jikChris Provenzano1995-05-013-25/+23
| | | | | | | * krlogind.c (recvauth()): Changes to auth_context to better support full addresses, for rd_cred() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5672 dc483132-0cff-0310-8789-dd5450dbe970
* Temporary hack for the alpha. Undefine STREAMSPTY if defined.Ezra Peisach1995-05-012-0/+9
| | | | | | | This will be removed when configure does the right thing for this platform. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5667 dc483132-0cff-0310-8789-dd5450dbe970
* Link the libraries twice due to circular dependency in the libraries.Theodore Tso1995-04-292-1/+11
| | | | | | | (read_password in libdes425.a depends on krb5_read_password in libkrb5.a) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5659 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) so that we can do purify checkingTheodore Tso1995-04-292-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5653 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use setreuid() to play games with the real uid, since not allTheodore Tso1995-04-292-19/+14
| | | | | | | | | systems have setreuid(). This method of communicating to in_tkt what the correct owner of the ticket file is completely broken, anyway. We skip the setreuid() entirely, and then chown the ticket file to the correct owner and group afterwards. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5650 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KLIB): put KRB4_LIB inside KLIBMark Eichin1995-04-284-4/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5647 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KLIB): include KRB4_LIB directly, to satisfy bothMark Eichin1995-04-282-4/+8
| | | | | | versions of the dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5644 dc483132-0cff-0310-8789-dd5450dbe970
* Make links work with both --with-krb4 and --with-krb4=/usr/athenaPaul Park1995-04-282-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5638 dc483132-0cff-0310-8789-dd5450dbe970
* oops. s/CHECK/PROG/Mark Eichin1995-04-282-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5635 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (PATH): use internal AC_CHECK_ECHO_N because changeMark Eichin1995-04-282-0/+9
| | | | | | | | | | in path might change behavior of echo (example: solaris, native shell, with GNU echo (-n) in user path, but only Solaris echo (\c) in path here.) (AC_PATH_PROG should probably get fixed, to deal with this possibility. Later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5632 dc483132-0cff-0310-8789-dd5450dbe970
* Oops, checked in wrote version of gss-miscTheodore Tso1995-04-281-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5627 dc483132-0cff-0310-8789-dd5450dbe970
* gss-server.c (main, sign_server): Make changes to allowTheodore Tso1995-04-283-17/+79
| | | | | | | | | | | | | gss-server to be fired out of inetd. New options: -inetd and -logfile. The -logfile allows the output of gss-server to be redirected to a file. gss-misc.c (send_token, recv_token, display_status_1): Add support for -logfile option. If the external FILE *display_file is set, redirect error messages to display_file instead of stderr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5626 dc483132-0cff-0310-8789-dd5450dbe970
* Lots of lint cleanup; declare functions before they are used, addTheodore Tso1995-04-282-15/+30
| | | | | | appropriate return types (int or void) to functions as necessary, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5610 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: switch to WITH_KRB4 since it suffices in this caseMark Eichin1995-04-282-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5603 dc483132-0cff-0310-8789-dd5450dbe970
* Do not prototype krb_err_txt. kerberosIV/krb.h definesEzra Peisach1995-04-282-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5591 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (krshd, login.krb5, krlogind): KRB4_LIB needs toMark Eichin1995-04-272-3/+8
| | | | | | appear before KLIB since it uses des425. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5584 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use AC_CONST since we need it for v4Mark Eichin1995-04-272-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5582 dc483132-0cff-0310-8789-dd5450dbe970