Commit Graph

1443 Commits

Author SHA1 Message Date
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
ed1079182d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 22:06:49 +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
d189f9e9d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 21:44:40 +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
280b58bb08 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 20:20:49 +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
c9f248b7f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:32:33 +00:00
Love Hörnquist Åstrand
292c545215 Avoid trying to deref NULL, from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:31:55 +00:00
Love Hörnquist Åstrand
3dfec628f2 Always try to fetch cred (even with GSS_C_NO_NAME).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 01:13:13 +00:00
Love Hörnquist Åstrand
e53ec599a7 global krb5_context no longer used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:56:55 +00:00
Love Hörnquist Åstrand
bf772f42e4 (acquire_acceptor_cred): Check if there is at least one entry in the
keytab before declaring it as an useful keytab.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:03:52 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
2863ae85d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-09 07:43:38 +00:00
Love Hörnquist Åstrand
40426b1fcd Readd gss_krb5_get_tkt_flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-09 07:43:24 +00:00
Love Hörnquist Åstrand
44a49b86f6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 11:31:47 +00:00
Love Hörnquist Åstrand
39ad4a364f (_gss_spnego_internal_delete_sec_context): release ctx->target_name too
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 11:31:29 +00:00
Love Hörnquist Åstrand
630410fe4f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-26 19:07:45 +00:00
Love Hörnquist Åstrand
7ce367af30 Don't try to do dlopen if system doesn't have dlopen. From Rune of Chalmers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-26 19:07:11 +00:00
Love Hörnquist Åstrand
16179acf03 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:32 +00:00
Love Hörnquist Åstrand
5fbee5a6ac New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:19 +00:00
Love Hörnquist Åstrand
35650a2700 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:01 +00:00
Love Hörnquist Åstrand
8f8b6d2a5f New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:44 +00:00
Love Hörnquist Åstrand
dbbf83f269 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:27 +00:00
Love Hörnquist Åstrand
4d5a754244 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:03 +00:00
Love Hörnquist Åstrand
1a4d2f7068 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:30:23 +00:00
Love Hörnquist Åstrand
10bcbfc468 (_gss_find_mn): Return an error code for caller.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:29:53 +00:00
Love Hörnquist Åstrand
05e5153afc Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 14:01:13 +00:00
Love Hörnquist Åstrand
db04084fb8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 13:23:26 +00:00
Love Hörnquist Åstrand
f3842471ec remove checks that are done by the previous function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 13:23:14 +00:00
Love Hörnquist Åstrand
968a897948 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:42:15 +00:00
Love Hörnquist Åstrand
0ab26a5e29 New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:42:04 +00:00
Love Hörnquist Åstrand
0ce0d6e947 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 14:22:48 +00:00
Love Hörnquist Åstrand
affc1e7f69 Refuse to print GSS_C_NULL_OID, from Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 14:19:11 +00:00
Love Hörnquist Åstrand
993d0000e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 08:13:25 +00:00
Love Hörnquist Åstrand
3f6884c4c5 Indent and make NegTokenInit and NegTokenResp extendable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 08:13:12 +00:00
Love Hörnquist Åstrand
ede8c7eeb4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 01:28:00 +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
b46d2bc9ce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:45:54 +00:00
Love Hörnquist Åstrand
ca53ee4e11 If the canned string is "", its no use to the user, make it fall back
to the default error string.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:45:13 +00:00
Love Hörnquist Åstrand
b75978e41d Provide message for GSS_S_COMPLETE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:37:27 +00:00
Love Hörnquist Åstrand
a853ec97ff make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:25:19 +00:00
Love Hörnquist Åstrand
935e4b8bc1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:20:09 +00:00
Love Hörnquist Åstrand
2552204b59 (gss_display_name): no name -> fail. From Rafal Malinswski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:19:51 +00:00
Love Hörnquist Åstrand
64b2fd7e72 Wrap name in a spnego_name instead of just a copy of the underlaying object.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:16:22 +00:00
Love Hörnquist Åstrand
19ea24e3f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:23:28 +00:00