aboutsummaryrefslogtreecommitdiff
path: root/src/clients/kvno
AgeCommit message (Collapse)AuthorFilesLines
2009-10-31make mark-cstyleTom Yu1-197/+198
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-10Move destest to builtin/des, because it depends on overriding someTom Yu1-3/+3
internals. Make depend. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22877 dc483132-0cff-0310-8789-dd5450dbe970
2009-09-16Re-run make depend without autoconf.h in the source treeGreg Hudson1-1/+8
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22775 dc483132-0cff-0310-8789-dd5450dbe970
2009-09-13Implement s4u extensionsGreg Hudson2-47/+133
Merge Luke's users/lhoward/s4u branch to trunk. Implements S4U2Self and S4U2Proxy extensions. ticket: 6563 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22736 dc483132-0cff-0310-8789-dd5450dbe970
2009-03-09Introduced '-u' option to kvno to enforce KRB5_NT_UNKNOWN princ typeZhanna Tsitkov1-6/+20
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22069 dc483132-0cff-0310-8789-dd5450dbe970
2009-01-05move generated dependencies out of Makefile.inKen Raeburn2-8/+6
Move automatically-generated dependencies into separate files in the source tree, and take the data out of Makefile.in. Keep the "make depend" rules for stripping out the dependencies from Makefile.in, in case some optional directories were missed, but everything that builds on my UNIX build has been converted. (Converting a directory just requires creating an empty "deps" file so that config.status can build the makefile, and then later running "make depend" in that directory to get the correct content for it.) Change configure scripts to incorporate the "deps" file when building each Makefile. This change requires the existence of a file "deps" in each source directory where we build a makefile, even if there are no sources for which to compute dependencies; a switch to GNU make would let us conditionalize that, but we can assess that later. Update dependencies for the generate Makefile itself to list the deps file. This will also require some minor tweaking of the Windows build, to make it incorporate the new deps file. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21701 dc483132-0cff-0310-8789-dd5450dbe970
2009-01-03Merge mskrb-integ onto trunkSam Hartman1-7/+13
The mskrb-integ branch includes support for the following projects: Projects/Aliases * Projects/PAC and principal APIs * Projects/AEAD encryption API * Projects/GSSAPI DCE * Projects/RFC 3244 In addition, it includes support for enctype negotiation, and a variety of GSS-API extensions. In the KDC it includes support for protocol transition, constrained delegation and a new authorization data interface. The old authorization data interface is also supported. This commit merges the mskrb-integ branch on to the trunk. Additional review and testing is required. Merge commit 'mskrb-integ' into trunk ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21690 dc483132-0cff-0310-8789-dd5450dbe970
2008-12-15Remove krb4 support from clients. Some of the code has beenGreg Hudson3-85/+6
simplified to remove architectural relics of the -4 and -5 options, but more simplification is likely possible, particularly in kinit. ticket: 6303 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21449 dc483132-0cff-0310-8789-dd5450dbe970
2008-11-04Don't build dependencies for v4rcp.c.Ken Raeburn1-3/+1
Rebuild dependencies for k5-buf.h, and without krb4 support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20964 dc483132-0cff-0310-8789-dd5450dbe970
2007-08-29-S sname option for kvnoTom Yu2-7/+32
New option to use krb5_sname_to_principal() for building principal names, which is useful for testing referrals. ticket: new target_version: 1.6.3 tags: pullup component: krb5-clients git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19894 dc483132-0cff-0310-8789-dd5450dbe970
2007-04-14Add resource data windows/version.rc for:Jeffrey Altman1-4/+15
kinit.exe, klist.exe, kdestroy.exe, kvno.exe kdeltkt.exe, kcpytkt.exe, kfwlogon.dll, kfwcpcc.exe gss-client.exe, gss-server.exe, kpasswd.exe Remove resource files: kfwcpcc.rc kfwlogon.rc and use windows/version.rc in their place Add resource make rules to Makefile.in files included in this commit Add missing _VC_MANIFEST_EMBED_EXE rule to kpasswd/Makefile.in Comment out addition Windows only make rules with ##WIN32## ticket: 5529 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19471 dc483132-0cff-0310-8789-dd5450dbe970
2007-01-16 This commit adds two new functions, krb5_server_decrypt_ticket_keyblock Jeffrey Altman1-11/+41
(private) and krb5_server_decrypt_ticket_keytab (public). These functions take a krb5_ticket as input and decrypt it using the provided key data. The public function is useful for higher level application protocols such a TLS-KRB5 and AFS RX-KRB5 which exchange a service but do not use the AP-REQ/AP-REP messages. This commit also adds new functionality to kvno which permits kvno when provided a keytab as input to verify whether or not the keytab contains a key that can successfully decrypt the obtains service ticket. ticket: 5349 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19062 dc483132-0cff-0310-8789-dd5450dbe970
2006-12-07 Modifications to support the generation and embedding Jeffrey Altman1-0/+1
of library manifests into generated EXEs and DLLs. Manifests are required for Windows XP and above when applications are built with Microsoft Visual Studio 2005 (aka VS8) or above. ticket: 3642 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18930 dc483132-0cff-0310-8789-dd5450dbe970
2006-05-23install headers into include/krb5Ken Raeburn1-0/+12
Create include/krb5 directory, and put krb5.h and (k5-)locate.h there in the build tree. Stub krb5.h in main include directory just includes krb5/krb5.h. Update dependencies, and add dependencies in a couple Makefiles that didn't have them. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18030 dc483132-0cff-0310-8789-dd5450dbe970
2006-05-18* configure.in: Set and substitute KSU_LIBS, SETENVOBJ, DO_TCL. GenerateKen Raeburn1-2/+2
makefiles for util/et, util/profile, lib/kdb, clients and those clients subdirectories built on UNIX, rather than running configure there. Deleted configure.in scripts for those directories, and changed Makefile.in definitions of thisconfigdir and mydir. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18018 dc483132-0cff-0310-8789-dd5450dbe970
2006-04-11Remove ChangeLog files from the source tree. From now on, theSam Hartman1-102/+0
subversion commit log entry needs to include information that would have been in the changelog. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-28Include autoconf.h early in sources, and disable use of @DEFS@Ken Raeburn3-0/+7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17794 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-26Initial enhanced error message support, similar to what I sent toKen Raeburn2-10/+32
krbdev except for some function renaming (krb5_free_error was already in use, so added _message to everything), and the context is allowed to be NULL (in which case we fall back to error_message() and storing no strings) to simplify some code. Low-level routines in the support library, using a private data structure; higher-level routines in libkrb5, using a krb5_context. Added error info strings to the KRB_ERR_GENERIC case in gc_via_tkt.c and the python sample service location plugin. Added code to kinit and kvno to look up and display the strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17776 dc483132-0cff-0310-8789-dd5450dbe970
2005-08-24Delete .cvsignore files; contents have already been Sam Hartman1-1/+0
set on svn:ignore properties. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17353 dc483132-0cff-0310-8789-dd5450dbe970
2004-08-31 * kvno.M: Update usageTom Yu3-4/+13
* kvno.c (xusage): Update usage message. ticket: 2677 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16709 dc483132-0cff-0310-8789-dd5450dbe970
2004-08-21 kvno: add -c ccache command line parameterJeffrey Altman2-11/+27
call krb5_free_unparsed_name() instead of free() to prevent crashes on Windows. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16680 dc483132-0cff-0310-8789-dd5450dbe970
2004-06-17Purge make targets and variables (and a few files) relating to the old,Ken Raeburn2-1/+4
unmaintained Mac OS 9 (and earlier) support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16473 dc483132-0cff-0310-8789-dd5450dbe970
2002-08-29* Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2-1/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
2002-08-29Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn1-0/+1
those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
2002-08-23Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2-1/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
2002-08-15 * kvno.c (do_v4_kvno): Initialize name, inst, realm to emptyTom Yu2-0/+6
strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14725 dc483132-0cff-0310-8789-dd5450dbe970
2002-07-30 * kvno.c (do_v4_kvno): If not compiling with v4 support, xusageEzra Peisach2-2/+7
does not take any arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14672 dc483132-0cff-0310-8789-dd5450dbe970
2002-07-29 * kdb5_util.M: added documentation for some options.Jen Selby2-1/+12
* kvno.M: added documentation of the "-q" and "-h" options. * kadmin.M: corrected documenation of "-k/-t" options. Added documentation for some other options. Updated the lists of aliases for commands, some command options, and some of the sample output. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14671 dc483132-0cff-0310-8789-dd5450dbe970
2002-07-28* kvno.c: Include stdlib.h.Ken Raeburn2-8/+14
(xusage): Renamed from usage; all callers changed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14670 dc483132-0cff-0310-8789-dd5450dbe970
2002-07-26add v4 support to kvnoKen Raeburn4-37/+130
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14669 dc483132-0cff-0310-8789-dd5450dbe970
2001-06-08Include unistd.h (if present) for getopt() prototypeEzra Peisach2-0/+7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13307 dc483132-0cff-0310-8789-dd5450dbe970
2000-08-02 * kvno.c (main): Compiler warning fixes - declare usage as static, andEzra Peisach2-8/+20
break out assignments within conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12596 dc483132-0cff-0310-8789-dd5450dbe970
2000-06-01Change wsanchez@apple -> tritan@mitWilfredo Sanchez1-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
2000-02-02* kvno.c (main): Use krb5_decode_ticket() instead ofDanilo Almeida2-1/+6
decode_krb5_ticket(), which is not part of API. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11985 dc483132-0cff-0310-8789-dd5450dbe970
1999-12-04* kvno.c (main): Use krb5_free_unparsed_name() isntead of free().Danilo Almeida3-12/+12
Free krb5 context when done. * Makefile.in: Build kvno under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11943 dc483132-0cff-0310-8789-dd5450dbe970
1999-10-26log tritan's changesTom Yu1-0/+7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
1999-10-26Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1-2/+2
that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
1998-12-05Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso2-0/+7
to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11081 dc483132-0cff-0310-8789-dd5450dbe970
1998-11-02ressurect files missed by mergeTom Yu4-0/+262
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11006 dc483132-0cff-0310-8789-dd5450dbe970