Commit Graph

131 Commits

Author SHA1 Message Date
Love Hornquist Astrand
c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Love Hörnquist Åstrand
c045e38e44 use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:59:55 +00:00
Love Hörnquist Åstrand
3b181a7dab use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:49 +00:00
Love Hörnquist Åstrand
e3fc4a73cb use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:39 +00:00
Love Hörnquist Åstrand
92237c38a7 use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:29 +00:00
Love Hörnquist Åstrand
aab4e5a9ca use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:20 +00:00
Love Hörnquist Åstrand
aebaed1535 use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:10 +00:00
Love Hörnquist Åstrand
25a7b258ea make sure we dont print off the end of the gss_buffer_t, they are defined to not included NULL, in heimdal they are but thats an implementation detail, dont teach people about that. From: Christian Krause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:52 +00:00
Love Hörnquist Åstrand
63a449b610 use gsskrb5_extract_authz_data_from_sec_context()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:30 +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
fb2afb96fd catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:11 +00:00
Love Hörnquist Åstrand
ae597b8166 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:57 +00:00
Love Hörnquist Åstrand
259576387c Fix pointer vs strict alias rules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:15:04 +00:00
Love Hörnquist Åstrand
b49b2cdabf Fix pointer vs strict alias rules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:13:40 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
1b98e1e231 Print status to stdout.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 16:55:00 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
7f83c4dfb3 Don't assume display_string is truncated with NUL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 21:56:01 +00:00
Love Hörnquist Åstrand
241e3bfd29 print both "server" and "client"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 20:37:29 +00:00
Love Hörnquist Åstrand
535b3a9f8f add nt_gss_common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:40:20 +00:00
Love Hörnquist Åstrand
7127d167db (proto): use keytab for krb5_recvauth
Patch from Ingemar Nilsson <init@pdc.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 09:01:03 +00:00
Love Hörnquist Åstrand
5118c90498 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
8586ef823b Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-25 10:55:21 +00:00
Love Hörnquist Åstrand
9dd2289f90 cast ssize_t to unsigned long, fix printf format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:38:37 +00:00
Love Hörnquist Åstrand
d0cc9002ed print out client principla of delegated credential
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:47:41 +00:00
Love Hörnquist Åstrand
f7a0ee5acf print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-03 19:53:32 +00:00
Love Hörnquist Åstrand
de0e232d51 free memory, make error strings match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 04:37:30 +00:00
Love Hörnquist Åstrand
9276f222b9 use print_gss_name, print server name too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:17:30 +00:00
Love Hörnquist Åstrand
8e12e63ee3 (print_gss_name): common code for printing gss name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:13:14 +00:00
Love Hörnquist Åstrand
b925aac02c Make constent with rest of the gssapi test programs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 02:52:26 +00:00
Love Hörnquist Åstrand
555571d923 allow specifing port to connect to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 07:47:32 +00:00
Love Hörnquist Åstrand
e2f5762cc8 support GSS_C_DELEG_FLAG and GSS_C_MUTUAL_FLAG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-05 19:43:25 +00:00
Love Hörnquist Åstrand
c5ba446dab verbose logging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-05 13:13:18 +00:00
Love Hörnquist Åstrand
7a00e2ac9a (do_connect): use ai_protocol 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:56:31 +00:00
Love Hörnquist Åstrand
42005d25bf print authorization data if there are any
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 02:16:57 +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
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
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
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
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
172de7a048 send both INT and CONF wrapped token
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:08:48 +00:00
Love Hörnquist Åstrand
64979ecfcb recv both INT and CONF wrapped token
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:08:28 +00:00