Commit Graph

19498 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
db342e4e55 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 18:30:59 +00:00
Love Hörnquist Åstrand
54fb63d929 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 18:01:24 +00:00
Love Hörnquist Åstrand
542712c702 spelling, from Jason McIntyre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 17:57:00 +00:00
Love Hörnquist Åstrand
1d64c2435a Test if commit mail works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:58:52 +00:00
Love Hörnquist Åstrand
0dd050478c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:32 +00:00
Love Hörnquist Åstrand
c35f417298 Add randi.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:17 +00:00
Love Hörnquist Åstrand
9228149078 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 20:27:41 +00:00
Love Hörnquist Åstrand
031692fe75 Free list of limit enctypes if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:51:00 +00:00
Love Hörnquist Åstrand
d3807ad882 Add hideous glue for (NFS) clients that wants to limit the available
enctypes to what it can support (encryption in kernel). If there is no
enctypes selected for this credential, reset it to the default set of
enctypes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:57 +00:00
Love Hörnquist Åstrand
862eb1e0dc Implement GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:17 +00:00
Love Hörnquist Åstrand
2994c5a57a (gsskrb5_cred): add list of supported enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:46:01 +00:00
Love Hörnquist Åstrand
bdff5b6032 (gss_krb5_set_allowable_enctypes): use the length of the array passed
in, stop leaking memory, check for error conditions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:43:50 +00:00
Love Hörnquist Åstrand
f2b595ad48 Use heimdal-bugs@h5l.se.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 12:25:01 +00:00
Love Hörnquist Åstrand
dbf5e2eaec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:55:39 +00:00
Love Hörnquist Åstrand
760ffa0e99 Spelling, from raga <raga@comcast.net> via Bjorn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:53:20 +00:00
Love Hörnquist Åstrand
20034b70e9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:38:59 +00:00
Love Hörnquist Åstrand
9d61957d2c drop test for broken getnameinfo, that old aix is no longer relevant.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:36:29 +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
ef44166f62 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:17:24 +00:00
Love Hörnquist Åstrand
08a1332f42 Add $Id$ tag.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:17:13 +00:00
Love Hörnquist Åstrand
e2571a3178 indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:16:28 +00:00
Love Hörnquist Åstrand
25fc4d469a Set error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:55 +00:00
Love Hörnquist Åstrand
f523c291f5 clear error strings
.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:30 +00:00
Love Hörnquist Åstrand
1dda5d8b5f clear error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:05 +00:00
Love Hörnquist Åstrand
aa3ae69d42 Set error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:14:26 +00:00
Love Hörnquist Åstrand
a115c5af61 add PAC_CONSTRAINED_DELEGATION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:14:06 +00:00
Love Hörnquist Åstrand
6348a6849a Tell what principal we are not finding for all KRB5_CC_NOTFOUND.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:13:31 +00:00
Love Hörnquist Åstrand
c4b3ce1721 mdoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:12:35 +00:00
Love Hörnquist Åstrand
f85c99c51b (kadm5_s_get_principal): use right context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:11:46 +00:00
Love Hörnquist Åstrand
1cd4fe8eb8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:53 +00:00
Love Hörnquist Åstrand
01f6b946a2 spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:35 +00:00
Love Hörnquist Åstrand
2e356b6607 Allow trailing NULs. We allow this since MIT Kerberos sends an strings
in the NEED_PREAUTH case that includes a trailing NUL.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:09:37 +00:00
Love Hörnquist Åstrand
7a0820554b darwin supports native pthreads.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:08:08 +00:00
Love Hörnquist Åstrand
dd946c632b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 09:23:05 +00:00
Love Hörnquist Åstrand
b8720c577e update(c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:46:56 +00:00
Love Hörnquist Åstrand
b395cbefb3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:34:15 +00:00
Love Hörnquist Åstrand
dab9ffc913 document kadmin add_enctype functionallity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:33:55 +00:00
Love Hörnquist Åstrand
bc60cac790 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:25:08 +00:00
Love Hörnquist Åstrand
24b1a5e7fc test new kadmin add_enctype functionallity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:22:31 +00:00
Love Hörnquist Åstrand
17562715a4 Add new command, add_enctype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:14:18 +00:00
Love Hörnquist Åstrand
0fd3c74ce7 Add support for adding a random key enctype to a principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:12:30 +00:00
Love Hörnquist Åstrand
9fe7e832c7 Return the same error codes as a windows KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:05:53 +00:00
Love Hörnquist Åstrand
09495e7722 KRB5KDC_ERR_PREAUTH_FAILED is also a password failed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:04:38 +00:00
Love Hörnquist Åstrand
81a108b1d0 Make handling of replying e_data more generic, from metze.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:01:12 +00:00
Love Hörnquist Åstrand
21ddb4aee9 Fix (string const and shadow) warnings, from metze.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:50:37 +00:00
Love Hörnquist Åstrand
bebd317964 Create the PAC element in the same order as w2k3,
maybe there's some broken code in windows which relies
on this... From metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:42:47 +00:00
Love Hörnquist Åstrand
072dcc606a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:24:01 +00:00
Love Hörnquist Åstrand
937df31de8 Select a session enctype from the list of the crypto systems supported
enctype, is supported by the client and is one of the enctype of the
enctype of the krbtgt.

The later is used as a hint what enctype all KDC are supporting to
make sure a newer version of KDC wont generate a session enctype that
and older version of a KDC in the same realm can't decrypt.

But if the KDC admin is paranoid and doesn't want to have "no the
best" enctypes on the krbtgt, lets save the best pick from the client
list and hope that that will work for any other KDCs.

Reported by metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:21:46 +00:00