Commit Graph

120 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
22ea5f3f5c (proto): fill in client in the match cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:50:40 +00:00
Love Hörnquist Åstrand
64ac54bd79 (proto): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:33:13 +00:00
Love Hörnquist Åstrand
d2db6a97db (proto): start to use gss_krb5_copy_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:16:14 +00:00
Love Hörnquist Åstrand
74ede60132 (proto): comment out gss_ctx_id_t groveling for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:15:34 +00:00
Assar Westerlund
1bd9e800f3 (proto): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:41:39 +00:00
Assar Westerlund
9131c7c617 (read_token): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:05:27 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Assar Westerlund
a8197629ca (keytab): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 04:29:54 +00:00
Assar Westerlund
1024330a7a add --keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 04:29:34 +00:00
Assar Westerlund
aeebd4bbf5 (enet_read): add and use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 20:18:31 +00:00
Assar Westerlund
5f648d3799 use socklen_t where appropriate instead of int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00