20 Commits

Author SHA1 Message Date
14195658a4 kadmin: del_enctype check for bogus keys
If kadmind returned bogus keys it means that the user lacks the
get-keys permission.   Generate a warning and exit.

Change-Id: Ib76dd86b65bd84a00f3e27c245b9cfc0173fff56
2015-03-14 16:08:39 -04:00
edb6c1b075 kadmin: del_enctype whitespace
Fix whitespace and bracing in del_enctype().

No functional change.

Change-Id: I4e70b381aa54a6b0965c88713fbfb4d29bc4495e
2015-03-14 16:08:36 -04:00
e23a1efdc9 Fixes for updates of KADM5_KVNO but not KEY_DATA and vice-versa.
It turns out that updates of kvno but not key data and vice-versa are
both, allowed and actually done (e.g, in kadmin's ank).  Doing the right
thing in these cases turns out to be a bit tricky, but this commit ought
to do it.
2011-07-22 16:07:10 -05:00
433b1d5073 drop RCSID 2010-03-16 12:52:58 -07:00
da376b3c48 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 17:19:00 -07:00
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
091fba8a25 return 1 on failure, update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:29:46 +00:00
6956494a09 (del_enctype): fix off-by-one error in del_enctype
From: <ragge@ludd.luth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 14:13:17 +00:00
5836537f76 argument number checks are now done by slc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-05 11:41:22 +00:00
d970c48c81 print error messages to stderr; change all in-string quoting to use "
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-04 15:09:42 +00:00
9929f779ec move kadmin-commands.h from kadmin_locl.h so kadmind does not depend on it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 15:04:07 +00:00
d7f9fac88e convert to use slc; also add stash subcommand
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 19:19:45 +00:00
88b39cfb98 fix argument count check after getarg change; spotted by
mark@MCS.VUW.AC.NZ


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-19 07:26:52 +00:00
9c1353f1f8 add option parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:19:20 +00:00
9fcce1fa4a (del_enctype): set ignore correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-03 02:10:30 +00:00
f78ece7c59 (usage): don't use arg_printusage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7594 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-14 02:37:49 +00:00
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
71add2421f (del_enctype): try not to leak memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7440 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-25 22:50:30 +00:00
90d1f9800a new file for deleting enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7433 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-25 22:31:25 +00:00