Love Hornquist Astrand
|
f030b4e59a
|
free context
|
2009-08-27 18:30:29 -07:00 |
|
Love Hornquist Astrand
|
1999c85670
|
Make mech glue layer aware of composite mechs that uses mech glue layer credentials
This make it possible to use krb5/ntlm credentials with SPNEGO.
Needs some more work to avoid double fetching credentials.
|
2009-08-27 12:12:44 -07:00 |
|
Love Hornquist Astrand
|
9ccc79c5b6
|
Don't leak context if nsi_probe failes
Deduced from valgrind log produced by Markus Moeller
|
2009-08-22 10:52:22 -07:00 |
|
Love Hornquist Astrand
|
03cb3aa56b
|
use EVP_MD_CTX_create
|
2009-08-20 17:13:09 -07:00 |
|
Love Hornquist Astrand
|
dfd1edb54d
|
switch to use EVP interface instead of old MDX_ style interface
|
2009-08-17 10:20:01 +02:00 |
|
Love Hornquist Astrand
|
3608b815b4
|
Don't bother checking usage of minor_status [CID-23]
|
2009-07-30 14:01:57 +02:00 |
|
Love Hörnquist Åstrand
|
012eae7f34
|
rename gssapi/ntlm/digest.c to kdc.c since that is what its talking too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25292 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-07-03 03:16:21 +00:00 |
|
Love Hörnquist Åstrand
|
eb9f8ba4bb
|
output_name == NULL is invalid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25201 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-09 14:21:05 +00:00 |
|
Love Hörnquist Åstrand
|
2049387687
|
add gsspi_ntml.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24542 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-01-30 16:47:12 +00:00 |
|
Love Hörnquist Åstrand
|
26cc8f6525
|
flatten namespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24482 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-01-25 20:49:54 +00:00 |
|
Love Hörnquist Åstrand
|
8a54aaba59
|
free name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24142 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-12-11 05:06:54 +00:00 |
|
Love Hörnquist Åstrand
|
95b4de5cd1
|
check the right variable, cid#3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24127 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-12-11 05:04:19 +00:00 |
|
Love Hörnquist Åstrand
|
7a8202a4d9
|
free name on error, cid#69
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24126 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-12-11 05:04:09 +00:00 |
|
Love Hörnquist Åstrand
|
d97b2360b9
|
free krb5_ccache on error, cid#49
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24125 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-12-11 05:03:58 +00:00 |
|
Love Hörnquist Åstrand
|
306628d12c
|
switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23916 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-10-14 02:56:37 +00:00 |
|
Love Hörnquist Åstrand
|
fe1a976ae2
|
new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-10-13 03:03:21 +00:00 |
|
Love Hörnquist Åstrand
|
6937d41a02
|
remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-09-13 09:21:03 +00:00 |
|
Love Hörnquist Åstrand
|
e172367898
|
switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-09-13 08:53:55 +00:00 |
|
Love Hörnquist Åstrand
|
6562b287fb
|
Always set output_cred_handle to GSS_C_NO_CREDENTIAL in the begining.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23688 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-26 12:35:12 +00:00 |
|
Love Hörnquist Åstrand
|
1106480143
|
output buffer always set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23673 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-25 02:32:55 +00:00 |
|
Love Hörnquist Åstrand
|
59171e8164
|
minor status must be set.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23672 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-25 02:32:43 +00:00 |
|
Love Hörnquist Åstrand
|
6f68a07561
|
define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23614 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 15:57:12 +00:00 |
|
Love Hörnquist Åstrand
|
30d0d24121
|
catch error, zero out variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23546 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-16 23:00:20 +00:00 |
|
Love Hörnquist Åstrand
|
21f5c84036
|
Catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23494 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-11 09:59:08 +00:00 |
|
Love Hörnquist Åstrand
|
96641812d5
|
close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23470 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-07-27 12:17:35 +00:00 |
|
Love Hörnquist Åstrand
|
82570534fc
|
pass extra argument to krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23419 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-07-26 18:37:07 +00:00 |
|
Love Hörnquist Åstrand
|
77e2e6d550
|
restore username parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23408 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-07-26 18:32:47 +00:00 |
|
Love Hörnquist Åstrand
|
23b129144f
|
Use krb5_cc_get_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23395 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-07-26 18:26:49 +00:00 |
|
Love Hörnquist Åstrand
|
8fc05f54ad
|
use krb5_get_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23207 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-05-29 02:13:56 +00:00 |
|
Love Hörnquist Åstrand
|
1a28e89e61
|
Avoid free-ing type1 message before its allocated.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22519 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-01-24 11:51:29 +00:00 |
|
Love Hörnquist Åstrand
|
bad0701a5d
|
Don't confuse target name and source name, make regressiont tests pass again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22382 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-30 12:13:17 +00:00 |
|
Love Hörnquist Åstrand
|
86554555a3
|
clean up name handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22380 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-29 18:42:56 +00:00 |
|
Love Hörnquist Åstrand
|
2504ac11ca
|
Use ntlm_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22378 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-28 18:48:02 +00:00 |
|
Love Hörnquist Åstrand
|
66f8605e07
|
handle username part of the ntlm name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22373 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-28 18:36:06 +00:00 |
|
Love Hörnquist Åstrand
|
3f24633cdb
|
Less warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22170 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 22:19:31 +00:00 |
|
Love Hörnquist Åstrand
|
7393bb9715
|
Less warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22169 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 22:19:16 +00:00 |
|
Love Hörnquist Åstrand
|
fa5d1267bc
|
Use credential if it was passed in.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22167 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 22:06:33 +00:00 |
|
Love Hörnquist Åstrand
|
0a9f8b895b
|
Check if there is initial creds with _gss_ntlm_get_user_cred().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22165 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 21:44:26 +00:00 |
|
Love Hörnquist Åstrand
|
a650e10c34
|
Move probe up and comment why its called.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22164 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 21:36:35 +00:00 |
|
Love Hörnquist Åstrand
|
8ca9a4469c
|
add credential handling, add probe function, add better acquired cred function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22163 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 21:25:06 +00:00 |
|
Love Hörnquist Åstrand
|
01401cc9b6
|
Add _gss_ntlm_get_user_info() that return the user info so it can be
used by external modules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22149 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 18:03:04 +00:00 |
|
Love Hörnquist Åstrand
|
529fe557b5
|
use the right error code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22148 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 17:59:29 +00:00 |
|
Love Hörnquist Åstrand
|
c11e764195
|
Return GSS_C_NO_CREDENTIAL if there is no credential, ntlm have (not
yet) a default credential.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22147 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-12-04 17:58:45 +00:00 |
|
Love Hörnquist Åstrand
|
e465a6a1ef
|
Implement _gss_ntlm_inquire_cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21250 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-06-21 01:27:46 +00:00 |
|
Love Hörnquist Åstrand
|
8b203992a0
|
Use heim_ntlm_calculate_ntlm2_sess.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21206 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-06-20 06:01:48 +00:00 |
|
Love Hörnquist Åstrand
|
811bb58fb6
|
Use ctx->gssflags for flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21079 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-06-13 00:25:25 +00:00 |
|
Love Hörnquist Åstrand
|
8911675d8e
|
(kdc_alloc): free memory on failure, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21037 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-06-09 15:39:05 +00:00 |
|
Love Hörnquist Åstrand
|
b98022f088
|
(kdc_destroy): free context when done, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21036 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2007-06-09 15:35:28 +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
|
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 |
|