Commit Graph

12512 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1bc0573626 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-12 02:37:10 +00:00
Love Hörnquist Åstrand
b84f7ecd80 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 21:55:58 +00:00
Love Hörnquist Åstrand
497233da66 include <limits.h> for ULONG_MAX
noted by Wissler Magnus <M.Wissler@abalon.se> on heimdal-discuss


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 21:54:58 +00:00
Love Hörnquist Åstrand
ceb75e1f48 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 20:50:15 +00:00
Love Hörnquist Åstrand
b1576251e1 (spnego_initial): add #if 0 out version of the CHOICE branch encoding,
also where here, free no longer used memory


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 20:49:11 +00:00
Love Hörnquist Åstrand
b291ac9e96 close socket when we are done, don't allow the server to restart
gssapi negotiation


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 19:39:05 +00:00
Love Hörnquist Åstrand
322de9cac3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 09:34:08 +00:00
Love Hörnquist Åstrand
2d4baf01e7 (proto): use select_mech
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 09:32:42 +00:00
Love Hörnquist Åstrand
192371fcb2 use getarg
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 09:31:54 +00:00
Love Hörnquist Åstrand
70bc6483ae prototype for select_mech
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 09:30:51 +00:00
Love Hörnquist Åstrand
29cede4fb6 (select_mech): return the gss_OID from a mech name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 09:29:59 +00:00
Love Hörnquist Åstrand
48146f86c9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:46:46 +00:00
Love Hörnquist Åstrand
d1855bdb24 print both source and target
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:32:25 +00:00
Love Hörnquist Åstrand
7bd531f305 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:22:26 +00:00
Love Hörnquist Åstrand
42555fd011 build http_client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:21:55 +00:00
Love Hörnquist Åstrand
a697958544 A simplistic client implementing draft-brezak-spnego-http-04.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:20:09 +00:00
Love Hörnquist Åstrand
bb22f358b1 (spnego_initial): catch errors and return them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 23:44:25 +00:00
Love Hörnquist Åstrand
d28e2d0ebc add support for printing Enumerated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 16:08:56 +00:00
Love Hörnquist Åstrand
36c72f770b update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:57:48 +00:00
Love Hörnquist Åstrand
dd9620c56f now support for GSS_SPNEGO_MECHANISM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:57:08 +00:00
Love Hörnquist Åstrand
1448ad988f SPNEGO doesn't include gss wrapping on SubsequentContextToken like the
Kerberos 5 mech does.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:54:09 +00:00
Love Hörnquist Åstrand
c65c7ace38 (spnego_reply): SPNEGO doesn't include gss wrapping on
SubsequentContextToken like the Kerberos 5 mech does. Lets check for
it anyway.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:40:12 +00:00
Love Hörnquist Åstrand
2754625103 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:49:30 +00:00
Love Hörnquist Åstrand
250a05b38c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:44:26 +00:00
Love Hörnquist Åstrand
2d9a9adcf4 allow user to select mech; krb5, spnego, and no-oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:41:37 +00:00
Love Hörnquist Åstrand
85ebaac05f add mech
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:38:51 +00:00
Love Hörnquist Åstrand
3882d88c8c add --mech,-m argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:38:04 +00:00
Love Hörnquist Åstrand
ef50c9d3cc print the mech that was used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:36:59 +00:00
Love Hörnquist Åstrand
aa2eabd394 Add support for SPNEGO on the initator side. Implementation initially
from Assar Westerlund, passes though quite a lot of hands before I
commited it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:28:54 +00:00
Love Hörnquist Åstrand
790b9ab1bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:33:49 +00:00
Love Hörnquist Åstrand
c94bb7e568 Add support for SPNEGO on the initator side. Tested with ldap server
on a Windows 2000 DC. Implementation initially from Assar Westerlund,
passes though quite a lot of hands before I commited it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:31:47 +00:00
Love Hörnquist Åstrand
db4289a379 export GSS_SPNEGO_MECHANISM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:11:21 +00:00
Love Hörnquist Åstrand
c3326093b4 include spnego_as.h
add prototype for gssapi_krb5_get_mech


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:10:00 +00:00
Love Hörnquist Åstrand
a3139e092e (gssapi_krb5_get_mech): make non static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:09:03 +00:00
Love Hörnquist Åstrand
50d2a24176 build SPNEGO file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:05:51 +00:00
Love Hörnquist Åstrand
1d36859dc0 (only_older_enctype_p): check request if the client only supports old
enctypes, before it used the database


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:01:02 +00:00
Love Hörnquist Åstrand
73e27ffc4c SPENGO and IAKERB oids
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:34:19 +00:00
Love Hörnquist Åstrand
ca2733de49 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:32:39 +00:00
Love Hörnquist Åstrand
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
96273416f9 (krb5_get_init_creds_opt_alloc): add context argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:25:02 +00:00
Love Hörnquist Åstrand
8cec741ab3 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:23:49 +00:00
Love Hörnquist Åstrand
a2e74fc4ce turn on aes support unconditional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:08:09 +00:00
Love Hörnquist Åstrand
135ef50acb SPENGO ASN1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 14:39:34 +00:00
Love Hörnquist Åstrand
addecb38ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-05 09:50:17 +00:00
Love Hörnquist Åstrand
653d7b010b RRC also need to be zero before wraping them
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-05 09:49:22 +00:00
Love Hörnquist Åstrand
2ff584c1fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 18:21:45 +00:00
Love Hörnquist Åstrand
672fd697ee (add_file): make len argument an pointer to an integer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 18:15:45 +00:00
Love Hörnquist Åstrand
5097c486af (gssapi_krb5_encap_length): don't return void
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 18:08:55 +00:00
Johan Danielsson
fd1c450a9c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 14:30:54 +00:00
Johan Danielsson
b647dd453c document -d
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 14:30:43 +00:00