Love Hörnquist Åstrand
832a72e67b
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:38 +00:00
Love Hörnquist Åstrand
7e35f69377
Init val to avoid gss error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 06:51:57 +00:00
Love Hörnquist Åstrand
e270dfd78e
(AcquirePKInitCreds): fail more gracefully
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:19:19 +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
ece5f9603e
Make krb5_get_init_creds_opt_free take a context argument.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +00:00
Love Hörnquist Åstrand
38270cde9d
(add_list): fix alloc statement, From Alex Deiter
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:21:01 +00:00
Love Hörnquist Åstrand
7a23f47ef3
(add_list): fix alloc statement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:17:56 +00:00
Love Hörnquist Åstrand
32df330c53
Only log when there are resources left.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:30:56 +00:00
Love Hörnquist Åstrand
653bb59432
Try free all resources.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:29:34 +00:00
Love Hörnquist Åstrand
cb603a5624
Avoid leaking memory. rename ->handle to ->handles.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 22:35:53 +00:00
Love Hörnquist Åstrand
ef5a0a83f1
make compile
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:01:40 +00:00
Love Hörnquist Åstrand
a79baec2e3
(AcquireCreds): free krb5_get_init_creds_opt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 20:16:29 +00:00
Love Hörnquist Åstrand
bcf5576db0
handle more bits
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 03:08:22 +00:00
Love Hörnquist Åstrand
5d1ff600c0
Add explit depenency on libroken.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 13:50:51 +00:00
Love Hörnquist Åstrand
d30cf34043
Clarify protocol.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 13:53:28 +00:00
Love Hörnquist Åstrand
58514ca826
Print how wrong the lenght are. Try more context token exchanges.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 09:17:25 +00:00
Love Hörnquist Åstrand
b46809c9f1
Maybe include <sys/wait.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:22:00 +00:00
Love Hörnquist Åstrand
78af8860e0
disable ENABLE_PTHREAD_SUPPORT and explain why
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-05 18:13:13 +00:00
Love Hörnquist Åstrand
fd557f4d6c
Add ret16.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:52:36 +00:00
Love Hörnquist Åstrand
000e414563
Handle FIRST_CALL in the context building, better error handling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 19:39:20 +00:00
Love Hörnquist Åstrand
76548e0fd2
switch from wrap/unwrap to encrypt/decrypt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 09:55:55 +00:00
Love Hörnquist Åstrand
e4bf1ed0e8
make less exit() happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 01:21:37 +00:00
Love Hörnquist Åstrand
77a889cd29
Don't announce spn if there is non.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 23:33:54 +00:00
Love Hörnquist Åstrand
3cf6b97bbf
Check that the pre-wrapped data is the same as afterward.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 22:33:39 +00:00
Love Hörnquist Åstrand
8cd665242d
Remove stray GSS_C_DCE_STYLE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 19:29:03 +00:00
Love Hörnquist Åstrand
fc0fccde1c
Add logsocket support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 18:20:33 +00:00
Love Hörnquist Åstrand
58de1f16ce
Fix logging.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 16:28:40 +00:00
Love Hörnquist Åstrand
f103a5431d
(build_context): print the step the context exchange.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:18:04 +00:00
Love Hörnquist Åstrand
5f4bd93468
Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG to all flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 10:15:34 +00:00
Love Hörnquist Åstrand
8224705132
Add wrap and mic tests for all elements
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:57:53 +00:00
Love Hörnquist Åstrand
d8bc0ea463
Add mic tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:57:26 +00:00
Love Hörnquist Åstrand
597c5e99e5
dont exit early then co-worker is bad.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 08:53:24 +00:00
Love Hörnquist Åstrand
41251ac808
Add tests to wrap/unwrap.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:09:49 +00:00
Love Hörnquist Åstrand
6f5411adfa
Add wrap/unwrap ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 12:16:15 +00:00
Love Hörnquist Åstrand
f782011114
Add eGetVersionAndCapabilities flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:34:03 +00:00
Love Hörnquist Åstrand
04816acff0
Add permutate_all (and support functions).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:32:59 +00:00
Love Hörnquist Åstrand
274feb35bd
Add permutate_all
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:32:18 +00:00
Love Hörnquist Åstrand
e8d7e48ab5
use new flags, return moniker
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:31:50 +00:00
Love Hörnquist Åstrand
ec4137ea11
test self context building and all permutation of clients
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:28:13 +00:00
Love Hörnquist Åstrand
c1e7cda8e8
add --logfile option, use htons() on port number
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 10:20:50 +00:00
Love Hörnquist Åstrand
99a2e32cad
Log port in connection message.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 10:20:08 +00:00
Love Hörnquist Åstrand
02a8293b7e
Add get_version_capa, cache target_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-03 10:53:21 +00:00
Love Hörnquist Åstrand
0822bf8ae4
use utname() to find the local hostname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-03 10:52:05 +00:00
Love Hörnquist Åstrand
ede9adf78c
include <sys/utsname.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-03 10:51:37 +00:00
Love Hörnquist Åstrand
fffc248c1f
break out creation of a client and make handleServer pthread_create compatible
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-02 22:36:37 +00:00
Love Hörnquist Åstrand
40256ad394
break out out the build context function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-02 22:35:41 +00:00
Love Hörnquist Åstrand
b18cca48b1
ignore Makefile.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:37:27 +00:00
Love Hörnquist Åstrand
95ee7df071
externalize slave handling, add GetTargetName glue
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:36:14 +00:00
Love Hörnquist Åstrand
f409403b7d
AcquireCreds: set principal to NULL to avoid memory corruption
...
GetTargetName: always send a string, even though we don't have a targetname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:28:42 +00:00
Love Hörnquist Åstrand
afd0ce92a8
externalize principal/password handling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:07:02 +00:00