aboutsummaryrefslogtreecommitdiff
path: root/src/clients/kpasswd
AgeCommit message (Collapse)AuthorFilesLines
2009-10-31make mark-cstyleTom Yu2-364/+366
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
2009-09-09In ksetpwd (a program we don't yet install), don't display the newGreg Hudson1-2/+0
password to stderr. Cherry-picked from Luke's s4u branch since it's an unrelated change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22719 dc483132-0cff-0310-8789-dd5450dbe970
2009-01-05move generated dependencies out of Makefile.inKen Raeburn2-12/+10
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-11-04Don't build dependencies for v4rcp.c.Ken Raeburn1-2/+4
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
2008-10-20Use asprintf instead of malloc/strcpy/strcat in many placesGreg Hudson1-4/+2
ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20901 dc483132-0cff-0310-8789-dd5450dbe970
2008-06-03Passing 0 to krb5_build_principal requires a castKen Raeburn1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20355 dc483132-0cff-0310-8789-dd5450dbe970
2008-02-19man page macro and hyphen fixesRuss Allbery1-2/+1
Fix various unescaped hyphens, lines starting with . that shouldn't be macros, undefined strings, and misspelled macros in the man pages. Found via man --warnings on a current Debian unstable system. ticket: new component: krb5-doc Version_Reported: 1.6.3 Target_Version: 1.6.4 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20228 dc483132-0cff-0310-8789-dd5450dbe970
2007-04-14Add resource data windows/version.rc for:Jeffrey Altman1-3/+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-30get_init_creds_opt extensibilityTom Yu2-17/+28
r18922@cathode-dark-space: coffman | 2006-12-04 18:30:15 -0500 First cut at making the get_init_creds_opt structure extendable and adding library functions to set options for preauthentication plugins. This does *not* include a compatibility function to work like Heimdal's krb5_get_init_creds_opt_set_pkinit() function. Hopefully, the test code that doesn't belong in kinit.c is obvious. r18929@cathode-dark-space: coffman | 2006-12-07 10:01:20 -0500 Remove extra "user_id" parameter. Add function which duplicates the Heimdal interface (if we can agree on what the matching attribute names should be). r18934@cathode-dark-space: coffman | 2006-12-08 15:28:03 -0500 Update to use the simplified interface for krb5_get_init_creds_opt_set_pa() Add code in kinit to process "-X" options as preauth options and pass them along. r18936@cathode-dark-space: coffman | 2006-12-11 12:04:26 -0500 Move prototypes for get_init_creds_opt_get_pa() and krb5_get_init_creds_opt_free_pa() into the preauth_plugin.h header rather than krb5.hin. ticket: new status: open component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19127 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-130/+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-02-27Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2-1/+5
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-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-06-25 * kpasswd.c (P1, P2): Cosmetic fix for prompts to avoidTom Yu2-2/+7
double colons. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16516 dc483132-0cff-0310-8789-dd5450dbe970
2004-06-07 * kpasswd.c (get_name_from_passwd_file): Do not cast return fromEzra Peisach3-1/+11
getuid() to int as argument to getpwuid. * ksetpwd.c: Include time.h for time() prototype. (main): Return 0 on success. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16417 dc483132-0cff-0310-8789-dd5450dbe970
2004-05-30Silence some gcc compilation warnings:Ken Raeburn2-5/+10
* ksetpwd.c (verify_creds, get_init_creds_opt_init, userinitcontext, init_creds): Now static. (main): Remove one of two variables named "ccache". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16375 dc483132-0cff-0310-8789-dd5450dbe970
2004-02-24ignore ksetpwdKen Raeburn1-0/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16114 dc483132-0cff-0310-8789-dd5450dbe970
2003-04-28* ksetpwd.c (init_creds): Let's use C comments for C code, shall we?Ken Raeburn2-1/+6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15377 dc483132-0cff-0310-8789-dd5450dbe970
2003-04-25Build ksetpw, a client for the Microsoft set password protocol. NotSam Hartman3-2/+324
of release quality yet, so don't actually install. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15374 dc483132-0cff-0310-8789-dd5450dbe970
2003-02-25Handle NULL result_string->data returned from error inTom Yu2-1/+6
krb5_change_password(). The SAMDATA() macro in lib/krb5/krb/preauth2.c seems to already be fixed. KfM's kpasswd equivalent still needs to be dealt with. ticket: 1055 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15204 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-07-18 * kpasswd.M: commented out the inclusion of man1/header.docJen Selby2-1/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14663 dc483132-0cff-0310-8789-dd5450dbe970
2001-10-30 * kpasswd.c (main): Do not free potentially NULL pointersEzra Peisach2-2/+8
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13904 dc483132-0cff-0310-8789-dd5450dbe970
2000-10-17 * kpasswd.c (main): Argument to krb5_read_password takes anEzra Peisach2-3/+8
unsigned int as argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12800 dc483132-0cff-0310-8789-dd5450dbe970
2000-07-29kpasswd.c (main): Warnings cleanupEzra Peisach2-16/+18
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12593 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-03-16Remove unused variablesEzra Peisach2-4/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12123 dc483132-0cff-0310-8789-dd5450dbe970
1999-12-151.1 branch changes -> trunkKen Raeburn2-8/+7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11954 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
1999-09-24copyright notice updates from 1.1 branchKen Raeburn1-1/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
1999-08-10Build kpasswd under windowsDanilo Almeida3-16/+47
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11636 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-02-18Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu2-2/+7
used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
1998-02-12Mass makefile/configure.in build system revampTheodore Tso3-5/+6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
1998-01-30 * kpasswd.c:Tom Yu5-0/+258
* kpasswd.M: * Makefile.in: * configure.in: New: Cygnus kpasswd client. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10394 dc483132-0cff-0310-8789-dd5450dbe970