summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * krshd.c: If checksumming is required & ALWAYS_V5_KUSEROK isRichard Basch1996-04-212-6/+18
| | | | | | | | defined, incorrect messages were being displayed for V4 clients. Additionally, various errors were not being displayed with the trailing newline. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7852 dc483132-0cff-0310-8789-dd5450dbe970
* Fix keytab prototypeSam Hartman1996-04-211-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7851 dc483132-0cff-0310-8789-dd5450dbe970
* * Remove documentation of how krlogind gets its command line optionsSam Hartman1996-04-215-33/+110
| | | | | | | | | | | | | | from its name, because it doesn't any more. Same for kshd. * Document and implement -i option to ignore checksums. Restore default mode to accept and process checksums if provided. * Bring back the warning about only using -c with Kerberos5. The documentation (both install.texi and the man pages) clearly state that the -c option shouldnot be used in conjunction with Kerberos4, so warn users if they try. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7849 dc483132-0cff-0310-8789-dd5450dbe970
* Document installing BSD utilities,Sam Hartman1996-04-202-20/+454
| | | | | | | in particular talking about checksums and other confusing issues. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7848 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in last night's commitSam Hartman1996-04-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7845 dc483132-0cff-0310-8789-dd5450dbe970
* Add Doug Engert's patches to dealSam Hartman1996-04-193-20/+64
| | | | | | | | | with vendor logins and packet mode on systems that don't support it. Also, clean up spaces in Makefile.in, replacing with tabs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7844 dc483132-0cff-0310-8789-dd5450dbe970
* More option handling changesSam Hartman1996-04-182-3/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7839 dc483132-0cff-0310-8789-dd5450dbe970
* some changelog entries mark didn't bring overKen Raeburn1996-04-181-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7838 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the expect string so that it doesn't assume that the client isTheodore Tso1996-04-172-1/+9
| | | | | | | | | using its fully qualified domain name as its local hostname. We now check to make sure that FTP banner contains $localhostname, plus optional characters (which can be the domainname depending on the system.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7824 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in (LOGINLIBS): Remove DECLARE_SYS_ERRLIST since it's noTheodore Tso1996-04-175-299/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | longer necessary. krcp.c (verifydir, allocbuf, rsource, source, sink): Don't use sys_errlist[]; just call error_message() instead, since we depend on com_err anyway. krshd.c (recvauth): krlogind.c (recvauth): Don't actually check the checksum unless it is required. Old (pre-beta 5) clients sent a checksum of random garbage (such as their pid) which is impossible to actually check on the server side. (Grad student stupidity strikes again.) (fatalperror): Don't use sys_errlist[] to get the right error message; just depend on com_err instead, since we're using it anyway. krshd.c (doit): krlogind.c (do_krb_login): Fix logic so that if checksums are required, and the checksum is valid, don't syslog the stupid warning message about "Checksums are only required for v5 clients...." krcp.c, krshd.c, krlogind.c: Miscellaneous -Wall cleanups krlogind.c (getpty): Removed dead code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7823 dc483132-0cff-0310-8789-dd5450dbe970
* Added ftp and ecat to the list of services which should be converted.Theodore Tso1996-04-172-0/+8
| | | | | | | This really ought to be something that's configurable in the profile... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7822 dc483132-0cff-0310-8789-dd5450dbe970
* Removed kadmin.old from list of things to keepTheodore Tso1996-04-172-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7821 dc483132-0cff-0310-8789-dd5450dbe970
* Wed Mar 6 05:02:36 1996 Mark Eichin <eichin@cygnus.com>Ken Raeburn1996-04-172-0/+10
| | | | | | | * libupdate.sh: $ARCHIVE does not delete when creating. Explicitly remove $library when using --force. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7820 dc483132-0cff-0310-8789-dd5450dbe970
* * dump-utmp.c: New file. Not automatically used by anything, but may be usefulKen Raeburn1996-04-175-49/+179
| | | | | | | | | | | | | | | | for examining utmp/wtmp files when comparing behavior against system software. * update_utmp.c (pty_update_utmp): Always use id "cons" for console. For HP-UX, omit "kl" prefix. Reindent for readability. * update_wtmp.c (ptyint_update_wtmp): For HP-UX, copy ut_id and ut_type from input utmp structure. Reindent for readability. Wed Mar 27 21:14:33 1996 Marc Horowitz <marc@mit.edu> * init_slave.c (pty_initialize_slave): Spurious signal stuff which did nothing deleted. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7819 dc483132-0cff-0310-8789-dd5450dbe970
* * Changes to not use streams on HPUXSam Hartman1996-04-165-2/+37
| | | | | | | | * Changes to abort the session if telnetd receives certain options such as environment or DISPLAY options before authentication and encryption is negotiated or not negotiated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7818 dc483132-0cff-0310-8789-dd5450dbe970
* Drop support for option names in argv[0]Sam Hartman1996-04-165-66/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7817 dc483132-0cff-0310-8789-dd5450dbe970
* Changes so HPUX doesn't use streams. ThisSam Hartman1996-04-163-4/+13
| | | | | | | | may break on HPUX10 depending on how you should get the name of the pts side of /dev/ptym/clone. I don't have an HPUX10 system to test on. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7816 dc483132-0cff-0310-8789-dd5450dbe970
* Added V5_USE_SHARED_LIBSRichard Basch1996-04-151-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7815 dc483132-0cff-0310-8789-dd5450dbe970
* Don't declare open()Sam Hartman1996-04-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7814 dc483132-0cff-0310-8789-dd5450dbe970
* Have pty_cleanup() fork on systems with vhangup()Sam Hartman1996-04-155-6/+62
| | | | | | | so that the right controlling terminal can be used; needed on HP and others possibly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7813 dc483132-0cff-0310-8789-dd5450dbe970
* Remove setpgrp() call from krlogindSam Hartman1996-04-153-10/+20
| | | | | | | | | as libpty deals. Use setsid() instead of setpgrp() in krshd if possible. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7812 dc483132-0cff-0310-8789-dd5450dbe970
* Store the forwarded credentials in /tmp/krb5cc_p<pid> (like krlogind)Richard Basch1996-04-132-11/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7811 dc483132-0cff-0310-8789-dd5450dbe970
* Destroy any forwarded credentials when we cleanup. (They were stored inRichard Basch1996-04-132-1/+15
| | | | | | an unusual location, so they are not likely to be reused by other sessions.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7810 dc483132-0cff-0310-8789-dd5450dbe970
* Reflect today's reality... it hasn't been edited in a whileRichard Basch1996-04-131-6/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7809 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed MD5 routines to be preceded with krb5_Richard Basch1996-04-133-22/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7806 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to begin with krb5_ (like was done with MD5)Richard Basch1996-04-136-72/+77
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7805 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to be preceded with krb5_ (I ran into a namingRichard Basch1996-04-137-81/+86
| | | | | | | conflict with the standard MD5 library calls in another application, and this version has non-standard calling arguments.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7804 dc483132-0cff-0310-8789-dd5450dbe970
* Fix wrapper macros so they don't try to dereference a function pointerTheodore Tso1996-04-122-40/+53
| | | | | | | | | | | | as a data value. This doesn't work if you're using hpux cc, since functions are aligned on 2-byte boundaries, but data has to be accessed on 4-byte boundaries. Accessing a function as a data value isn't ANSI C portable anyway. :-) Wrapper macros now take a function pointer, and check to see if the function pointer is non-NULL, instead of taking a (*funptr), and seeing if the function when treated as data object is non-NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7803 dc483132-0cff-0310-8789-dd5450dbe970
* On a Macintosh, turn on kdc_timesync and use the v4 credentials cacheTheodore Tso1996-04-122-2/+15
| | | | | | by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7802 dc483132-0cff-0310-8789-dd5450dbe970
* Move time offset code from stash_as_reply to verify_as_reply, and fixTheodore Tso1996-04-122-11/+19
| | | | | | it so that it actually works. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7801 dc483132-0cff-0310-8789-dd5450dbe970
* When doing the time offset adjustments, make sure the microsecondsTheodore Tso1996-04-122-0/+10
| | | | | | field doesn't go negative. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7800 dc483132-0cff-0310-8789-dd5450dbe970
* forward.c: Use a saner naming convention for the credentials cache.Richard Basch1996-04-123-8/+45
| | | | | | kerberos5.c: Add a cleanup function to destroy the credentials cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7799 dc483132-0cff-0310-8789-dd5450dbe970
* Call a krb5 cleanup routine to cleanup forwarded credentials, if necessaryRichard Basch1996-04-123-15/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7798 dc483132-0cff-0310-8789-dd5450dbe970
* Integrated OpenVision's changes into the most recent MIT code. ThisMarc Horowitz1996-04-123-0/+330
| | | | | | | revision is what I'd call the easy stuff. Some more controversial stuff remains to be done, which is why I'm doing a checkin now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7797 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the old Sandia kadmin codeTheodore Tso1996-04-1252-9258/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7795 dc483132-0cff-0310-8789-dd5450dbe970
* Return GSS_S_CRED_UNAVAIL on if krb5_cc_set_flags() returns an error,Theodore Tso1996-04-122-1/+8
| | | | | | | since that's the call that will return an error if the credentials files doesn't exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7794 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed code to correctly handle errors reported from the mechanismTheodore Tso1996-04-122-31/+47
| | | | | | layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7793 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): Use the matching key_data's kvno;Richard Basch1996-04-112-1/+7
| | | | | | | don't assume that key_data[0]'s kvno is necessarily the matching key_data's kvno. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7792 dc483132-0cff-0310-8789-dd5450dbe970
* * kcmd.c: Cleaned up whitespace and removed commented & unused cruftRichard Basch1996-04-114-39/+35
| | | | | | | | | | | * krlogind.c, krshd.c: Allow the recvauth routine to find any key in the keytab for which the user is trying to login. The host may be known as many names. Additionally, for krlogind, clean up the error handling for bad authentication (potential null dereference and a misleading message because of the wrong authentication system being used) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7791 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the chronology of two of my previous checkinsRichard Basch1996-04-111-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7790 dc483132-0cff-0310-8789-dd5450dbe970
* Added V5_USE_SHARED_LIBRichard Basch1996-04-114-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7789 dc483132-0cff-0310-8789-dd5450dbe970
* V4 srvtab extraction did not do proper principal translationRichard Basch1996-04-112-16/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7788 dc483132-0cff-0310-8789-dd5450dbe970
* Mostly output formatting fixes.Richard Basch1996-04-113-33/+34
| | | | | | Also, rather than figuring out the default host key, leave it to the library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7787 dc483132-0cff-0310-8789-dd5450dbe970
* Small fix in case anyone tries compiling without the keytab fallbackRichard Basch1996-04-111-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7786 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_svc_key.c (read_service_key): First try to read the V4Richard Basch1996-04-113-1/+78
| | | | | | | | service key from the V4 srvtab, and if it fails, try the keytab. A * instance will be translated into the default instance component (usually the FQDN of the local hostname). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7785 dc483132-0cff-0310-8789-dd5450dbe970
* proven's ksu fixesMark Eichin1996-04-102-100/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7784 dc483132-0cff-0310-8789-dd5450dbe970
* oops, ted already got itMark Eichin1996-04-101-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7783 dc483132-0cff-0310-8789-dd5450dbe970
* actually build afsstring2key.cMark Eichin1996-04-101-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7782 dc483132-0cff-0310-8789-dd5450dbe970
* Added afsstring2key.c to the list of files to be compiledTheodore Tso1996-04-102-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7781 dc483132-0cff-0310-8789-dd5450dbe970
* add meeting stuffMark Eichin1996-04-101-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7780 dc483132-0cff-0310-8789-dd5450dbe970