summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* * gss-server.c (test_import_export_context): Add second argumentEzra Peisach1996-03-032-3/+8
| | | | | | to gettimeofday. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7585 dc483132-0cff-0310-8789-dd5450dbe970
* gss-server.c (sign_server): Do better import/export security checking.Theodore Tso1996-03-024-38/+219
| | | | | | | | | | | | | | | If the received message to be signed is not printable (at least the first two characters are not), display the message in hex. Print the hex values of the incoming and outcoming packets, for your information. gss-misc.c (print_token, display_buffer): Two new tokens for displaying GSSAPI buffers, either has hex or as a printable string. gss-client.c (call_server): Add option to support reading in the message to be signed from a file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7583 dc483132-0cff-0310-8789-dd5450dbe970
* Get the nametype OID from gss_display_name, print it, and then releaseTheodore Tso1996-02-282-2/+21
| | | | | | | the nametype OID. This tests gss_display_name()'s ability to return a valid nametype, which can then be freed successfully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7570 dc483132-0cff-0310-8789-dd5450dbe970
* Add USE_ANAME for dbm library (if needed)Ezra Peisach1996-02-272-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7552 dc483132-0cff-0310-8789-dd5450dbe970
* Use MAXDNAME for the maximum length of a domain,Sam Hartman1996-02-263-6/+22
| | | | | | | | | | | *not* MAXHOSTNAMELEN, which is the maximum length of an argument to gethostname or sethostname. Look for arpa/nameser.h to find this constant, defining it to 256 inf not present in an included file. Call USE_ANAME in the configure.in, so db library is included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7549 dc483132-0cff-0310-8789-dd5450dbe970
* Use MAXDNAME for the maximum length of a domain,Sam Hartman1996-02-263-4/+14
| | | | | | | | | *not* MAXHOSTNAMELEN, which is the maximum length of an argument to gethostname or sethostname. Look for arpa/nameser.h to find this constant, defining it to 256 inf not present in an included file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7548 dc483132-0cff-0310-8789-dd5450dbe970
* Call USE_ANAME so we get the rightSam Hartman1996-02-262-0/+6
| | | | | | | | db libraries under Linux. (I'm not quite sure I understand Richard's db changes, but if I do understand them, this is correct.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7547 dc483132-0cff-0310-8789-dd5450dbe970
* Remove space from #endif lineSam Hartman1996-02-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7546 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the server side of the krlogin bug detecting eof in connection closeSam Hartman1996-02-266-6/+29
| | | | | | Also, import the ops changes to do with enable-athena. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7545 dc483132-0cff-0310-8789-dd5450dbe970
* * ext.h, utility.c (fatalperror, fatal): Add const to argumentEzra Peisach1996-02-243-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7519 dc483132-0cff-0310-8789-dd5450dbe970
* remove errno correctlyMark Eichin1996-02-241-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7517 dc483132-0cff-0310-8789-dd5450dbe970
* remove extraneous second include of stdlib.hMark Eichin1996-02-241-6/+1
| | | | | | | remove extra ; from previous merge remove declaration of errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7516 dc483132-0cff-0310-8789-dd5450dbe970
* more changes from cygnus sourceMark Eichin1996-02-243-1/+14
| | | | | | | | | | | | Fri Feb 16 15:51:59 1996 Mark Eichin <eichin@cygnus.com> * ftpcmd.y (yylex): error handling changes from kbalk@hp.com. Tue Jan 16 18:44:42 1996 Mark Eichin <eichin@cygnus.com> * ftpd.c (user): 331 is more appropriate for kuserok failure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7512 dc483132-0cff-0310-8789-dd5450dbe970
* update from cygnus sourcesMark Eichin1996-02-243-10/+32
| | | | | | | | | | | | | Fri Feb 16 15:50:51 1996 Mark Eichin <eichin@cygnus.com> * ftp.c (do_auth): return status handling fixes from kbalk@hp.com. Tue Jan 16 19:05:31 1996 Mark Eichin <eichin@cygnus.com> * ftp.c (login): move do_auth ... * cmds.c (setpeer): ... to just before login call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7511 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lint flame (added missing cast)Theodore Tso1996-02-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7474 dc483132-0cff-0310-8789-dd5450dbe970
* Only display secure_message if encryption actually enabledSam Hartman1996-02-102-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7467 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bug in v4 compatability: you don't checkSam Hartman1996-02-102-30/+37
| | | | | | v5 authenticator checksums when v4 is being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7466 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for stdlib.hEzra Peisach1996-02-076-1/+18
| | | | | | | * secure.c, pclose.c, ruserpass.c, ftp.c: Include stdlib.h if present for malloc declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7453 dc483132-0cff-0310-8789-dd5450dbe970
* Make clean removes ftpd (not ftp)Ezra Peisach1996-02-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7451 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.inRichard Basch1996-02-045-25/+39
| | | | | | Support --program-prefix, --program-suffix, --program-transform git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7435 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp (client mode) now uses rsh -x but still supports the old encryption inSam Hartman1996-02-016-164/+92
| | | | | | | | | | | | | server mode. * krshd will work in encrypting mode even when the port for stderr is null. * rcp will work if stdin isn't not a socket, but is a pipe in remote mode * krshd destroys forwarded credentials properly * For rsh, the secure_message got moved to the client; if you use a new client with an old server, you get secure_message twice, but it should be a useful change long-term. * Fixed typo in rcp man page. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7423 dc483132-0cff-0310-8789-dd5450dbe970
* * krshd: Make sure KRB5CCNAME gets set for forward creds; code could be much ↵Sam Hartman1996-01-315-17/+77
| | | | | | | | | | | cleaner. * forward.c: give caller handle to ccache so it can be destroyed. * krshd: destroy the ccache if it is non-null. * krlogind: Fix call, but don't destroy cache, as login.krb5 should do that any year now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7422 dc483132-0cff-0310-8789-dd5450dbe970
* Fixes to build on Linux;Sam Hartman1996-01-272-3/+5
| | | | | | never call fcntl(F_SETOWN) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7410 dc483132-0cff-0310-8789-dd5450dbe970
* Oops; I accidentally comitted a version of krloginSam Hartman1996-01-272-2/+3
| | | | | | | | | that didn't even compile. (I tested the binary in the wrong build tree.) Compiled and tested this time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7397 dc483132-0cff-0310-8789-dd5450dbe970
* Telnet really wants a DES key; have it ask for oneSam Hartman1996-01-262-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7393 dc483132-0cff-0310-8789-dd5450dbe970
* Fix delay in ^C processingSam Hartman1996-01-262-11/+27
| | | | | | caused by my OOB fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7392 dc483132-0cff-0310-8789-dd5450dbe970
* Disable resetting of tgs_enctypesSam Hartman1996-01-261-2/+2
| | | | | | until I hear a good reason for it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7391 dc483132-0cff-0310-8789-dd5450dbe970
* Update man pages with new optionsSam Hartman1996-01-243-64/+101
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7375 dc483132-0cff-0310-8789-dd5450dbe970
* * Add checksum support to klogind making sure encrypted authenticatorsSam Hartman1996-01-245-135/+251
| | | | | | | | | | | | | | cannot be replayed against unencrypted connections. * Updated checksumming in kshd to be compatible with klogind so they use the same client code. CVS: * Fixed Makefile to install kshd and klogind not kr*d * Updated option process in krlogind and kshd per messages to c.p.k. ---------------------------------------------------------------------- automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7372 dc483132-0cff-0310-8789-dd5450dbe970
* Check for prototypes so that KRB5_STDARG_P worksEzra Peisach1996-01-223-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7360 dc483132-0cff-0310-8789-dd5450dbe970
* Simplified to simply require the use of WITH_ANAME or USE_KDB5_LIBRARYRichard Basch1996-01-221-1/+1
| | | | | | to specify the need for dbm inclusion/testing/compilation flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7350 dc483132-0cff-0310-8789-dd5450dbe970
* Fix a memory leak and reversed argumentsSam Hartman1996-01-202-4/+9
| | | | | | in my previous commit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7342 dc483132-0cff-0310-8789-dd5450dbe970
* In the client, construct a checksum from the command lineSam Hartman1996-01-203-3/+44
| | | | | | | | | | | | | | | and remote user and encode them in the authenticator. In the daemon, if a checksum is present, verify it. This change *should* make it possible to use rsh in a secure fassion provided that you always use a client that has checksumming. If you do not use encrypted rsh, then the command line cannot be spoofed, but the standard input and output can still be spoofed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7341 dc483132-0cff-0310-8789-dd5450dbe970
* In des_read, check to see if read returns 0 and reportSam Hartman1996-01-192-1/+5
| | | | | | a closed connection if it does. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7339 dc483132-0cff-0310-8789-dd5450dbe970
* Mainline utmp and login cleanups from hartmans_pty_utmp:Sam Hartman1996-01-197-133/+58
| | | | | | | | * Fix utmp handling on Solaris for wtmpx records * Replace krlogin's SIGURG handler with a call to select squashing Solaris ctrl-c bug * Fix utmp on systems without pututline so ttyslot is only used when it works git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7338 dc483132-0cff-0310-8789-dd5450dbe970
* Deal with sys_errlistSam Hartman1996-01-193-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7337 dc483132-0cff-0310-8789-dd5450dbe970
* Portability fixes: don't declare errno everSam Hartman1996-01-195-2/+18
| | | | | | and don't declare sys_errlist unless you need to. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7336 dc483132-0cff-0310-8789-dd5450dbe970
* Fix loop so that a ftp/host@REALM is not required,Sam Hartman1996-01-182-4/+11
| | | | | | but host/host@REALM will also work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7334 dc483132-0cff-0310-8789-dd5450dbe970
* Include sys/select.h for AIXSam Hartman1996-01-183-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7333 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: add gssftp to CONFIG_DIRS so that the GSSAPIMark Eichin1996-01-152-1/+5
| | | | | | implementation of ftp gets built as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7316 dc483132-0cff-0310-8789-dd5450dbe970
* Sanitize and cvsignore files for gssftpMark Eichin1996-01-147-0/+173
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7314 dc483132-0cff-0310-8789-dd5450dbe970
* add gssftp to things-to-keepMark Eichin1996-01-141-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7313 dc483132-0cff-0310-8789-dd5450dbe970
* Cygnus implementation of GSSAPI-based ftp client and server.Mark Eichin1996-01-1437-0/+14111
| | | | | | | | See README.gssftp for history and details. Bugs, comments to <eichin@cygnus.com>. Be sure to forward any changes made at MIT as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7312 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.c, krlogin.c: (main): Ultrix cc does not support automaticEzra Peisach1996-01-113-3/+10
| | | | | | aggregate initiailzation of structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7309 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c (error): Convert to use varargsEzra Peisach1996-01-113-7/+37
| | | | | | * configure.in: Check for stdarg.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7308 dc483132-0cff-0310-8789-dd5450dbe970
* kcmd.c (getport): Clear the sin structure to be zero. (From Doug Engbert.)Theodore Tso1996-01-115-7/+50
| | | | | | | | | | | | | | | krsh.c (main): Added code to default port to 544 if service not found. (From Doug Engbert.) krlogin.c (main): Added code to default port to 543 or 2105 if service not found. (From Doug Engbert.) login.c (main): Save KRB5CCNAME environment variable, which may have been set by forward.c. Add code for SGI to set environment for its /etc/TIMEZONE (untested). Don't print MOTD twice on Suns, added #ifdef NO_MOTD. (Patches from Doug Engbert). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7295 dc483132-0cff-0310-8789-dd5450dbe970
* Removed extern global of krb5_kdc_req_sumtype, which wasn't being usedTheodore Tso1996-01-112-1/+5
| | | | | | anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7292 dc483132-0cff-0310-8789-dd5450dbe970
* forward.c (get_for_creds): Removed no longer used functionTheodore Tso1996-01-103-165/+55
| | | | | | | | kerberos5.c (kerberos5_forward): Convert from using get_for_creds() from forward.c to using the official library routine, krb5_fwd_tgt_creds(). Misc. lint cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7285 dc483132-0cff-0310-8789-dd5450dbe970
* forward.c (get_for_creds): Removed no longer used functionTheodore Tso1996-01-103-158/+10
| | | | | | | kcmd.c (kcmd): Convert from using get_for_creds() from forward.c to using the official library routine, krb5_fwd_tgt_creds(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7284 dc483132-0cff-0310-8789-dd5450dbe970
* Removed sys/fcntl.h checking (always use fcntl.h instead)Richard Basch1996-01-044-8/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7268 dc483132-0cff-0310-8789-dd5450dbe970