Commit Graph

17 Commits

Author SHA1 Message Date
Nicolas Williams
db72e66eb9 kadm5: Add functions to check for bogus keys
Introduce kadm5_all_keys_are_bogus() and kadm5_some_keys_are_bogus()
which will be used in later changes.

Change-Id: I3a07ffe07bee7d6eb17c3d2eae91c107e0bac255
2015-03-14 16:08:34 -04:00
Nicolas Williams
b80b21c8a8 Make kadmin ext work when lacking get-keys priv
When we added the get-keys privilege we lost the ability to setup
keytabs with the kadmin ext command.  The fix is to note that we got
bogus key data and randkey (as we used to).
2014-03-25 21:45:10 -05:00
Nicolas Williams
45294a93a7 Added a disting get-keys authorization for kadmind. 2011-07-22 16:04:52 -05:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
6f6a384257 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 18:02:56 -07:00
Love Hornquist Astrand
e184e053dd Catch memory allocation failures [CID-61] 2009-07-30 12:56:21 +02:00
Love Hörnquist Åstrand
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
Love Hörnquist Åstrand
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
Love Hörnquist Åstrand
8d40c2994b check return value of alloc functions, from Charles Longeau
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand
cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
a39e594514 (_kadm5_unmarshal_params): avoid signed-ness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:27:34 +00:00
Johan Danielsson
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
Johan Danielsson
55d983ad81 marshalling of config parameters
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7329 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-09 17:55:30 +00:00
Assar Westerlund
a1c6915bb1 (store_principal_ent): encoding princ_expire_time and pw_expiration in
correct order


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6438 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 10:24:08 +00:00
Assar Westerlund
3e405c4fff (ret_principal_ent): set `n_tl_data'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4470 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-27 04:03:34 +00:00
Assar Westerlund
f9178480b4 add kadm5_{store,ret}_principal_ent_mask.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4282 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-06 03:22:52 +00:00
Johan Danielsson
64b2efbe7e Kadm5 marshalling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3786 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-05 23:30:31 +00:00