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
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