summaryrefslogtreecommitdiffstats
path: root/src/appl
Commit message (Collapse)AuthorAgeFilesLines
...
* gss-server.c: Re-added code to test import and export securityTheodore Tso1996-10-223-15/+141
| | | | | | | | | | | | | context. Yes, yes, I know this isn't the best place to have this test, but DO NOT REMOVE THIS TEST UNTIL WE HAVE IT CODED ELSEWHERE. Better slightly ugly sample server code than untested (and broken) library code.... Add code to print out the mechanism OID used by accept_sec_context. gss-client.c: Add code to allow user to specify the mechanism OID that gss-client should use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9230 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c: don't retry (and waste 7 seconds) on ECONNREFUSED, justBarry Jaspan1996-10-212-8/+6
| | | | | | fail immediately [krb5-appl/120] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9217 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.c, krlogin.c: don't print our own error message if kcmdBarry Jaspan1996-10-183-8/+16
| | | | | | | returns -1 (it always printed something in that case, and error_message(-1) prints a mess [krb5-appl/70] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9211 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (secure_fprintf): Use STDARG routines ifEzra Peisach1996-10-142-5/+28
| | | | | | present. [krb5-appl/108] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9168 dc483132-0cff-0310-8789-dd5450dbe970
* Misc debugging cleanups [71, 74]Sam Hartman1996-10-142-7/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9164 dc483132-0cff-0310-8789-dd5450dbe970
* Environment command argument handling sometimesSam Hartman1996-10-142-2/+8
| | | | | | prints bogus only. [75] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9163 dc483132-0cff-0310-8789-dd5450dbe970
* Remove rsaencpwd and krb4encpwd authentication. Bugs were beingSam Hartman1996-10-147-1124/+8
| | | | | | | | | reported and the code is old and wouldn't compile if you tried. Also, I don't think the libraries on which it depends are available. Besides, there is no excuse for read_password.c using setjmp and longjmp. [50] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9162 dc483132-0cff-0310-8789-dd5450dbe970
* * Use login.krb5 -f from klogindSam Hartman1996-09-304-39/+37
| | | | | | * Allow login.krb5 -f to authorize root login. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9135 dc483132-0cff-0310-8789-dd5450dbe970
* Fix goto labels so it compiles without krb4 supportSam Hartman1996-09-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9134 dc483132-0cff-0310-8789-dd5450dbe970
* * cmds.c (setpeer): Apply jik's fix so "-n" actually works asTom Yu1996-09-272-2/+8
| | | | | | intended. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9130 dc483132-0cff-0310-8789-dd5450dbe970
* Check in all of jik's patches besides the forward commandSam Hartman1996-09-217-3/+76
| | | | | | | | | | and init stanza. I think that as a low-priority fix, someone should rewrite the posix_signals stuff in sys_bsd.c to be more consistent with the rest of the code; it is correct but in a different style. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9102 dc483132-0cff-0310-8789-dd5450dbe970
* Preliminary fixed version of patch to deal with reading in credentialsSam Hartman1996-09-212-17/+38
| | | | | | and writing them out later. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9101 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c: fix a security-threating race condition: chown'ing theBarry Jaspan1996-09-112-6/+131
| | | | | | | | ccache to the user can be bad if the user can delete the file first and make it a symlink to something else. The solution is to re-create the ccache after login as setuid() to the user. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9084 dc483132-0cff-0310-8789-dd5450dbe970
* Remove left-over .Sanitize fileTheodore Tso1996-09-111-31/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9076 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.1: Update -x flag usage to reflect our behavior ofTom Yu1996-09-102-1/+6
| | | | | | dropping connection if encryption cannot be negotiated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9070 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-1023-28/+50
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* Don't allow the environment variable RESOLV_HOST_CONF to be set forTheodore Tso1996-09-072-0/+6
| | | | | | Linux's sake. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9057 dc483132-0cff-0310-8789-dd5450dbe970
* login.M: Document that login_krb4_convert is off by defaultTheodore Tso1996-09-063-3/+18
| | | | | | | | | login.c: Turn login_krb4_convert off by default, since it causes problems if you don't have krb524d running on the KDC. This is necessary because a Solaris socket bug causes login to hang for 45 seconds if krb524d isn't present on the KDC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9041 dc483132-0cff-0310-8789-dd5450dbe970
* TCP performance fix (see 2203 in krb5-bugs): write out encrypted dataSam Hartman1996-09-023-31/+54
| | | | | | | | and length as one packet, not with two calls to write. This should also happen to rsh, rcp, and possibly telnet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9020 dc483132-0cff-0310-8789-dd5450dbe970
* Removed Cygnus-specific infoJeff Bigler1996-08-304-278/+41
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9015 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrite from Cygnus. (Got rid of tmac.doc dependency, whichJeff Bigler1996-08-292-1459/+1508
| | | | | | breaks under HP-UX) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9006 dc483132-0cff-0310-8789-dd5450dbe970
* man page tweak from CygnusJeff Bigler1996-08-294-66/+67
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9005 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrite from Cygnus. (Got rid of dependency on tmac.doc, whichJeff Bigler1996-08-292-1216/+1225
| | | | | | breaks under HP-UX) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9004 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrites/tweaks/edits from CygnusJeff Bigler1996-08-296-334/+471
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9003 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix core dumpSam Hartman1996-08-221-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8964 dc483132-0cff-0310-8789-dd5450dbe970
* * Include new MH patch from kenh@cmf.nrl.navy.mil. I have audited theSam Hartman1996-08-223-293/+325
| | | | | | | | | | | | patch against the old patch and krb5 changes, and it looks clean. He claims it compiles and works; it's certainly not any worse than the previous patch. * Popper now checks the client name to see that it matches the supplied credentials. If I understand the previous code, it didn't exactly care who you Kerberos-authenticated as. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8963 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug that caused files transmitted by a NetBSD box to have fileSam Hartman1996-08-102-1/+8
| | | | | | | | | | names of (null). CVS: ---------------------------------------------------------------------- automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8922 dc483132-0cff-0310-8789-dd5450dbe970
* On systems with setup_term, don't define it in telnet.c or meSam Hartman1996-08-053-1/+12
| | | | | | | might get into nasty loops if tcgetent is defined in terms of setup_term. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8902 dc483132-0cff-0310-8789-dd5450dbe970
* s/struct fd_set/fd_set/gSam Hartman1996-08-052-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8901 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Determine sizeof short, int, long for secure.cEzra Peisach1996-07-302-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8861 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.c: Do not assume sizeof(long) = 4 for sending lengths OTWEzra Peisach1996-07-303-3/+24
| | | | | | * configure.in: Determine sizeof short, int, long for secure.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8860 dc483132-0cff-0310-8789-dd5450dbe970
* * Define a non-zero FUDGE_FACTOR for GSSAPI; I have it set to 64 now,Sam Hartman1996-07-273-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | even though I tend to see 52 bytes of increased data because I'm not sure that the 52 bytes is constant across all implementations ands options. * When allocating outbuf, set bufsize to the size that was actually allocated; it tends not to be nbyte+FUDGE_FACTOR exactly, and you smash the heap if you store a different size than you actually allocate. * If a secure_putbyte fails, set nout to zero so you don't run off the end of the buffer next time around. * Only write out foure bytes of net_len, no matter how big it is. The right answer is to have it be some 32-bit type but I'm not sure if I should use the krb5 type, the GSSAPI type, or what. (Remember, this code has ifdefs for KerberosIV without GSSAPI) * While we're at it, if secure_write fails while writing out a file in the client, notice the error. (a break in an inner loop didn't break out quite far enough) With these changes, I am able to get and put multi-megabyte files even on an Alpha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8847 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8840 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): the logic which dealt with multiple acceptorMarc Horowitz1996-07-241-207/+204
| | | | | | names and fallback was just broken. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8793 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-2215-747/+731
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo so that krsh doesn't exit when using the default portTheodore Tso1996-06-242-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8545 dc483132-0cff-0310-8789-dd5450dbe970
* Krb4: get the right includesSam Hartman1996-06-243-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8543 dc483132-0cff-0310-8789-dd5450dbe970
* Drop support for -u because it allows us to removeSam Hartman1996-06-244-243/+13
| | | | | | dependencies from utmp.h and it didn't work anyway. This fixes some Hpux compile problems as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8542 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind should do a better job of initializing output flags on ttySam Hartman1996-06-245-1/+48
| | | | | | | * Fix so login.krb5 compiles with Athena Kerberos libs (needed for rsaix build) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8540 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize auth_context to NULL before calling krb5_sendauth - otherwiseEzra Peisach1996-06-152-1/+4
| | | | | | | it is treated as pointing to valid memory... (Patch provided by Bill Sommerfeld) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8367 dc483132-0cff-0310-8789-dd5450dbe970
* Remove tests that are not needed with the pty library in placeEzra Peisach1996-06-152-22/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8366 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (authdata): misplaced braces caused server to not be able toKevin Mitchell1996-06-132-1/+8
| | | | | | | use ftp principle if it was present. Client looks for ftp first, then tries host; ftpd was looking only for host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-1020-20/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-062-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* When reading in the test value from a file, don't free freeTheodore Tso1996-06-062-2/+8
| | | | | | inbuf.value until after the last place where we use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8245 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Ezra's changes to allow compiling w/o krb4Tom Yu1996-06-042-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8212 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Ezra's patches to allow compilation w/o krb4Tom Yu1996-06-042-0/+15
| | | | | | support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8211 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in,configure.in: allow compilation w/o krb4 (Ezra'sTom Yu1996-06-043-1/+25
| | | | | | patches) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8210 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c: Ezra's patches to trim unsed arg fromTom Yu1996-06-041-6/+14
| | | | | | verify_krb_v5_tgt, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8209 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: back out previous changes and useTom Yu1996-06-033-7/+8
| | | | | | Ezra's patches instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8207 dc483132-0cff-0310-8789-dd5450dbe970