aboutsummaryrefslogtreecommitdiff
path: root/src/appl/gss-sample
AgeCommit message (Collapse)AuthorFilesLines
2011-03-21add gss_pname_to_uid test to gss-serverLuke Howard1-0/+19
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/moonshot-mechglue-fixes@24735 dc483132-0cff-0310-8789-dd5450dbe970
2010-11-28Use for loops for recursion in the Windows build, cutting down on theGreg Hudson1-1/+1
verbiage in Makefile.in files. For correctness of output, every Makefile.in mydir= definition is changed to use $(S) instead of /. ticket: 6826 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24536 dc483132-0cff-0310-8789-dd5450dbe970
2010-10-06Merge users/lhoward/sasl-gs2 to trunkGreg Hudson2-9/+117
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24436 dc483132-0cff-0310-8789-dd5450dbe970
2010-05-16Update dependenciesKen Raeburn1-2/+6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24041 dc483132-0cff-0310-8789-dd5450dbe970
2010-04-30Add IAKERB mechanism and gss_acquire_cred_with_passwordGreg Hudson3-13/+136
Merge branches/iakerb to trunk. Includes the following: * New IAKERB mechanism. * New gss_acquire_cred_with_password mechglue function. * ASN.1 encoders and decoders for IAKERB structures (with tests). * New shortcuts in gss-sample client and server. * Tests to exercise SPNEGO and IAKERB using gss-sample application. ticket: 6712 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23960 dc483132-0cff-0310-8789-dd5450dbe970
2010-04-24Add a Python test script to exercise the GSS sample appGreg Hudson2-0/+43
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23937 dc483132-0cff-0310-8789-dd5450dbe970
2010-04-24Add a sentinel to the sample gss-server after the socket is ready, andGreg Hudson1-0/+1
use it in gssapi.exp in the dejagnu test suite instead of sleeping. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23934 dc483132-0cff-0310-8789-dd5450dbe970
2010-01-03Some unsigned/signed warning cleanupEzra Peisach1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23568 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-24Mark and reindent what's left of the appl directoryGreg Hudson4-947/+933
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23342 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-22Consolidate Makefile variables now that we have only a single globalGreg Hudson2-4/+2
configure script: $(SRCTOP) --> $(top_srcdir) $(srcdir)/$(thisconfigdir) --> $(top_srcdir) $(thisconfigdir) --> $(BUILDTOP) $(myfulldir) --> $(mydir) ticket: 6583 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23308 dc483132-0cff-0310-8789-dd5450dbe970
2009-10-31make mark-cstyleTom Yu4-18/+18
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
2009-02-02Remove unnecessary pointer casts in args to free,memcpy,memset,memchr except ↵Ken Raeburn1-1/+1
unicode, windows code git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21875 dc483132-0cff-0310-8789-dd5450dbe970
2009-01-05move generated dependencies out of Makefile.inKen Raeburn2-14/+12
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
2008-12-01Convert many uses of sprintf to snprintf or asprintfGreg Hudson1-6/+10
ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21258 dc483132-0cff-0310-8789-dd5450dbe970
2007-04-14Add resource data windows/version.rc for:Jeffrey Altman1-7/+23
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-04-11Move autoconf.h inclusion before tests for HAVE_UNISTD_H and HAVE_SYS_TIME_HEzra Peisach1-1/+3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19423 dc483132-0cff-0310-8789-dd5450dbe970
2007-03-28make dependKen Raeburn1-3/+3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19301 dc483132-0cff-0310-8789-dd5450dbe970
2007-03-25Configure appl test programs from top levelKen Raeburn1-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19272 dc483132-0cff-0310-8789-dd5450dbe970
2007-03-25Include autoconf.hKen Raeburn1-0/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19271 dc483132-0cff-0310-8789-dd5450dbe970
2006-12-07 Modifications to support the generation and embedding Jeffrey Altman1-0/+2
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-10-15Cleanup some warnings on missing prototypesEzra Peisach2-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18715 dc483132-0cff-0310-8789-dd5450dbe970
2006-04-11Remove ChangeLog files from the source tree. From now on, theSam Hartman1-481/+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-04-11Remove .Sanitize and .rconf files, no longer usedKen Raeburn1-40/+0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17888 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-31make depend, now with dependency sortingKen Raeburn1-7/+9
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17811 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-11Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn1-1/+1
include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
2006-02-27Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2-2/+6
krb5 to build under the Microsoft Visual Studio 8 compiler in 64-bit mode and produce file names that do not conflict with the names produced by the 32-bit build. That patch was modified to work on Unix and also include processor dependent pre-processor definitions to remove warnings. ticket: 3415 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17680 dc483132-0cff-0310-8789-dd5450dbe970
2005-10-27make dependKen Raeburn1-1/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17457 dc483132-0cff-0310-8789-dd5450dbe970
2005-10-21Renamed variable 'log' to 'logfile' and made it staticKen Raeburn2-40/+47
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17448 dc483132-0cff-0310-8789-dd5450dbe970
2005-10-21reindent to style in doc/coding-style, via gnu indentKen Raeburn3-1178/+1196
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17447 dc483132-0cff-0310-8789-dd5450dbe970
2005-10-21Jeff's patches for a multi-threaded gss-sample suite, modified to not break theKen Raeburn4-32/+315
single-threaded UNIX case. (Tested on Linux/x86.) Needs stylistic cleanup at some point. ticket: 3214 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17445 dc483132-0cff-0310-8789-dd5450dbe970
2005-08-24Delete .cvsignore files; contents have already been Sam Hartman1-2/+0
set on svn:ignore properties. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17353 dc483132-0cff-0310-8789-dd5450dbe970
2004-12-30run "make depend"Ken Raeburn1-1/+0
In most library directories, this just affects where the line breaks are. In most other directories, it's just dropping a trailing blank line. One or two files really do have updated dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16987 dc483132-0cff-0310-8789-dd5450dbe970
2004-03-08Change subdir processing so that SUBDIRS will contain the configuredKen Raeburn2-1/+4
subdirs only for the makefile in the directory with the configure script, and will have only $(LOCAL_SUBDIRS) elsewhere. Drop the use of "MY_SUBDIRS=." to override SUBDIRS in favor of this way of keeping SUBDIRS empty. Drop other uses of MY_SUBDIRS in favor of LOCAL_SUBDIRS or (in one case, the top level) overriding the SUBDIRS setting from pre.in. One less thing to keep tweaking as configure scripts get reorganized and merged. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16158 dc483132-0cff-0310-8789-dd5450dbe970
2004-02-27 * gss-client.c: change if (this) if (that) => if (this && that)Jeffrey Altman2-170/+172
ticket: new target_version: next tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16136 dc483132-0cff-0310-8789-dd5450dbe970
2004-02-11update copyright notices on gss sample appsTom Yu3-0/+69
update copyrights ticket: new target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16056 dc483132-0cff-0310-8789-dd5450dbe970
2004-02-10 gss-client.c: remove extraneous parameters from client_establish_context()Jeffrey Altman2-5/+10
ticket: new target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16052 dc483132-0cff-0310-8789-dd5450dbe970
2004-02-07* update usage() for gss-clientJeffrey Altman3-1/+7
ticket: 2212 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16027 dc483132-0cff-0310-8789-dd5450dbe970
2004-02-062004-02-06 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman3-14/+36
* Add new command line switches to the gss-client to support the use of GSS_C_SEQUENCE_FLAG or to disable the use of either GSS_C_MUTUAL_FLAG or GSS_C_REPLAY_FLAG ticket: 2212 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16023 dc483132-0cff-0310-8789-dd5450dbe970
2004-01-31* gss-misc.c: Include sys/time.h or time.h, to get struct timeval declarationKen Raeburn2-14/+26
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15992 dc483132-0cff-0310-8789-dd5450dbe970
2004-01-30Address issues discovered while testing updated Windows gss sample client.Jeffrey Altman3-145/+161
A Missing parameter to a sign_server call in gss-server.c and the need for a select() call in read_all() to prevent blocking indefinitely. ticket: new target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15986 dc483132-0cff-0310-8789-dd5450dbe970
2003-01-09Between the 1.1 and 1.2 releases of Kerberos, the gss-sample protocolSam Hartman4-30/+69
changed. People seem to use this sample for interop testing, so support for the old protocol is needed. This commit adds a -v1 flag to the gss-client that will use the old protocol. The server does not yet support the old protocol, so the ticket remains open. Ticket: 881 Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15103 dc483132-0cff-0310-8789-dd5450dbe970
2002-12-30* gss-misc.c (send_token, recv_token): Open-code the math to send and receiveKen Raeburn2-5/+21
the length as four bytes in network order, rather than using the first four bytes of a size_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15071 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/+2
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-06-14Use ws2_32.lib instead of wsock32.libKen Raeburn2-2/+7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14505 dc483132-0cff-0310-8789-dd5450dbe970
2002-04-30Free the context when it is non-null not when it is nullSam Hartman3-2/+9
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14428 dc483132-0cff-0310-8789-dd5450dbe970
2001-12-05Fix typo in last checkinEzra Peisach1-1/+0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14045 dc483132-0cff-0310-8789-dd5450dbe970
2001-12-05 * gss-client.c, gss-misc.c, gss-server.c: Cast buffer length toEzra Peisach4-10/+17
int in length argument for printf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14038 dc483132-0cff-0310-8789-dd5450dbe970
2001-11-19 * gss-server.c (server_establish_context, sign_server): EnsureEzra Peisach2-10/+39
that memory blocks are only freed once. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13991 dc483132-0cff-0310-8789-dd5450dbe970