Commit Graph

103 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6c82fece47 Drop changing the password, really need kadmin/ldap support to do it
right (like add aes support, propper kvno handling etc).

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-02 21:53:17 +00:00
Love Hörnquist Åstrand
cf8f675961 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:50 +00:00
Love Hörnquist Åstrand
fe827a7b40 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:41 +00:00
Love Hörnquist Åstrand
af1a585734 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:32 +00:00
Love Hörnquist Åstrand
b4c5efcf3a wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:23 +00:00
Love Hörnquist Åstrand
dfa2b7030c use calloc and by that way avoid NULL de-ref, cid#31
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:21 +00:00
Love Hörnquist Åstrand
1f82ad5700 read dead code, cid#5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:11 +00:00
Love Hörnquist Åstrand
d6f7c4e272 use krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:29 +00:00
Love Hörnquist Åstrand
c630fd2375 switch to kcmuuid_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:17:14 +00:00
Love Hörnquist Åstrand
eceed3b5e2 switch to kcmuuid_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:17:03 +00:00
Love Hörnquist Åstrand
4ff39ca5b3 switch to kcmuuid_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:16:53 +00:00
Love Hörnquist Åstrand
366f4c76ae drop uuid.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:16:20 +00:00
Love Hörnquist Åstrand
ca4645d263 handle return value of krb5_storage_{read,write}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:15:45 +00:00
Love Hörnquist Åstrand
2f5206fe11 cursor.c is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:06:01 +00:00
Love Hörnquist Åstrand
a64eb2c00b cursor.c is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:51 +00:00
Love Hörnquist Åstrand
ad13c2b571 make get_first return uuid of cache, get_next fetch the next uuid and end_get do nothing but log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:40 +00:00
Love Hörnquist Åstrand
ae92936752 cursor is dead, add uuid to kcm_creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:29 +00:00
Love Hörnquist Åstrand
58b9d9cd60 cursor is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:18 +00:00
Love Hörnquist Åstrand
54ae1c514e include <uuid/uuid.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:07 +00:00
Love Hörnquist Åstrand
86f16fb48d add kcm_ccache_find_cred_uuid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:04:57 +00:00
Love Hörnquist Åstrand
41afa44c07 use krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:25:45 +00:00
Love Hörnquist Åstrand
6bb5d8d86f kcm_ccache_remove_cred_internal, call kcm_cursor_update to move cursor
forward if it was stepping on to be removed entry.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 20:30:24 +00:00
Love Hörnquist Åstrand
cf03a62739 Move the each of the cursors one step forward in the chain if creds matches.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 20:30:12 +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
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
3f8730bcea Adapt to chenge to krb5_cc_ops.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:23 +00:00
Love Hörnquist Åstrand
a7626a0831 remove one line.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:19 +00:00
Love Hörnquist Åstrand
bd6363ac0a Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:13 +00:00
Love Hörnquist Åstrand
bb7701aef2 Add missing op.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:05 +00:00
Love Hörnquist Åstrand
360bfcab37 Check if new credential cache exists, if not create one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 13:50:14 +00:00
Love Hörnquist Åstrand
abd1354315 Make work when moving to a non-existant cred-cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 13:33:42 +00:00
Love Hörnquist Åstrand
a760147457 first implementation of kcm-move-cache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 12:20:55 +00:00
Love Hörnquist Åstrand
0da674c673 use krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:44:00 +00:00
Love Hörnquist Åstrand
3556dc1513 s/krb5_free_creds_contents/krb5_free_cred_contents/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 19:34:33 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
80defeb51c (kcm_ccache_new_client): make root be able to pass the name
constraints, not the opposite. From Bryan Jacobs.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 06:25:06 +00:00
Love Hörnquist Åstrand
e802d28f7e make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 10:43:25 +00:00
Love Hörnquist Åstrand
5285917f50 fix warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 10:42:25 +00:00
Love Hörnquist Åstrand
b22da5088e First, it allows root to ignore the
naming conventions.  Second, it allows root to always perform any
operation on any ccache.  Note that root could do this anyway with FILE
ccaches

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 10:41:11 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
b2246be54a (kcm_ccache_new_client): Cast snprintf'ed value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 23:42:55 +00:00
Love Hörnquist Åstrand
a7f5f46400 ignore kcm_protos.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:41:56 +00:00
Love Hörnquist Åstrand
a5a01377aa more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 16:01:37 +00:00
Love Hörnquist Åstrand
890f83e05f Multicache kcm interation isn't done yet, let wait with this enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 06:21:38 +00:00
Love Hörnquist Åstrand
652da91adb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:52:01 +00:00
Love Hörnquist Åstrand
5fb033c34d Use the new unsigned integer storage types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:59:04 +00:00
Love Hörnquist Åstrand
7a46951b5a (kcm_op_retrieve): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-27 12:05:27 +00:00
Love Hörnquist Åstrand
1019cb16d4 (kcm_loop): Use HAVE_DOOR_CREATE, not HAVE_DOORS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 19:03:50 +00:00
Love Hörnquist Åstrand
9ccab13242 Maybe include <sys/param.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-30 15:10:15 +00:00