Commit Graph

18 Commits

Author SHA1 Message Date
Nicolas Williams
ea83f068e9 kadm5/kadmin: Add read-only mode
Now we can have read-only kadmind instances.
2020-09-08 00:25:40 -05:00
Jeffrey Altman
db859520b4 lib/kadm5: use krb5_enomem() where possible
Change-Id: I487fbc640a8f793f0aa02ef4c94099e09241d616
2018-12-25 16:57:55 -06:00
Jeffrey Altman
50ebc1491a lib/kadm5: improve kadm_c_ error handling
Perform error checking for each function call and consistently return
errors at the point of failure.

Refactor functions to use a common exit path.  Preserve error messages
stored in the kadm5_client_context.context when appropriate.

Change-Id: I7aa04020e4de3454066f0d88ba805fed999dbd1a
2018-12-25 16:57:55 -06:00
Roland C. Dowdeswell
af011f57fc Provide server side kadm5_chpass_principal_3() with ks_tuple implementation.
We enable kadm5_chpass_principal_3() in the server side of the
library.  The client kadm5 library calls will still return the
error KAMD5_KS_TUPLE_NO_SUPP.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2011-11-29 14:47:37 -06:00
Nicolas Williams
0d90e0c4d0 Complete --keepold support and fix crasher in kadmin cpw -r --keepold. 2011-07-22 16:07:06 -05:00
Nicolas Williams
e16360e2db Add --keepold option to cpw. 2011-07-22 16:07:05 -05:00
Love Hörnquist Åstrand
33b06fbcb9 catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:26 +00:00
Love Hörnquist Åstrand
8cf907f08a switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:55 +00: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
dbc39600e2 Clear error-string when introducing new errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:50:10 +00:00
Love Hörnquist Åstrand
740309eb47 Clear error-string when introducing new errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:42:11 +00:00
Love Hörnquist Åstrand
ee050659b1 Constify password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-08 11:30:53 +00:00
Johan Danielsson
97e3bcbade call _kadm5_connect
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-11 16:00:19 +00:00
Assar Westerlund
592be2a027 (kadm5_c_chpass_principal_with_key): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-23 22:56:25 +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
Assar Westerlund
64b318534d (kadm5_c_chpass_principal): new _kadm5_client_recv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6951 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-13 02:55:36 +00:00
Johan Danielsson
54378aee2e Add client support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3789 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-05 23:32:43 +00:00