Nicolas Williams
dfc7ec92fa
Make kadm5_lock() and unlock work, and add kadmin commands for them.
...
The libkadm5 functions hdb_open() and close around all HDB ops. This
meant the previous implementation of kadm5_lock() and unlock would
always result in a core dump. Now we hdb_open() for write in
kadm5_lock() and hdb_close() in kadm5_unlock(), with all kadm5_s_*()
functions now not opening nor closing the HDB when the server context
keep_open flag is set.
Also, there's now kadmin(8) lock and unlock commands. These are there
primarily as a way to test the kadm5_lock()/unlock() operations, but
MIT's kadmin.local also has lock/unlock commands, and these can be
useful for scripting (though they require much care).
2011-07-22 21:07:48 -05: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
Nicolas Williams
58d72035f1
Added kadm5_lock() and unlock.
2011-07-22 16:04:52 -05:00
Nicolas Williams
6e04b05e9d
Initial support for kadm5_randkey_principal_3(), needed by krb5_admin.
...
NOT TESTED YET.
2011-07-22 16:04:52 -05:00
Love Hornquist Astrand
f1c0c1bba3
prefix SOCKET symbols with rk_
2009-11-25 05:29:18 +01:00
Asanka Herath
d84119813e
No AF_UNIX on Windows and no SIGPIPE and SIGXCPU
2009-11-24 10:12:44 -08: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
284d45bbbc
use hdb_db_dir() and hdb_default_db()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:27:27 +00:00
Love Hörnquist Åstrand
5118c90498
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +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
Love Hörnquist Åstrand
0b7181dd58
add kadm5_ad_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:55:25 +00:00
Johan Danielsson
23edf06a5b
rename header file flag macro
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-16 20:57:44 +00:00
Johan Danielsson
53d1dfb3a1
add more fields to client context; remove prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-11 15:58:57 +00:00
Assar Westerlund
b003cf8c08
(_kadm5_acl_check_permission): update prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 11:13:06 +00:00
Assar Westerlund
22da605365
(kadm_ops): add kadm_nop
...
more prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 17:05:34 +00:00
Assar Westerlund
6e30943f99
(struct kadm_func): add chpass_principal_with_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-23 23:05:49 +00:00
Assar Westerlund
4b0b470708
(_kadm5_set_keys_randomly): add prototype
...
(kadm5_log_foreach): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7513 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 23:09:34 +00:00
Johan Danielsson
a64011fae7
prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 13:00:52 +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
e7b9616810
(kadm5_server_context): add config_params struct and remove acl_file;
...
bump protocol version number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7330 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-09 17:57:03 +00:00
Assar Westerlund
1e21aad9f0
(_kadm5_client_recv): update prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6957 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-13 02:56:53 +00:00
Assar Westerlund
98e06393a7
(_kadm5_setup_entry): change prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6132 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-04 18:44:30 +00:00
Johan Danielsson
8e1f2aba53
proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6099 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-03 17:11:11 +00:00
Johan Danielsson
a6b3246ddd
move stuff from kadm5_locl.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6071 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-03 16:32:03 +00:00
Johan Danielsson
7f969a9fdd
Move _kadm5_{privs,string{_to_{string,privs} from kadm5_locl.h.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4515 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-01 05:10:24 +00:00
Johan Danielsson
569d00f1b8
Private functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4024 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-16 10:51:37 +00:00