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
Love Hörnquist Åstrand
ecc93009c2
more text about usage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:41:06 +00:00
Love Hörnquist Åstrand
85fcff758d
man_MANS += kcm.8
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 13:31:37 +00:00
Love Hörnquist Åstrand
6304199ec7
initial manpage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 13:30:24 +00:00
Love Hörnquist Åstrand
f6a4a143c1
(init_socket): rename variable sun to un to avoid namespace collision.
...
(handle_stream): Cast arg of krb5_warnx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:04:39 +00:00
Luke Howard
d3bff0ec79
Allow system credentials cache to be configured in krb5.conf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:22:49 +00:00
Luke Howard
7969a14ae3
fix warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-04 05:58:54 +00:00
Luke Howard
f0836321b9
Automatically change machine passwords on expiry, and write to keytab
...
with correct salt/kvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-04 05:57:59 +00:00
Luke Howard
9505008e9c
fix more SO_PEERCRED breakage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:50:12 +00:00
Luke Howard
63aae9c6e8
Fix compile error for SO_PEERCRED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:39:37 +00:00
Love Hörnquist Åstrand
77ebf59fe4
use -1 as the invalid pid number
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:33:45 +00:00
Love Hörnquist Åstrand
885c805e3b
support SCM_CREDS (for NetBSD)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:33:05 +00:00
Luke Howard
29e616b3f6
Use kcm_client
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:14:00 +00:00
Love Hörnquist Åstrand
6c9040b3cb
LDADD += LIB_pidfile
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:06:51 +00:00
Love Hörnquist Åstrand
007d25998b
make it possible to build on systems without SO_PEERCRED (still doesn't work)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:06:24 +00:00
Love Hörnquist Åstrand
49785787e2
cast argument to isdigit to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:54:19 +00:00
Luke Howard
c3ac82ceac
Fix typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:52:56 +00:00
Luke Howard
94724a2443
fix uninitialized variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:21:15 +00:00
Luke Howard
cd8bcb8404
Initial version of KCM daemon
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:20:00 +00:00