Love Hörnquist Åstrand
0db124f817
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 12:04:16 +00:00
Love Hörnquist Åstrand
01dec4c58f
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:50:23 +00:00
Love Hörnquist Åstrand
b23d37808e
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:16:35 +00:00
Love Hörnquist Åstrand
8391e794cb
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:16:15 +00:00
Love Hörnquist Åstrand
8688e0470a
Reset out variables using propper macros.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:14:58 +00:00
Love Hörnquist Åstrand
a6f8a10e7e
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:10:08 +00:00
Love Hörnquist Åstrand
0406f11498
Reset out variables using propper macros.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:05:51 +00:00
Love Hörnquist Åstrand
c441e760b5
(_mg_buffer_zero): new macro that zaps a gss_buffer_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:03:07 +00:00
Love Hörnquist Åstrand
8ed92d4e85
sprinkel _gss_mg_error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:37:54 +00:00
Love Hörnquist Åstrand
0a7d314165
(gss_display_status): use _gss_mg_get_error to fetch the error from
...
underlaying mech, if it failes, let do the regular dance for GSS-CODE
version and a generic print-the-error code for MECH-CODE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:35:09 +00:00
Love Hörnquist Åstrand
5138355930
Don't include the NUL in the length of the string.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:26:07 +00:00
Love Hörnquist Åstrand
d2752533aa
Protoypes for _gss_mg_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:19:27 +00:00
Love Hörnquist Åstrand
545bb59019
Glue to catch the error from the lower gss-api layer and save that for
...
later so gss_display_status() can show the error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:17:01 +00:00
Love Hörnquist Åstrand
48eb7bea6f
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:40:42 +00:00
Love Hörnquist Åstrand
02620cbb4e
add _gss_free_oid, reverse of _gss_copy_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:01:40 +00:00
Love Hörnquist Åstrand
ef6b5a7236
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:12:20 +00:00
Love Hörnquist Åstrand
93482a2b67
Add the builtin ntlm mech
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:05:43 +00:00
Love Hörnquist Åstrand
e4ac6bf6ed
Add detection of NTLMSSP.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:04:14 +00:00
Love Hörnquist Åstrand
f34964d46f
(_gss_mech_cred_find): break out the cred finding to its own function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 12:33:11 +00:00
Love Hörnquist Åstrand
d1aeb0f6ce
When calling ->gm_set_cred_option and checking for success, use
...
GSS_S_COMPLETE. From Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:59:43 +00:00
Love Hörnquist Åstrand
53eeb7198a
Try better guessing what is mech we are going to select by looking
...
harder at the input_token, idea from Luke Howard's mechglue branch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 03:30:12 +00:00
Love Hörnquist Åstrand
c4b2189f09
Implement gss_krb5_set_allowable_enctypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:57:27 +00:00
Love Hörnquist Åstrand
e91161433a
Add gsskrb5_set_default_realm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:11:03 +00:00
Love Hörnquist Åstrand
c978e4fb68
No depenency of the krb5 gssapi mech.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 22:15:52 +00:00
Love Hörnquist Åstrand
3dd9bbd06d
(gsskrb5_extract_authtime_from_sec_context): use _gsskrb5_decode_om_uint32
...
From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 22:03:29 +00:00
Love Hörnquist Åstrand
79be8d802d
Add dummy gss_krb5_set_allowable_enctypes for now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 21:57:47 +00:00
Love Hörnquist Åstrand
b38b62d51a
(gsskrb5_get_subkey): return the per message token subkey
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 14:41:35 +00:00
Love Hörnquist Åstrand
d3eeb37f3d
Add gsskrb5_extract_authz_data_from_sec_context and keyblock
...
extraction functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:23:01 +00:00
Love Hörnquist Åstrand
0cd59b2fa5
Rename various routines and constants from canonize to canonicalize.
...
From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:12:46 +00:00
Love Hörnquist Åstrand
6c33791de5
SLIST_INIT the ->gc_mc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 00:45:12 +00:00
Love Hörnquist Åstrand
ab649d3154
(gss_release_buffer_set): don't leak the ->elements memory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:53:02 +00:00
Love Hörnquist Åstrand
56fa3ffc37
Use old implementation of gss_add_oid_set_member, it leaks less memory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:36:13 +00:00
Love Hörnquist Åstrand
cb3930a054
(gss_release_name): free input_name it-self.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:59:06 +00:00
Love Hörnquist Åstrand
da3d6a24ab
Add gsskrb5_extract_authtime_from_sec_context.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 22:05:02 +00:00
Love Hörnquist Åstrand
75f1c15254
Add gsskrb5_set_send_to_kdc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:55:37 +00:00
Love Hörnquist Åstrand
851d77fd56
Make it into a heim_any_set, its doesn't except a tag.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 21:08:19 +00:00
Love Hörnquist Åstrand
ab11b51e36
GSSAPIContextToken is IMPLICIT SEQUENCE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 20:53:09 +00:00
Love Hörnquist Åstrand
f8da152434
Add gsskrb5_set_dns_canonlize.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:43:27 +00:00
Love Hörnquist Åstrand
6ed70e5571
add bits to make lucid context work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 03:01:51 +00:00
Love Hörnquist Åstrand
00c5c484a9
Prefix der primitives with der_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 10:12:16 +00:00
Love Hörnquist Åstrand
c5ede77a94
New der_put_heim_integer signature.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 04:57:09 +00:00
Love Hörnquist Åstrand
4860ab5db8
Add lucid interface.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-12 08:50:42 +00:00
Love Hörnquist Åstrand
3e5e6f9926
define RTLD_LOCAL to 0 if not defined.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-09 11:13:30 +00:00
Love Hörnquist Åstrand
240ea3df28
Include <roken.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 18:25:27 +00:00
Love Hörnquist Åstrand
1e83468c03
Cast argument to ctype(3) functions to (unsigned char).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:30:54 +00:00
Love Hörnquist Åstrand
4fa0198146
remove <sys/queue.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-05 18:36:07 +00:00
Love Hörnquist Åstrand
6accd4715c
(gss_accept_sec_context): if the token doesn't start with [APPLICATION
...
0] SEQUENCE, lets assume its a DCE-style kerberos 5 connection. XXX
this needs to be made better in cause we get another GSS-API protocol
violating protocol. It should be possible to detach the Kerberos
DCE-style since it starts with a AP-REQ PDU, but that have to wait for
now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 19:24:48 +00:00
Love Hörnquist Åstrand
e177561ec2
implement gsskrb5_register_acceptor_identity
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:18:08 +00:00
Love Hörnquist Åstrand
bccfb8cbf4
call _gss_load_mech
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:04:00 +00:00
Love Hörnquist Åstrand
00e06e0965
(gss_inquire_cred): call _gss_load_mech
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:03:18 +00:00