summaryrefslogtreecommitdiffstats
path: root/src/clients
Commit message (Collapse)AuthorAgeFilesLines
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-223-12/+34
| | | | | | | | | 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
* * kinit.M: Document -R optionEzra Peisach1996-07-073-7/+78
| | | | | | | | | | | * kinit.c (krb5_tgt_gen): Code from krb5_validate_tgt() modified to handle both renewal and validation of postdated tickets. (krb5_renew_tgt): Takes a credential cache with a tgt with the "renewable flag" set and asks ths kdc to renew it. Cache is wiped and only new tgt is stored. (main): New option -R to renew tickets. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8559 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-105-5/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Use USE_ANAMESam Hartman1996-05-262-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8124 dc483132-0cff-0310-8789-dd5450dbe970
* * Ignore the error if we cannot make ksu set-uid; we don't want toSam Hartman1996-05-232-1/+7
| | | | | | abort make install in this situation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8117 dc483132-0cff-0310-8789-dd5450dbe970
* Do not keep source cache open if we are going to useSam Hartman1996-05-202-5/+10
| | | | | | it as the target cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8053 dc483132-0cff-0310-8789-dd5450dbe970
* Significant security fixes to ksuSam Hartman1996-05-197-73/+148
| | | | | | | | | | | | | | | | * Use source euid all throughout procedure of opening source ccache, Richard's code had a race condition. * Use target euid while looking up .k5login and constructing target ccache. * Avoid chowns completely; they create race conditions. Fchown could have been used if we wanted to be really careful, but they aren't necessary and we would have to violate abstractions. * Clean up several conditions that would allow users to delete arbitrary files of the user they were ksuing to without authorization. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8049 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in heuristic.c:Richard Basch1996-05-134-866/+853
| | | | | | | | | | | | | Change the euid before opening the source ccache, so we don't use someone else's ccache. authorization.c: users only in /.k5login were not permitted to use the '-e cmd' feature. The man page does not indicate that this should not be permitted... Also, lots of indentation cleanup was done... I couldn't read the code before. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8013 dc483132-0cff-0310-8789-dd5450dbe970
* replaced des3-md5 with des3-shaRichard Basch1996-05-102-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7972 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (krb5_validate_tgt): new function, takes a credential cache with anKen Raeburn1996-05-042-1/+64
| | | | | | | | | | tgt with the "invalid flag" set, and asks the kdc to validate it. Wipes cache and stores only the newly validated credential. (After all, there won't be any others, because the invalid krbtgt couldn't have gotten them.) Most of the code is taken from krb5_mk_req, since it did the right thing. (main): add -v option, validates the ticket already in the selected cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7894 dc483132-0cff-0310-8789-dd5450dbe970
* Cygnus merge: new option -s to set tgt start timeKen Raeburn1996-05-023-9/+50
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7884 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
* 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
* proven's ksu fixesMark Eichin1996-04-102-100/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7784 dc483132-0cff-0310-8789-dd5450dbe970
* Remove no longer relevant ksu.1Ezra Peisach1996-03-201-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7679 dc483132-0cff-0310-8789-dd5450dbe970
* use AC_HEADER_STDARGKen Raeburn1996-03-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7629 dc483132-0cff-0310-8789-dd5450dbe970
* Do not free memory before done using it. (The credential was pointingEzra Peisach1996-02-222-2/+9
| | | | | | to memory that is freed and then referenced again) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7501 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.cRichard Basch1996-02-091-11/+20
| | | | | | | | | Only initialize the credentials cache if credentials were obtained. This means you won't blow away the old cache if an incorrect password was entered, and it also allows for the os_context time offset to be set properly in the credentials cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7463 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.inRichard Basch1996-02-044-8/+24
| | | | | | Support --program-prefix, --program-suffix, --program-transform git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7435 dc483132-0cff-0310-8789-dd5450dbe970
* Implement -e option for keytabsSam Hartman1996-01-272-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7406 dc483132-0cff-0310-8789-dd5450dbe970
* Use symbolic names for the encryption types.Richard Basch1995-12-051-3/+6
| | | | | | Support 3-DES, too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7162 dc483132-0cff-0310-8789-dd5450dbe970
* There is no longer a dependency on libkadmRichard Basch1995-12-053-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7160 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of krb5_clockskew to be context->clockskewTheodore Tso1995-11-082-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7064 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-033-9/+6
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* Handle case when ticket cache name does not include a colonEzra Peisach1995-10-102-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6956 dc483132-0cff-0310-8789-dd5450dbe970
* * ksu.M: Document authorization changesEzra Peisach1995-10-067-646/+35
| | | | | | | | | | | | | | | | | * ksu.1: Remove as was out of date. * Makefile.in (DEFINES): Remove LOCAL_REALM definition. * ksu.h: Remove local_realm from krb5_authorization. * authorization.c (krb5_authorization): Remove old copied code that is in krb5 library and is out of date. Use the configurable aname to localname methods. * main.c (main): Add krb5_secure_config_files so that users cannot override system config files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6943 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (KRB5_DEFAULT_LIFE): default life should be 10 hours,Mark Eichin1995-10-022-1/+5
| | | | | | not eight, for practical/social reasons. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6919 dc483132-0cff-0310-8789-dd5450dbe970
* klist.M: Updated the man page to include all of the supported optionsTheodore Tso1995-09-153-26/+120
| | | | | | | klist.c (main, show_credential): Reimplement the -e option, and display the encryption used by the session key and of the ticket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6796 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-062-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6701 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c : Remove krb5_enctype references, and replace withChris Provenzano1995-09-062-2/+6
| | | | | | krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6666 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c : Remove krb5_enctype references, and replace withChris Provenzano1995-09-062-24/+5
| | | | | | krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6665 dc483132-0cff-0310-8789-dd5450dbe970
* Use libkadm string handling routinesPaul Park1995-08-219-215/+180
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6563 dc483132-0cff-0310-8789-dd5450dbe970
* Use libkadm string conversion routinesPaul Park1995-08-214-90/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6559 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't link with -lkadmTom Yu1995-07-292-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6357 dc483132-0cff-0310-8789-dd5450dbe970
* Add full prototypes for all functions. Fix calls to functions thatEzra Peisach1995-07-207-36/+193
| | | | | | were missing an argument (usually context) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6317 dc483132-0cff-0310-8789-dd5450dbe970
* Reorganize library logic and use LDFLAGS from configurePaul Park1995-07-0712-31/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6250 dc483132-0cff-0310-8789-dd5450dbe970
* Remove LDFLAGSPaul Park1995-07-072-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6248 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c (krb5_get_tkt_via_passwd): Pass context toTom Yu1995-07-062-1/+6
| | | | | | os_localaddr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6240 dc483132-0cff-0310-8789-dd5450dbe970
* Change PROTOTYPE -> KRB5_PROTOTYPETheodore Tso1995-06-212-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6113 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: HAS_GETUSERSHELL -> HAVE_GETUSERSHELLTom Yu1995-06-203-4/+10
| | | | | | * configure.in: add test for getusershell() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6104 dc483132-0cff-0310-8789-dd5450dbe970
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-1512-9/+37
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-098-22/+21
| | | | | | 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-092-6/+8
| | | | | | | 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
* Integrated patch from OpenVision which allows klist to list keytabs asTheodore Tso1995-06-082-76/+242
| | | | | | well as ccache's. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5984 dc483132-0cff-0310-8789-dd5450dbe970
* Update usage message and manual page to reflect current reality. (-e -fEzra Peisach1995-05-113-1/+13
| | | | | | arguments). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5795 dc483132-0cff-0310-8789-dd5450dbe970
* More missing contextsEzra Peisach1995-05-093-9/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5788 dc483132-0cff-0310-8789-dd5450dbe970
* Numerous context reference s were missing. Alerted to first byEzra Peisach1995-05-092-6/+15
| | | | | | wolfgang@wsrcc.com (Wolfgang Rupprecht). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5785 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c : Changed progname to argv[0] for consistancy withChris Provenzano1995-05-042-20/+24
| | | | | | kdestroy, and to cleanup the code some. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5717 dc483132-0cff-0310-8789-dd5450dbe970
* * kdestroy.c : Added #include <string.h>Chris Provenzano1995-05-042-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5716 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c : #include <string.h>, a must for prototypes of variousChris Provenzano1995-05-042-1/+8
| | | | | | string routines on systems where int != void *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5714 dc483132-0cff-0310-8789-dd5450dbe970