Commit Graph

128 Commits

Author SHA1 Message Date
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