Commit Graph

3334 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e270dfd78e (AcquirePKInitCreds): fail more gracefully
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:19:19 +00:00
Love Hörnquist Åstrand
49a4cd47b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:13 +00:00
Love Hörnquist Åstrand
7a6904bd9d if no mech have no session, its ok, just don't call it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:02 +00:00
Love Hörnquist Åstrand
785dfc3af3 provide prototype for sec_userok().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:15:13 +00:00
Love Hörnquist Åstrand
6acd69acc8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:37 +00:00
Love Hörnquist Åstrand
07a870bdf1 move ksetpag after initgroups to make it work on Linux when its without syscall hooks to change sys_setgroups preserve the pag. From abo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:14 +00:00
Love Hörnquist Åstrand
5c4742d6d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 15:16:56 +00:00
Love Hörnquist Åstrand
f2822370c3 If not root and not setuid, print warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 15:16:41 +00:00
Love Hörnquist Åstrand
6091b013cf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 05:01:24 +00:00
Love Hörnquist Åstrand
77e06cc8fe don't clean yacc/lex files in CLEANFILES, maintainers clean will do that for us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 05:00:27 +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
1b98e1e231 Print status to stdout.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 16:55:00 +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
764927d1d9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 20:04:40 +00:00
Love Hörnquist Åstrand
9d0c063d77 make encoding function independent of krb4 and krb5, enable removal of krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 20:04:19 +00:00
Love Hörnquist Åstrand
d1b8c3d056 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:28:09 +00:00
Love Hörnquist Åstrand
44495dda82 - options must be lexicographically ordered; again, options without
arguments must be placed before options with arguments.
- manual page cross references are done using the macro `.Xr',
  not the macro `.Nm' (used for command names instead).

From Igor Sobrado.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:27:51 +00:00
Love Hörnquist Åstrand
f4f67cc4d7 - options must be lexicographically ordered; again, options without
arguments must be placed before options with arguments.
- manual page cross references are done using the macro `.Xr',
  not the macro `.Nm' (used for command names instead).

From Igor Sobrado.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:22:23 +00:00
Love Hörnquist Åstrand
7f83c4dfb3 Don't assume display_string is truncated with NUL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 21:56:01 +00:00
Love Hörnquist Åstrand
241e3bfd29 print both "server" and "client"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 20:37:29 +00:00
Love Hörnquist Åstrand
508ee31997 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:30:22 +00:00
Love Hörnquist Åstrand
f5ff65e8b2 fix ifdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:29:48 +00:00
Love Hörnquist Åstrand
aa4ff31c8c Declare iruserok if needed, based on bug report from David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:29:23 +00:00
Love Hörnquist Åstrand
9eb0921481 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:42:50 +00:00
Love Hörnquist Åstrand
238e717568 Clear errno before calling the strtol functions. From Paul Stoeber to
OpenBSD by Ray Lai and Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:41:18 +00:00
Love Hörnquist Åstrand
623e559f60 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:37:17 +00:00
Love Hörnquist Åstrand
63579afa99 Report to syslog strings that start with NUL; prevents negative index
array access. Ray Lai of OpenBSD via Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:27:08 +00:00
Love Hörnquist Åstrand
240d98f20f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:14:57 +00:00
Love Hörnquist Åstrand
ece5f9603e Make krb5_get_init_creds_opt_free take a context argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +00:00
Love Hörnquist Åstrand
891f46953e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:48:24 +00:00
Love Hörnquist Åstrand
8e8a2d46f4 Forward decl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:47:07 +00:00
Love Hörnquist Åstrand
38270cde9d (add_list): fix alloc statement, From Alex Deiter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:21:01 +00:00
Love Hörnquist Åstrand
7a23f47ef3 (add_list): fix alloc statement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:17:56 +00:00
Love Hörnquist Åstrand
32df330c53 Only log when there are resources left.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:30:56 +00:00
Love Hörnquist Åstrand
653bb59432 Try free all resources.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:29:34 +00:00
Love Hörnquist Åstrand
cb603a5624 Avoid leaking memory. rename ->handle to ->handles.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 22:35:53 +00:00
Love Hörnquist Åstrand
ef5a0a83f1 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:01:40 +00:00
Love Hörnquist Åstrand
a79baec2e3 (AcquireCreds): free krb5_get_init_creds_opt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 20:16:29 +00:00
Love Hörnquist Åstrand
32219af692 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:07 +00:00
Love Hörnquist Åstrand
083bc44bdc x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:52:52 +00:00
Love Hörnquist Åstrand
94d736b2ab Include roken.h before the local headerfiles.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:14:13 +00:00
Love Hörnquist Åstrand
8833c418b6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 15:47:52 +00:00
Love Hörnquist Åstrand
585ce9cbb0 HP/UX defines SE in sys/uio.h, #undef it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 15:47:35 +00:00
Love Hörnquist Åstrand
362ecea7a3 Remove strerror workaround now that we don't include <X11/Xos.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 14:09:56 +00:00
Love Hörnquist Åstrand
1ab87e140b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 14:08:02 +00:00
Love Hörnquist Åstrand
3b896478e5 Don't include <X11/Xos.h>, its x11's "roken.h" and we do that just
fine ourself thanks.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 14:07:43 +00:00
Love Hörnquist Åstrand
e7c62c79bb Fix spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 13:37:28 +00:00
Love Hörnquist Åstrand
3d9e801723 x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 00:09:56 +00:00
Love Hörnquist Åstrand
489987bee3 Dont't include some streamspty headers here.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 00:09:25 +00:00
Love Hörnquist Åstrand
a8d177955e includes some STREAMSPTY header here to avoid ioctl vs socket_wrapper horror.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 00:08:28 +00:00