Commit Graph

68 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand 2e32855a02 (update_client_creds): in case there is no UCRED_VERSION, skip LOCAL_PEERCRED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-30 09:06:04 +00:00
Love Hörnquist Åstrand c848386885 include <sys/ucred.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-30 08:41:18 +00:00
Love Hörnquist Åstrand 2a9eb0e77c Use krb5_set_password instead of krb5_change_password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:04:17 +00:00
Luke Howard 1752f2749e * kcm/connect.c: fix arguments to kcm_log() when reporting
sendmsg() error

* kcm/connect.c: don't send socket address in msghdr, it
  returns an already connected error on Linux


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 02:35:17 +00:00
Love Hörnquist Åstrand 752ef4692a fix example
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-20 13:32:44 +00:00
Love Hörnquist Åstrand a3850b13de (kcm_door_server): make static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-07 00:35:10 +00:00
Love Hörnquist Åstrand 93aadcfbfa (disallow_getting_krbtgt): Declare.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-07 00:31:29 +00:00
Love Hörnquist Åstrand 0cf4c47531 document --disallow-getting-krbtgt and --door-path
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 14:31:20 +00:00
Love Hörnquist Åstrand 87fd836b5f (kcm_op_retrieve): check server for krbtgt, not client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 10:59:00 +00:00
Love Hörnquist Åstrand 3ada6dc6c1 ignore SIGPIPE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 10:58:14 +00:00
Love Hörnquist Åstrand 90645a3e39 Add option to disallow getting krbtgt out from from KCM. KCM will do
the fetching part itself.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 10:17:43 +00:00
Luke Howard 0222337891 If ticket is expired, reacquire credentials instead of renewing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 01:43:23 +00:00
Love Hörnquist Åstrand d13128e136 fix doors support, fix signedness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:43:30 +00:00
Love Hörnquist Åstrand 55b273e5b9 add --door-path=
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:42:21 +00:00
Love Hörnquist Åstrand 3877f75808 Include <alloca.h> at the same time as <door.h>. XXX replace this with
the mmap trick hinted in the doors manual pages.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:35:17 +00:00
Love Hörnquist Åstrand ffe400d29e (generate_random_pw): fix signed-ness warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:29:58 +00:00
Love Hörnquist Åstrand 71064a0d38 (update_client_creds): fix compile error in the getpeerucred case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:25:13 +00:00
Love Hörnquist Åstrand 04674a6739 Maybe include <door.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:21:58 +00:00
Love Hörnquist Åstrand 1bc72b4961 add extern door_path;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:20:37 +00:00
Love Hörnquist Åstrand fbd562b700 add dependcy on kcm_protos.h
add lib depency on LIB_door_create


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:51:50 +00:00
Love Hörnquist Åstrand 084b3b2d2a change format for expantion variables in default_cc_name to
%{variable} to not confuse them with shell ditto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 13:15:58 +00:00
Love Hörnquist Åstrand 4c4b29144e add LOCAL_PEERCRED and experimental doors support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 12:53:32 +00:00
Love Hörnquist Åstrand d7c30f7c50 (do_request): use sendmsg to send the reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:32:16 +00:00
Love Hörnquist Åstrand 691e382d2e remove prototypes and add <kcm_protos.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:10:25 +00:00
Love Hörnquist Åstrand 218a3acab8 (kcm_SOURCES): add headerfiles
(kcm_protos.h): generate prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:09:03 +00:00
Love Hörnquist Åstrand 842f9eae85 fix error in last commit, use right function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:07:25 +00:00
Love Hörnquist Åstrand 3a7c83e59b s/HAS_GETPEERUCRED/HAVE_GETPEERUCRED/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:02:32 +00:00
Love Hörnquist Åstrand 294cda226b include <ucred.h> if we have getpeerucred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 13:10:03 +00:00
Love Hörnquist Åstrand 6550dd690b (update_client_creds): add support for getpeerucred and getpeereid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 13:09:13 +00:00
Love Hörnquist Åstrand e77e0b508d KRB5CCNAME needs an literal uid, not ${uid}, spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 11:58:27 +00:00
Love Hörnquist Åstrand f3ab57d7bf Merge the description and function jumptables into one structure.
Use the length of the array when checking if opcode is value, not a constant.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 21:28:44 +00:00
Love Hörnquist Åstrand 89e2c558e2 struct kcm_op: jumptable structure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:46:28 +00:00
Love Hörnquist Åstrand af6eb0f463 Don't test HAVE_DAEMON since roken supplies it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:39:35 +00:00
Love Hörnquist Åstrand 78103d6bc6 move declaration of detach_from_console away from here to kcm_locl.h
Don't test HAVE_DAEMON since roken supplies it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:37:36 +00:00
Love Hörnquist Åstrand 7a9666ae1d move declaration of detach_from_console here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:36:04 +00:00