Commit Graph

1311 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9df9f6a9da revert 21003
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand
12df8538af use "roken.h" consitantly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand
f3b2b8b19c Make sure the gethostname() returned string is NUL terminated.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 21:19:22 +00:00
Love Hörnquist Åstrand
19f39c8621 Free memory when done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 17:42:50 +00:00
Love Hörnquist Åstrand
af5f66bb0d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:24:38 +00:00
Love Hörnquist Åstrand
f188987fa3 Test both with and without keyex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 23:21:47 +00:00
Love Hörnquist Åstrand
fedbf25113 If we didn't set session key, don't expect one back.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 23:19:00 +00:00
Love Hörnquist Åstrand
d791782559 Set keyex flag and calculate session key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 23:15:55 +00:00
Love Hörnquist Åstrand
7d011aac3b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 23:04:26 +00:00
Love Hörnquist Åstrand
5e36b724c0 Use the return value before is overwritten by later calls.
From Rafal Malinowski


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 23:01:27 +00:00
Love Hörnquist Åstrand
786db415e8 Give an minor_status argument to gss_release_oid_set.
From Rafa? Malinowski


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 22:50:06 +00:00
Love Hörnquist Åstrand
f2f278d34e x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 15:08:50 +00:00
Love Hörnquist Åstrand
acfd5a4121 Catch errors and return the up the stack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 15:07:09 +00:00
Love Hörnquist Åstrand
becdb44583 more testing of lifetimes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 13:58:46 +00:00
Love Hörnquist Åstrand
ee246ab9ac Use gss oid_set functions from mechglue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-17 18:44:31 +00:00
Love Hörnquist Åstrand
b2684d8ed2 Drop the gss oid_set function for the krb5 mech, use the mech glue
versions instead. Pointed out by Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-17 18:42:30 +00:00
Love Hörnquist Åstrand
88bbe318c5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 18:04:11 +00:00
Love Hörnquist Åstrand
87bdbf8e2c Set session key only if we are returned a session key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 18:03:39 +00:00
Love Hörnquist Åstrand
e44dcb7458 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 03:15:30 +00:00
Love Hörnquist Åstrand
99df08ed7e switched MIN to min to make compile on solaris.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 03:12:05 +00:00
Love Hörnquist Åstrand
83d42d8b1d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-09 15:34:49 +00:00
Love Hörnquist Åstrand
ad2854bcfc Fill in all of the variables if they are passed in. Pointed out by Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-09 15:33:01 +00:00
Love Hörnquist Åstrand
54ca9c0da6 Fix copy and paste error, bug spotted by from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 14:01:46 +00:00
Love Hörnquist Åstrand
3fe9e74b9b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:57:28 +00:00
Love Hörnquist Åstrand
bee2a593cd dont keep track of gc_usage, just figure it out at gss_inquire_cred() time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:56:49 +00:00
Love Hörnquist Åstrand
3a4c55c9b8 (add_builtin): ok for __gss_mech_initialize() to return NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:55:03 +00:00
Love Hörnquist Åstrand
9d9b7dedbc more correct tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:51:49 +00:00
Love Hörnquist Åstrand
20618d2976 (gss_inquire_cred*): wrap the name with a spnego_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:43:45 +00:00
Love Hörnquist Åstrand
10d424657d make ntlm gss_inquire_cred fail for now, need to find default cred and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 12:35:39 +00:00
Love Hörnquist Åstrand
98b5a48e90 reimplement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 12:10:53 +00:00
Love Hörnquist Åstrand
06244210e0 drop unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:31:58 +00:00
Love Hörnquist Åstrand
eb2d35a531 Reimplement.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:26:07 +00:00
Love Hörnquist Åstrand
40c46b9413 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:18:50 +00:00
Love Hörnquist Åstrand
4a0ac505c8 add ntlm/digest.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:18:30 +00:00
Love Hörnquist Åstrand
877b0883e8 split out backend ntlm server processing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:17:59 +00:00
Love Hörnquist Åstrand
aac33c55de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 12:01:55 +00:00
Love Hörnquist Åstrand
c5f0bb0769 (_gss_ntlm_delete_sec_context): free credcache when done
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 11:56:17 +00:00
Love Hörnquist Åstrand
db32c80c04 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:43:31 +00:00
Love Hörnquist Åstrand
09c2d40688 ntlm-key credential entry is prefix with @
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:43:16 +00:00
Love Hörnquist Åstrand
f0f468b66e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:25:07 +00:00
Love Hörnquist Åstrand
e202c6e8c2 (get_user_ccache): pick up the ntlm creds from the krb5 credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:24:43 +00:00
Love Hörnquist Åstrand
6f523f571c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 09:32:12 +00:00
Love Hörnquist Åstrand
b605c55732 free the key stored in the context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 09:31:58 +00:00
Love Hörnquist Åstrand
613c4d85a3 switch password for a key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 09:31:27 +00:00
Love Hörnquist Åstrand
dc584c4410 secretly export _gsskrb5cfx_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 07:56:20 +00:00
Love Hörnquist Åstrand
dc08833642 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 06:31:54 +00:00
Love Hörnquist Åstrand
e03cd59065 Switch oid to one that is exported.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 06:29:11 +00:00
Love Hörnquist Åstrand
9ea7ee7d0d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 17:34:11 +00:00
Love Hörnquist Åstrand
df9b71b724 move where hash is calculated to make it easier to add ccache support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 17:33:59 +00:00
Love Hörnquist Åstrand
0e523f899a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 15:15:04 +00:00