summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * kerberos5.c (kerberos_is()) : Initialize keytabid to NULLChris Provenzano1995-04-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5568 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (telnetd): use KRB4_LIB directly.Mark Eichin1995-04-273-7/+7
| | | | | | * configure.in: use WITH_KRB4 as-is. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5561 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (telnet): use KRB4_LIB directly.Mark Eichin1995-04-273-7/+7
| | | | | | * configure.in: use WITH_KRB4 as-is. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5560 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCALINCLUDES): find kerberosIV headersMark Eichin1995-04-272-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5559 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCALINCLUDE): get kerberosIV headers for login.cMark Eichin1995-04-273-11/+17
| | | | | | | | | | (login.krb): link against krb4 libs. * configure.in: check AC_CONST so it works. * configure.in: use WITH_KRB4 as-is. * Makefile.in (krshd, krlogind): use KRB4_LIB directly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5558 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c (answer_auth): Should not call krb5_cc_close afterEzra Peisach1995-04-274-10/+27
| | | | | | | | | | | | | krb5_cc_destroy. (encrypted rcp failed). * krlogind.c (main): -S option was not getting a keytab. (passing a char * to krb5_compat_recvauth). * krshd.c (recvauth): extract the client principal from ticket before calling krb5_kuserok on a NULL principal. (main): -S option was not getting a keytab (passing a char *). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5536 dc483132-0cff-0310-8789-dd5450dbe970
* Need to copy the client principal out of ticket before calling krb5_ok on aEzra Peisach1995-04-272-0/+7
| | | | | | NULL principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5535 dc483132-0cff-0310-8789-dd5450dbe970
* When port number specified on command line, htons was missingEzra Peisach1995-04-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5533 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c, client.c : Use krb5_auth_con_genaddrs() instead ofChris Provenzano1995-04-273-26/+26
| | | | | | krb5_auth_con_setaddrs(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5531 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c (kcmd()) : Don't use hp->h_name use host_save insteadChris Provenzano1995-04-272-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5530 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos5.c (kerberos5_is): use kt_resolve to get keytab, toMark Eichin1995-04-262-2/+14
| | | | | | correspond to current interface to rd_req. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5529 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.c (EMPTY): linux has UT_UNKNOWN, not EMPTYMark Eichin1995-04-262-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5524 dc483132-0cff-0310-8789-dd5450dbe970