Commit Graph

13222 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 164fc106aa add forward declaration for krb5_ntlm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:17:32 +00:00
Love Hörnquist Åstrand df50d13193 API to authenticate ntlm requests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:16:32 +00:00
Love Hörnquist Åstrand a102876012 Add ntlm files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:15:16 +00:00
Love Hörnquist Åstrand ac906bd5fa Add bits for handling NTLM.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:13:39 +00:00
Love Hörnquist Åstrand aac9035b3d Catch more error errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 18:49:08 +00:00
Love Hörnquist Åstrand 0c000a62f7 Support "iteration" of file credential caches by giving the user back
the default file credential cache and only that.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:48:28 +00:00
Love Hörnquist Åstrand 8e567798a7 Expand the default root for some of the cc type names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:46:51 +00:00
Love Hörnquist Åstrand 2ba004edf0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:40:51 +00:00
Love Hörnquist Åstrand 0188d9ca47 Check after a credential to use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:40:28 +00:00
Love Hörnquist Åstrand fbb7a0e925 Don't fail, mech glue layer can't stand that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:33:19 +00:00
Love Hörnquist Åstrand b6821fa5e6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:55:09 +00:00
Love Hörnquist Åstrand 3b401bbfd4 Use internal version of rk_unvis
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:54:48 +00:00
Love Hörnquist Åstrand 626f6539b8 Always include rk_ versions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:54:11 +00:00
Love Hörnquist Åstrand 9e02cddfb9 add strsvis rename.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:53:09 +00:00
Love Hörnquist Åstrand 8040c1e1ae Include rk_versions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:49:22 +00:00
Love Hörnquist Åstrand c8c01f91e4 Remove unvis prototypes, use internal version of rk_strsvisx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:44:29 +00:00
Love Hörnquist Åstrand 4af18ecb00 strsvisx takes 5 arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 11:43:04 +00:00
Love Hörnquist Åstrand 539b1fbdaf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 00:24:20 +00:00
Love Hörnquist Åstrand cff09df66a prefix unvis functions with rk_, and prototypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 00:22:20 +00:00
Love Hörnquist Åstrand 9333410f18 Fix argument for unvis and strsvisx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 00:21:03 +00:00
Love Hörnquist Åstrand 2e061ed271 ntlm gssapi module, only support context building
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-14 12:17:34 +00:00
Love Hörnquist Åstrand ba7418d3aa (GSS_KRB5_SET_DEFAULT_REALM_X): don't fail on success.
Bug report from Stefan Metzmacher.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-14 11:02:16 +00:00
Love Hörnquist Åstrand 7bf56b0e3f (free_paid): free the krb5_data structure too.
Bug report from Stefan Metzmacher.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-14 10:49:56 +00:00
Love Hörnquist Åstrand 64c371dbfb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:41:50 +00:00
Love Hörnquist Åstrand dce35b5529 add simple parser test app
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:41:38 +00:00
Love Hörnquist Åstrand 91cf711cb7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:26:40 +00:00
Love Hörnquist Åstrand bea7ea3c62 Provide some prototypes for the rk_vis functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:26:23 +00:00
Love Hörnquist Åstrand ba29865749 inital version of a NTLM library, only handles ntml version 1 and ascii strings for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:12:58 +00:00
Love Hörnquist Åstrand 3e591d8e66 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 10:34:28 +00:00
Love Hörnquist Åstrand fa438f7ca1 (init_auth): only turn on GSS_C_CONF_FLAG and GSS_C_INT_FLAG if the
caller requseted it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 10:33:20 +00:00
Love Hörnquist Åstrand f91432b111 remove stuff that should have be commited yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 21:27:52 +00:00
Love Hörnquist Åstrand 4a37d22a51 drop include
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:40:19 +00:00
Love Hörnquist Åstrand d70dc49b06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:39:54 +00:00
Love Hörnquist Åstrand 1872e0488a (libgssapi_la_OBJECTS): depends on gssapi_asn1.h spnego_asn1.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:38:25 +00:00
Love Hörnquist Åstrand b25a73eff1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:13:26 +00:00
Love Hörnquist Åstrand ebcbf5f119 (print_certificate): print serial number.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:13:10 +00:00
Love Hörnquist Åstrand b15afd6054 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:08:07 +00:00
Love Hörnquist Åstrand 05a31a062b (no): add S=stateOrProvinceName
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:03:44 +00:00
Love Hörnquist Åstrand a6f5b0d0ac Prefix getifaddrs functions with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:59:31 +00:00
Love Hörnquist Åstrand 3fa3fa004c Prefix strvis functions with rk_ and do symbol renaming.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:58:15 +00:00
Love Hörnquist Åstrand a548a4cd91 prefix strvis functions with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:54:03 +00:00
Love Hörnquist Åstrand 7d15657340 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:50:08 +00:00
Love Hörnquist Åstrand db6202c4f0 Install extra posix headers in <roken/...> to avoid dup headers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:49:51 +00:00
Love Hörnquist Åstrand 59238c7f99 Remember to p11_put_session in the failure cases too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:42:42 +00:00
Love Hörnquist Åstrand 7a0fadc477 (_hx509_private_key_assign_rsa): set a default sig alg
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:56:34 +00:00
Love Hörnquist Åstrand fa270376d8 Pass in hx509_signature_rsa to key collector
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:18:09 +00:00
Love Hörnquist Åstrand 1f4452b34e (try_decrypt): pass down AlgorithmIdentifier that key uses to do sigatures
so there is no need to hardcode RSA into this function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:13:21 +00:00
Love Hörnquist Åstrand 90832c9d52 sprinkle more _krb5_pk_copy_error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:48:09 +00:00
Love Hörnquist Åstrand c2633ac58b Pass filename to the parse functions and use it in the error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:35:19 +00:00
Love Hörnquist Åstrand 76a79be26e Copy more hx509 error strings to krb5 error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:30:20 +00:00