1*ae771770SStanislav Sedov2008-08-14 Love Hornquist Astrand <lha@10a140laptop.local> 2*ae771770SStanislav Sedov 3*ae771770SStanislav Sedov * krb5/accept_sec_context.c: If there is a initiator subkey, copy 4*ae771770SStanislav Sedov that to acceptor subkey to match windows behavior. From Metze. 5*ae771770SStanislav Sedov 6*ae771770SStanislav Sedov2008-08-02 Love Hörnquist Åstrand <lha@h5l.org> 7*ae771770SStanislav Sedov 8*ae771770SStanislav Sedov * ntlm/init_sec_context.c: Catch error 9*ae771770SStanislav Sedov 10*ae771770SStanislav Sedov * krb5/inquire_sec_context_by_oid.c: Catch store failure. 11*ae771770SStanislav Sedov 12*ae771770SStanislav Sedov * mech/gss_canonicalize_name.c: Not init m, return never 13*ae771770SStanislav Sedov used (overwritten later). 14*ae771770SStanislav Sedov 15*ae771770SStanislav Sedov2008-07-25 Love Hörnquist Åstrand <lha@kth.se> 16*ae771770SStanislav Sedov 17*ae771770SStanislav Sedov * ntlm/init_sec_context.c: Use krb5_cc_get_config. 18*ae771770SStanislav Sedov 19*ae771770SStanislav Sedov2008-07-25 Love Hörnquist Åstrand <lha@kth.se> 20*ae771770SStanislav Sedov 21*ae771770SStanislav Sedov * krb5/init_sec_context.c: Match the orignal patch I got from 22*ae771770SStanislav Sedov metze, seems that DCE-STYLE is even more weirer then what I though 23*ae771770SStanislav Sedov when I merged the patch. 24*ae771770SStanislav Sedov 25*ae771770SStanislav Sedov2008-06-02 Love Hörnquist Åstrand <lha@kth.se> 26*ae771770SStanislav Sedov 27*ae771770SStanislav Sedov * krb5/init_sec_context.c: Don't add asn1 wrapping to token when 28*ae771770SStanislav Sedov using DCE_STYLE. Patch from Stefan Metzmacher. 29*ae771770SStanislav Sedov 30*ae771770SStanislav Sedov2008-05-27 Love Hörnquist Åstrand <lha@kth.se> 31*ae771770SStanislav Sedov 32*ae771770SStanislav Sedov * ntlm/init_sec_context.c: use krb5_get_error_message 33*ae771770SStanislav Sedov 34*ae771770SStanislav Sedov2008-05-05 Love Hörnquist Åstrand <lha@kth.se> 35*ae771770SStanislav Sedov 36*ae771770SStanislav Sedov * spnego/spnego_locl.h: Add back "mech/utils.h", its needed for 37*ae771770SStanislav Sedov oid/buffer functions. 38*ae771770SStanislav Sedov 39*ae771770SStanislav Sedov2008-05-02 Love Hörnquist Åstrand <lha@it.su.se> 40*ae771770SStanislav Sedov 41*ae771770SStanislav Sedov * spnego: Changes from doug barton to make spnego indepedant of 42*ae771770SStanislav Sedov the heimdal version of the plugin system. 43*ae771770SStanislav Sedov 44*ae771770SStanislav Sedov2008-04-27 Love Hörnquist Åstrand <lha@it.su.se> 45*ae771770SStanislav Sedov 46*ae771770SStanislav Sedov * krb5: use DES_set_key_unchecked() 47*ae771770SStanislav Sedov 48*ae771770SStanislav Sedov2008-04-17 Love Hörnquist Åstrand <lha@it.su.se> 49*ae771770SStanislav Sedov 50*ae771770SStanislav Sedov * add __declspec() for windows. 51*ae771770SStanislav Sedov 52*ae771770SStanislav Sedov2008-04-15 Love Hörnquist Åstrand <lha@it.su.se> 53*ae771770SStanislav Sedov 54*ae771770SStanislav Sedov * krb5/import_sec_context.c: Use tmp to read ac->flags value to 55*ae771770SStanislav Sedov avoid warning. 56*ae771770SStanislav Sedov 57*ae771770SStanislav Sedov2008-04-07 Love Hörnquist Åstrand <lha@it.su.se> 58*ae771770SStanislav Sedov 59*ae771770SStanislav Sedov * mech/gss_mech_switch.c: Use unsigned where appropriate. 60*ae771770SStanislav Sedov 61*ae771770SStanislav Sedov2008-03-14 Love Hörnquist Åstrand <lha@it.su.se> 62*ae771770SStanislav Sedov 63*ae771770SStanislav Sedov * test_context.c: Add test for gsskrb5_register_acceptor_identity. 64*ae771770SStanislav Sedov 65*ae771770SStanislav Sedov2008-03-09 Love Hörnquist Åstrand <lha@it.su.se> 66*ae771770SStanislav Sedov 67*ae771770SStanislav Sedov * krb5/init_sec_context.c (init_auth): use right variable to 68*ae771770SStanislav Sedov detect if we want to free or not. 69*ae771770SStanislav Sedov 70*ae771770SStanislav Sedov2008-02-26 Love Hörnquist Åstrand <lha@it.su.se> 71*ae771770SStanislav Sedov 72*ae771770SStanislav Sedov * Makefile.am: add missing \ 73*ae771770SStanislav Sedov 74*ae771770SStanislav Sedov * Makefile.am: reshuffle depenencies 75*ae771770SStanislav Sedov 76*ae771770SStanislav Sedov * Add flag to krb5 to not add GSS-API INT|CONF to the negotiation 77*ae771770SStanislav Sedov 78*ae771770SStanislav Sedov2008-02-21 Love Hörnquist Åstrand <lha@it.su.se> 79*ae771770SStanislav Sedov 80*ae771770SStanislav Sedov * make the SPNEGO mech store the error itself instead, works for 81*ae771770SStanislav Sedov everything except other stackable mechs 82*ae771770SStanislav Sedov 83*ae771770SStanislav Sedov2008-02-18 Love Hörnquist Åstrand <lha@it.su.se> 84*ae771770SStanislav Sedov 85*ae771770SStanislav Sedov * spnego/init_sec_context.c (spnego_reply): if the reply token was 86*ae771770SStanislav Sedov of length 0, make it the same as no token. Pointed out by Zeqing 87*ae771770SStanislav Sedov Xia. 88*ae771770SStanislav Sedov 89*ae771770SStanislav Sedov * krb5/acquire_cred.c (acquire_initiator_cred): handle the 90*ae771770SStanislav Sedov credential cache better, use destroy/close when appriate and for 91*ae771770SStanislav Sedov all cases. Thanks to Michael Allen for point out the memory-leak 92*ae771770SStanislav Sedov that I also fixed. 93*ae771770SStanislav Sedov 94*ae771770SStanislav Sedov2008-02-03 Love Hörnquist Åstrand <lha@it.su.se> 95*ae771770SStanislav Sedov 96*ae771770SStanislav Sedov * spnego/accept_sec_context.c: Make error reporting somewhat more 97*ae771770SStanislav Sedov correct for SPNEGO. 98*ae771770SStanislav Sedov 99*ae771770SStanislav Sedov2008-01-27 Love Hörnquist Åstrand <lha@it.su.se> 100*ae771770SStanislav Sedov 101*ae771770SStanislav Sedov * test_common.c: Improve the error message. 102*ae771770SStanislav Sedov 103*ae771770SStanislav Sedov2008-01-24 Love Hörnquist Åstrand <lha@it.su.se> 104*ae771770SStanislav Sedov 105*ae771770SStanislav Sedov * ntlm/accept_sec_context.c: Avoid free-ing type1 message before 106*ae771770SStanislav Sedov its allocated. 107*ae771770SStanislav Sedov 108*ae771770SStanislav Sedov2008-01-13 Love Hörnquist Åstrand <lha@it.su.se> 1091c43270aSJacques Vidrine 110c19800e8SDoug Rabson * test_ntlm.c: Test source name (and make the acceptor in ntlm gss 111c19800e8SDoug Rabson mech useful). 112c19800e8SDoug Rabson 113*ae771770SStanislav Sedov2007-12-30 Love Hörnquist Åstrand <lha@it.su.se> 114c19800e8SDoug Rabson 115c19800e8SDoug Rabson * ntlm/init_sec_context.c: Don't confuse target name and source 116c19800e8SDoug Rabson name, make regressiont tests pass again. 117c19800e8SDoug Rabson 118*ae771770SStanislav Sedov2007-12-29 Love Hörnquist Åstrand <lha@it.su.se> 119c19800e8SDoug Rabson 120c19800e8SDoug Rabson * ntlm: clean up name handling 121c19800e8SDoug Rabson 122*ae771770SStanislav Sedov2007-12-04 Love Hörnquist Åstrand <lha@it.su.se> 123c19800e8SDoug Rabson 124c19800e8SDoug Rabson * ntlm/init_sec_context.c: Use credential if it was passed in. 125c19800e8SDoug Rabson 126c19800e8SDoug Rabson * ntlm/acquire_cred.c: Check if there is initial creds with 127c19800e8SDoug Rabson _gss_ntlm_get_user_cred(). 128c19800e8SDoug Rabson 129c19800e8SDoug Rabson * ntlm/init_sec_context.c: Add _gss_ntlm_get_user_info() that 130c19800e8SDoug Rabson return the user info so it can be used by external modules. 131c19800e8SDoug Rabson 132c19800e8SDoug Rabson * ntlm/inquire_cred.c: use the right error code. 133c19800e8SDoug Rabson 134c19800e8SDoug Rabson * ntlm/inquire_cred.c: Return GSS_C_NO_CREDENTIAL if there is no 135c19800e8SDoug Rabson credential, ntlm have (not yet) a default credential. 136c19800e8SDoug Rabson 137c19800e8SDoug Rabson * mech/gss_release_oid_set.c: Avoid trying to deref NULL, from 138c19800e8SDoug Rabson Phil Fisher. 139c19800e8SDoug Rabson 140*ae771770SStanislav Sedov2007-12-03 Love Hörnquist Åstrand <lha@it.su.se> 141c19800e8SDoug Rabson 142c19800e8SDoug Rabson * test_acquire_cred.c: Always try to fetch cred (even with 143c19800e8SDoug Rabson GSS_C_NO_NAME). 144c19800e8SDoug Rabson 145*ae771770SStanislav Sedov2007-08-09 Love Hörnquist Åstrand <lha@it.su.se> 146c19800e8SDoug Rabson 147c19800e8SDoug Rabson * mech/gss_krb5.c: Readd gss_krb5_get_tkt_flags. 148c19800e8SDoug Rabson 149*ae771770SStanislav Sedov2007-08-08 Love Hörnquist Åstrand <lha@it.su.se> 150c19800e8SDoug Rabson 151c19800e8SDoug Rabson * spnego/compat.c (_gss_spnego_internal_delete_sec_context): 152c19800e8SDoug Rabson release ctx->target_name too From Rafal Malinowski. 153c19800e8SDoug Rabson 154*ae771770SStanislav Sedov2007-07-26 Love Hörnquist Åstrand <lha@it.su.se> 155c19800e8SDoug Rabson 156c19800e8SDoug Rabson * mech/gss_mech_switch.c: Don't try to do dlopen if system doesn't 157c19800e8SDoug Rabson have dlopen. From Rune of Chalmers. 158c19800e8SDoug Rabson 159*ae771770SStanislav Sedov2007-07-10 Love Hörnquist Åstrand <lha@it.su.se> 160c19800e8SDoug Rabson 161c19800e8SDoug Rabson * mech/gss_duplicate_name.c: New signature of _gss_find_mn. 162c19800e8SDoug Rabson 163c19800e8SDoug Rabson * mech/gss_init_sec_context.c: New signature of _gss_find_mn. 164c19800e8SDoug Rabson 165c19800e8SDoug Rabson * mech/gss_acquire_cred.c: New signature of _gss_find_mn. 166c19800e8SDoug Rabson 167c19800e8SDoug Rabson * mech/name.h: New signature of _gss_find_mn. 168c19800e8SDoug Rabson 169c19800e8SDoug Rabson * mech/gss_canonicalize_name.c: New signature of _gss_find_mn. 170c19800e8SDoug Rabson 171c19800e8SDoug Rabson * mech/gss_compare_name.c: New signature of _gss_find_mn. 172c19800e8SDoug Rabson 173c19800e8SDoug Rabson * mech/gss_add_cred.c: New signature of _gss_find_mn. 174c19800e8SDoug Rabson 175c19800e8SDoug Rabson * mech/gss_names.c (_gss_find_mn): Return an error code for 176c19800e8SDoug Rabson caller. 177c19800e8SDoug Rabson 178c19800e8SDoug Rabson * spnego/accept_sec_context.c: remove checks that are done by the 179c19800e8SDoug Rabson previous function. 180c19800e8SDoug Rabson 181c19800e8SDoug Rabson * Makefile.am: New library version. 182c19800e8SDoug Rabson 183*ae771770SStanislav Sedov2007-07-04 Love Hörnquist Åstrand <lha@it.su.se> 184c19800e8SDoug Rabson 185c19800e8SDoug Rabson * mech/gss_oid_to_str.c: Refuse to print GSS_C_NULL_OID, from 186c19800e8SDoug Rabson Rafal Malinowski. 187c19800e8SDoug Rabson 188c19800e8SDoug Rabson * spnego/spnego.asn1: Indent and make NegTokenInit and 189c19800e8SDoug Rabson NegTokenResp extendable. 190c19800e8SDoug Rabson 191*ae771770SStanislav Sedov2007-06-21 Love Hörnquist Åstrand <lha@it.su.se> 192c19800e8SDoug Rabson 193c19800e8SDoug Rabson * ntlm/inquire_cred.c: Implement _gss_ntlm_inquire_cred. 194c19800e8SDoug Rabson 195c19800e8SDoug Rabson * mech/gss_display_status.c: Provide message for GSS_S_COMPLETE. 196c19800e8SDoug Rabson 197c19800e8SDoug Rabson * mech/context.c: If the canned string is "", its no use to the 198c19800e8SDoug Rabson user, make it fall back to the default error string. 199c19800e8SDoug Rabson 200*ae771770SStanislav Sedov2007-06-20 Love Hörnquist Åstrand <lha@it.su.se> 201c19800e8SDoug Rabson 202c19800e8SDoug Rabson * mech/gss_display_name.c (gss_display_name): no name -> 203c19800e8SDoug Rabson fail. From Rafal Malinswski. 204c19800e8SDoug Rabson 205c19800e8SDoug Rabson * spnego/accept_sec_context.c: Wrap name in a spnego_name instead 206c19800e8SDoug Rabson of just a copy of the underlaying object. From Rafal Malinswski. 207c19800e8SDoug Rabson 208c19800e8SDoug Rabson * spnego/accept_sec_context.c: Handle underlaying mech not 209c19800e8SDoug Rabson returning mn. 210c19800e8SDoug Rabson 211c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: Handle underlaying mech not 212c19800e8SDoug Rabson returning mn. 213c19800e8SDoug Rabson 214c19800e8SDoug Rabson * spnego/accept_sec_context.c: Make sure src_name is always set to 215c19800e8SDoug Rabson GSS_C_NO_NAME when returning. 216c19800e8SDoug Rabson 217c19800e8SDoug Rabson * krb5/acquire_cred.c (acquire_acceptor_cred): don't claim 218c19800e8SDoug Rabson everything is well on failure. From Phil Fisher. 219c19800e8SDoug Rabson 220c19800e8SDoug Rabson * mech/gss_duplicate_name.c: catch error (and ignore it) 221c19800e8SDoug Rabson 222c19800e8SDoug Rabson * ntlm/init_sec_context.c: Use heim_ntlm_calculate_ntlm2_sess. 223c19800e8SDoug Rabson 224c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: Only wrap the delegated cred if 225c19800e8SDoug Rabson we got a delegated mech cred. From Rafal Malinowski. 226c19800e8SDoug Rabson 227c19800e8SDoug Rabson * spnego/accept_sec_context.c: Only wrap the delegated cred if we 228c19800e8SDoug Rabson are going to return it to the consumer. From Rafal Malinowski. 229c19800e8SDoug Rabson 230c19800e8SDoug Rabson * spnego/accept_sec_context.c: Fixed memory leak pointed out by 231c19800e8SDoug Rabson Rafal Malinowski, also while here moved to use NegotiationToken 232c19800e8SDoug Rabson for decoding. 233c19800e8SDoug Rabson 234*ae771770SStanislav Sedov2007-06-18 Love Hörnquist Åstrand <lha@it.su.se> 235c19800e8SDoug Rabson 236c19800e8SDoug Rabson * krb5/prf.c (_gsskrb5_pseudo_random): add missing break. 237c19800e8SDoug Rabson 238c19800e8SDoug Rabson * krb5/release_name.c: Set *minor_status unconditionallty, its 239c19800e8SDoug Rabson done later anyway. 240c19800e8SDoug Rabson 241c19800e8SDoug Rabson * spnego/accept_sec_context.c: Init get_mic to 0. 242c19800e8SDoug Rabson 243c19800e8SDoug Rabson * mech/gss_set_cred_option.c: Free memory in failure case, found 244c19800e8SDoug Rabson by beam. 245c19800e8SDoug Rabson 246c19800e8SDoug Rabson * mech/gss_inquire_context.c: Handle mech_type being NULL. 247c19800e8SDoug Rabson 248c19800e8SDoug Rabson * mech/gss_inquire_cred_by_mech.c: Handle cred_name being NULL. 249c19800e8SDoug Rabson 250c19800e8SDoug Rabson * mech/gss_krb5.c: Free memory in error case, found by beam. 251c19800e8SDoug Rabson 252*ae771770SStanislav Sedov2007-06-12 Love Hörnquist Åstrand <lha@it.su.se> 253c19800e8SDoug Rabson 254c19800e8SDoug Rabson * ntlm/inquire_context.c: Use ctx->gssflags for flags. 255c19800e8SDoug Rabson 256c19800e8SDoug Rabson * krb5/display_name.c: Use KRB5_PRINCIPAL_UNPARSE_DISPLAY, this is 257c19800e8SDoug Rabson not ment for machine consumption. 258c19800e8SDoug Rabson 259*ae771770SStanislav Sedov2007-06-09 Love Hörnquist Åstrand <lha@it.su.se> 260c19800e8SDoug Rabson 261c19800e8SDoug Rabson * ntlm/digest.c (kdc_alloc): free memory on failure, pointed out 262c19800e8SDoug Rabson by Rafal Malinowski. 263c19800e8SDoug Rabson 264c19800e8SDoug Rabson * ntlm/digest.c (kdc_destroy): free context when done, pointed out 265c19800e8SDoug Rabson by Rafal Malinowski. 266c19800e8SDoug Rabson 267c19800e8SDoug Rabson * spnego/context_stubs.c (_gss_spnego_display_name): if input_name 268c19800e8SDoug Rabson is null, fail. From Rafal Malinowski. 269c19800e8SDoug Rabson 270*ae771770SStanislav Sedov2007-06-04 Love Hörnquist Åstrand <lha@it.su.se> 271c19800e8SDoug Rabson 272c19800e8SDoug Rabson * ntlm/digest.c: Free memory when done. 273c19800e8SDoug Rabson 274*ae771770SStanislav Sedov2007-06-02 Love Hörnquist Åstrand <lha@it.su.se> 275c19800e8SDoug Rabson 276c19800e8SDoug Rabson * test_ntlm.c: Test both with and without keyex. 277c19800e8SDoug Rabson 278c19800e8SDoug Rabson * ntlm/digest.c: If we didn't set session key, don't expect one 279c19800e8SDoug Rabson back. 280c19800e8SDoug Rabson 281c19800e8SDoug Rabson * test_ntlm.c: Set keyex flag and calculate session key. 282c19800e8SDoug Rabson 283*ae771770SStanislav Sedov2007-05-31 Love Hörnquist Åstrand <lha@it.su.se> 284c19800e8SDoug Rabson 285c19800e8SDoug Rabson * spnego/accept_sec_context.c: Use the return value before is 286c19800e8SDoug Rabson overwritten by later calls. From Rafal Malinowski 287c19800e8SDoug Rabson 288c19800e8SDoug Rabson * krb5/release_cred.c: Give an minor_status argument to 289c19800e8SDoug Rabson gss_release_oid_set. From Rafal Malinowski 290c19800e8SDoug Rabson 291*ae771770SStanislav Sedov2007-05-30 Love Hörnquist Åstrand <lha@it.su.se> 292c19800e8SDoug Rabson 293c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Catch errors and return the up the 294c19800e8SDoug Rabson stack. 295c19800e8SDoug Rabson 296c19800e8SDoug Rabson * test_kcred.c: more testing of lifetimes 297c19800e8SDoug Rabson 298*ae771770SStanislav Sedov2007-05-17 Love Hörnquist Åstrand <lha@it.su.se> 299c19800e8SDoug Rabson 300c19800e8SDoug Rabson * Makefile.am: Drop the gss oid_set function for the krb5 mech, 301c19800e8SDoug Rabson use the mech glue versions instead. Pointed out by Rafal 302c19800e8SDoug Rabson Malinowski. 303c19800e8SDoug Rabson 304c19800e8SDoug Rabson * krb5: Use gss oid_set functions from mechglue 305c19800e8SDoug Rabson 306*ae771770SStanislav Sedov2007-05-14 Love Hörnquist Åstrand <lha@it.su.se> 307c19800e8SDoug Rabson 308c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Set session key only if we are 309c19800e8SDoug Rabson returned a session key. Found by David Love. 310c19800e8SDoug Rabson 311*ae771770SStanislav Sedov2007-05-13 Love Hörnquist Åstrand <lha@it.su.se> 312c19800e8SDoug Rabson 313c19800e8SDoug Rabson * krb5/prf.c: switched MIN to min to make compile on solaris, 314c19800e8SDoug Rabson pointed out by David Love. 315c19800e8SDoug Rabson 316*ae771770SStanislav Sedov2007-05-09 Love Hörnquist Åstrand <lha@it.su.se> 317c19800e8SDoug Rabson 318c19800e8SDoug Rabson * krb5/inquire_cred_by_mech.c: Fill in all of the variables if 319c19800e8SDoug Rabson they are passed in. Pointed out by Phil Fisher. 320c19800e8SDoug Rabson 321*ae771770SStanislav Sedov2007-05-08 Love Hörnquist Åstrand <lha@it.su.se> 322c19800e8SDoug Rabson 323c19800e8SDoug Rabson * krb5/inquire_cred.c: Fix copy and paste error, bug spotted by 324c19800e8SDoug Rabson from Phil Fisher. 325c19800e8SDoug Rabson 326c19800e8SDoug Rabson * mech: dont keep track of gc_usage, just figure it out at 327c19800e8SDoug Rabson gss_inquire_cred() time 328c19800e8SDoug Rabson 329c19800e8SDoug Rabson * mech/gss_mech_switch.c (add_builtin): ok for 330c19800e8SDoug Rabson __gss_mech_initialize() to return NULL 331c19800e8SDoug Rabson 332c19800e8SDoug Rabson * test_kcred.c: more correct tests 333c19800e8SDoug Rabson 334c19800e8SDoug Rabson * spnego/cred_stubs.c (gss_inquire_cred*): wrap the name with a 335c19800e8SDoug Rabson spnego_name. 336c19800e8SDoug Rabson 337c19800e8SDoug Rabson * ntlm/inquire_cred.c: make ntlm gss_inquire_cred fail for now, 338c19800e8SDoug Rabson need to find default cred and friends. 339c19800e8SDoug Rabson 340c19800e8SDoug Rabson * krb5/inquire_cred_by_mech.c: reimplement 341c19800e8SDoug Rabson 342*ae771770SStanislav Sedov2007-05-07 Love Hörnquist Åstrand <lha@it.su.se> 343c19800e8SDoug Rabson 344c19800e8SDoug Rabson * ntlm/acquire_cred.c: drop unused variable. 345c19800e8SDoug Rabson 346c19800e8SDoug Rabson * ntlm/acquire_cred.c: Reimplement. 347c19800e8SDoug Rabson 348c19800e8SDoug Rabson * Makefile.am: add ntlm/digest.c 349c19800e8SDoug Rabson 350c19800e8SDoug Rabson * ntlm: split out backend ntlm server processing 351c19800e8SDoug Rabson 352*ae771770SStanislav Sedov2007-04-24 Love Hörnquist Åstrand <lha@it.su.se> 353c19800e8SDoug Rabson 354c19800e8SDoug Rabson * ntlm/delete_sec_context.c (_gss_ntlm_delete_sec_context): free 355c19800e8SDoug Rabson credcache when done 356c19800e8SDoug Rabson 357*ae771770SStanislav Sedov2007-04-22 Love Hörnquist Åstrand <lha@it.su.se> 358c19800e8SDoug Rabson 359c19800e8SDoug Rabson * ntlm/init_sec_context.c: ntlm-key credential entry is prefix with @ 360c19800e8SDoug Rabson 361c19800e8SDoug Rabson * ntlm/init_sec_context.c (get_user_ccache): pick up the ntlm 362c19800e8SDoug Rabson creds from the krb5 credential cache. 363c19800e8SDoug Rabson 364*ae771770SStanislav Sedov2007-04-21 Love Hörnquist Åstrand <lha@it.su.se> 365c19800e8SDoug Rabson 366c19800e8SDoug Rabson * ntlm/delete_sec_context.c: free the key stored in the context 367c19800e8SDoug Rabson 368c19800e8SDoug Rabson * ntlm/ntlm.h: switch password for a key 369c19800e8SDoug Rabson 370c19800e8SDoug Rabson * test_oid.c: Switch oid to one that is exported. 371c19800e8SDoug Rabson 372*ae771770SStanislav Sedov2007-04-20 Love Hörnquist Åstrand <lha@it.su.se> 373c19800e8SDoug Rabson 374c19800e8SDoug Rabson * ntlm/init_sec_context.c: move where hash is calculated to make 375c19800e8SDoug Rabson it easier to add ccache support. 376c19800e8SDoug Rabson 377c19800e8SDoug Rabson * Makefile.am: Add version-script.map to EXTRA_DIST. 378c19800e8SDoug Rabson 379*ae771770SStanislav Sedov2007-04-19 Love Hörnquist Åstrand <lha@it.su.se> 380c19800e8SDoug Rabson 381c19800e8SDoug Rabson * Makefile.am: Unconfuse newer versions of automake that doesn't 382c19800e8SDoug Rabson know the diffrence between depenences and setting variables. foo: 383c19800e8SDoug Rabson vs foo=. 384c19800e8SDoug Rabson 385c19800e8SDoug Rabson * test_ntlm.c: delete sec context when done. 386c19800e8SDoug Rabson 387c19800e8SDoug Rabson * version-script.map: export more symbols. 388c19800e8SDoug Rabson 389c19800e8SDoug Rabson * Makefile.am: add version script if ld supports it 390c19800e8SDoug Rabson 391c19800e8SDoug Rabson * version-script.map: add version script if ld supports it 392c19800e8SDoug Rabson 393*ae771770SStanislav Sedov2007-04-18 Love Hörnquist Åstrand <lha@it.su.se> 394c19800e8SDoug Rabson 395c19800e8SDoug Rabson * Makefile.am: test_acquire_cred need test_common.[ch] 396c19800e8SDoug Rabson 397c19800e8SDoug Rabson * test_acquire_cred.c: add more test options. 398c19800e8SDoug Rabson 399c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_CCACHE_NAME_X 400c19800e8SDoug Rabson 401c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_CCACHE_NAME_X 402c19800e8SDoug Rabson 403c19800e8SDoug Rabson * krb5/set_sec_context_option.c: refactor code, implement 404c19800e8SDoug Rabson GSS_KRB5_CCACHE_NAME_X 405c19800e8SDoug Rabson 406c19800e8SDoug Rabson * mech/gss_krb5.c: reimplement gss_krb5_ccache_name 407c19800e8SDoug Rabson 408*ae771770SStanislav Sedov2007-04-17 Love Hörnquist Åstrand <lha@it.su.se> 409c19800e8SDoug Rabson 410c19800e8SDoug Rabson * spnego/cred_stubs.c: Need to import spnego name before we can 411c19800e8SDoug Rabson use it as a gss_name_t. 412c19800e8SDoug Rabson 413c19800e8SDoug Rabson * test_acquire_cred.c: use this test as part of the regression 414c19800e8SDoug Rabson suite. 415c19800e8SDoug Rabson 416c19800e8SDoug Rabson * mech/gss_acquire_cred.c (gss_acquire_cred): dont init 417c19800e8SDoug Rabson cred->gc_mc every time in the loop. 418c19800e8SDoug Rabson 419*ae771770SStanislav Sedov2007-04-15 Love Hörnquist Åstrand <lha@it.su.se> 420c19800e8SDoug Rabson 421c19800e8SDoug Rabson * Makefile.am: add test_common.h 422c19800e8SDoug Rabson 423*ae771770SStanislav Sedov2007-02-16 Love Hörnquist Åstrand <lha@it.su.se> 424c19800e8SDoug Rabson 425c19800e8SDoug Rabson * gss_acquire_cred.3: Add link for 426c19800e8SDoug Rabson gsskrb5_register_acceptor_identity. 427c19800e8SDoug Rabson 428*ae771770SStanislav Sedov2007-02-08 Love Hörnquist Åstrand <lha@it.su.se> 429c19800e8SDoug Rabson 430c19800e8SDoug Rabson * krb5/copy_ccache.c: Try to leak less memory in the failure case. 431c19800e8SDoug Rabson 432*ae771770SStanislav Sedov2007-01-31 Love Hörnquist Åstrand <lha@it.su.se> 433c19800e8SDoug Rabson 434c19800e8SDoug Rabson * mech/gss_display_status.c: Use right printf formater. 435c19800e8SDoug Rabson 436c19800e8SDoug Rabson * test_*.[ch]: split out the error printing function and try to 437c19800e8SDoug Rabson return better errors 438c19800e8SDoug Rabson 439*ae771770SStanislav Sedov2007-01-30 Love Hörnquist Åstrand <lha@it.su.se> 440c19800e8SDoug Rabson 441c19800e8SDoug Rabson * krb5/init_sec_context.c: revert 1.75: (init_auth): only turn on 442c19800e8SDoug Rabson GSS_C_CONF_FLAG and GSS_C_INT_FLAG if the caller requseted it. 443c19800e8SDoug Rabson 444c19800e8SDoug Rabson This is because Kerberos always support INT|CONF, matches behavior 445c19800e8SDoug Rabson with MS and MIT. The creates problems for the GSS-SPNEGO mech. 446c19800e8SDoug Rabson 447*ae771770SStanislav Sedov2007-01-24 Love Hörnquist Åstrand <lha@it.su.se> 448c19800e8SDoug Rabson 449c19800e8SDoug Rabson * krb5/prf.c: constrain desired_output_len 450c19800e8SDoug Rabson 451c19800e8SDoug Rabson * krb5/external.c (krb5_mech): add _gsskrb5_pseudo_random 452c19800e8SDoug Rabson 453c19800e8SDoug Rabson * mech/gss_pseudo_random.c: Catch error from underlaying mech on 454c19800e8SDoug Rabson failure. 455c19800e8SDoug Rabson 456c19800e8SDoug Rabson * Makefile.am: Add krb5/prf.c 457c19800e8SDoug Rabson 458c19800e8SDoug Rabson * krb5/prf.c: gss_pseudo_random for krb5 459c19800e8SDoug Rabson 460c19800e8SDoug Rabson * test_context.c: Checks for gss_pseudo_random. 461c19800e8SDoug Rabson 462c19800e8SDoug Rabson * krb5/gkrb5_err.et: add KG_INPUT_TOO_LONG 463c19800e8SDoug Rabson 464c19800e8SDoug Rabson * Makefile.am: Add mech/gss_pseudo_random.c 465c19800e8SDoug Rabson 466c19800e8SDoug Rabson * gssapi/gssapi.h: try to load pseudo_random 467c19800e8SDoug Rabson 468c19800e8SDoug Rabson * mech/gss_mech_switch.c: try to load pseudo_random 469c19800e8SDoug Rabson 470c19800e8SDoug Rabson * mech/gss_pseudo_random.c: Add gss_pseudo_random. 471c19800e8SDoug Rabson 472c19800e8SDoug Rabson * gssapi_mech.h: Add hook for gm_pseudo_random. 473c19800e8SDoug Rabson 474*ae771770SStanislav Sedov2007-01-17 Love Hörnquist Åstrand <lha@it.su.se> 475c19800e8SDoug Rabson 476c19800e8SDoug Rabson * test_context.c: Don't assume bufer from gss_display_status is 477c19800e8SDoug Rabson ok. 478c19800e8SDoug Rabson 479c19800e8SDoug Rabson * mech/gss_wrap_size_limit.c: Reset out variables. 480c19800e8SDoug Rabson 481c19800e8SDoug Rabson * mech/gss_wrap.c: Reset out variables. 482c19800e8SDoug Rabson 483c19800e8SDoug Rabson * mech/gss_verify_mic.c: Reset out variables. 484c19800e8SDoug Rabson 485c19800e8SDoug Rabson * mech/gss_utils.c: Reset out variables. 486c19800e8SDoug Rabson 487c19800e8SDoug Rabson * mech/gss_release_oid_set.c: Reset out variables. 488c19800e8SDoug Rabson 489c19800e8SDoug Rabson * mech/gss_release_cred.c: Reset out variables. 490c19800e8SDoug Rabson 491c19800e8SDoug Rabson * mech/gss_release_buffer.c: Reset variables. 492c19800e8SDoug Rabson 493c19800e8SDoug Rabson * mech/gss_oid_to_str.c: Reset out variables. 494c19800e8SDoug Rabson 495c19800e8SDoug Rabson * mech/gss_inquire_sec_context_by_oid.c: Fix reset out variables. 496c19800e8SDoug Rabson 497c19800e8SDoug Rabson * mech/gss_mech_switch.c: Reset out variables. 498c19800e8SDoug Rabson 499c19800e8SDoug Rabson * mech/gss_inquire_sec_context_by_oid.c: Reset out variables. 500c19800e8SDoug Rabson 501c19800e8SDoug Rabson * mech/gss_inquire_names_for_mech.c: Reset out variables. 502c19800e8SDoug Rabson 503c19800e8SDoug Rabson * mech/gss_inquire_cred_by_oid.c: Reset out variables. 504c19800e8SDoug Rabson 505c19800e8SDoug Rabson * mech/gss_inquire_cred_by_oid.c: Reset out variables. 506c19800e8SDoug Rabson 507c19800e8SDoug Rabson * mech/gss_inquire_cred_by_mech.c: Reset out variables. 508c19800e8SDoug Rabson 509c19800e8SDoug Rabson * mech/gss_inquire_cred.c: Reset out variables, fix memory leak. 510c19800e8SDoug Rabson 511c19800e8SDoug Rabson * mech/gss_inquire_context.c: Reset out variables. 512c19800e8SDoug Rabson 513c19800e8SDoug Rabson * mech/gss_init_sec_context.c: Zero out outbuffer on failure. 514c19800e8SDoug Rabson 515c19800e8SDoug Rabson * mech/gss_import_name.c: Reset out variables. 516c19800e8SDoug Rabson 517c19800e8SDoug Rabson * mech/gss_import_name.c: Reset out variables. 518c19800e8SDoug Rabson 519c19800e8SDoug Rabson * mech/gss_get_mic.c: Reset out variables. 520c19800e8SDoug Rabson 521c19800e8SDoug Rabson * mech/gss_export_name.c: Reset out variables. 522c19800e8SDoug Rabson 523c19800e8SDoug Rabson * mech/gss_encapsulate_token.c: Reset out variables. 524c19800e8SDoug Rabson 525c19800e8SDoug Rabson * mech/gss_duplicate_oid.c: Reset out variables. 526c19800e8SDoug Rabson 527c19800e8SDoug Rabson * mech/gss_duplicate_oid.c: Reset out variables. 528c19800e8SDoug Rabson 529c19800e8SDoug Rabson * mech/gss_duplicate_name.c: Reset out variables. 530c19800e8SDoug Rabson 531c19800e8SDoug Rabson * mech/gss_display_status.c: Reset out variables. 532c19800e8SDoug Rabson 533c19800e8SDoug Rabson * mech/gss_display_name.c: Reset out variables. 534c19800e8SDoug Rabson 535c19800e8SDoug Rabson * mech/gss_delete_sec_context.c: Reset out variables using propper 536c19800e8SDoug Rabson macros. 537c19800e8SDoug Rabson 538c19800e8SDoug Rabson * mech/gss_decapsulate_token.c: Reset out variables using propper 539c19800e8SDoug Rabson macros. 540c19800e8SDoug Rabson 541c19800e8SDoug Rabson * mech/gss_add_cred.c: Reset out variables. 542c19800e8SDoug Rabson 543c19800e8SDoug Rabson * mech/gss_acquire_cred.c: Reset out variables. 544c19800e8SDoug Rabson 545c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: Reset out variables using propper 546c19800e8SDoug Rabson macros. 547c19800e8SDoug Rabson 548c19800e8SDoug Rabson * mech/gss_init_sec_context.c: Reset out variables. 549c19800e8SDoug Rabson 550c19800e8SDoug Rabson * mech/mech_locl.h (_mg_buffer_zero): new macro that zaps a 551c19800e8SDoug Rabson gss_buffer_t 552c19800e8SDoug Rabson 553*ae771770SStanislav Sedov2007-01-16 Love Hörnquist Åstrand <lha@it.su.se> 554c19800e8SDoug Rabson 555c19800e8SDoug Rabson * mech: sprinkel _gss_mg_error 556c19800e8SDoug Rabson 557c19800e8SDoug Rabson * mech/gss_display_status.c (gss_display_status): use 558c19800e8SDoug Rabson _gss_mg_get_error to fetch the error from underlaying mech, if it 559c19800e8SDoug Rabson failes, let do the regular dance for GSS-CODE version and a 560c19800e8SDoug Rabson generic print-the-error code for MECH-CODE. 561c19800e8SDoug Rabson 562c19800e8SDoug Rabson * mech/gss_oid_to_str.c: Don't include the NUL in the length of 563c19800e8SDoug Rabson the string. 564c19800e8SDoug Rabson 565c19800e8SDoug Rabson * mech/context.h: Protoypes for _gss_mg_. 566c19800e8SDoug Rabson 567c19800e8SDoug Rabson * mech/context.c: Glue to catch the error from the lower gss-api 568c19800e8SDoug Rabson layer and save that for later so gss_display_status() can show the 569c19800e8SDoug Rabson error. 570c19800e8SDoug Rabson 571c19800e8SDoug Rabson * gss.c: Detect NTLM. 572c19800e8SDoug Rabson 573*ae771770SStanislav Sedov2007-01-11 Love Hörnquist Åstrand <lha@it.su.se> 574c19800e8SDoug Rabson 575c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: spelling 576c19800e8SDoug Rabson 577*ae771770SStanislav Sedov2007-01-04 Love Hörnquist Åstrand <lha@it.su.se> 578c19800e8SDoug Rabson 579c19800e8SDoug Rabson * Makefile.am: Include build (private) prototypes header files. 580c19800e8SDoug Rabson 581c19800e8SDoug Rabson * Makefile.am (ntlmsrc): add ntlm/ntlm-private.h 582c19800e8SDoug Rabson 583*ae771770SStanislav Sedov2006-12-28 Love Hörnquist Åstrand <lha@it.su.se> 584c19800e8SDoug Rabson 585c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Pass signseal argument to 586c19800e8SDoug Rabson _gss_ntlm_set_key. 587c19800e8SDoug Rabson 588c19800e8SDoug Rabson * ntlm/init_sec_context.c: Pass signseal argument to 589c19800e8SDoug Rabson _gss_ntlm_set_key. 590c19800e8SDoug Rabson 591c19800e8SDoug Rabson * ntlm/crypto.c (_gss_ntlm_set_key): add signseal argument 592c19800e8SDoug Rabson 593c19800e8SDoug Rabson * test_ntlm.c: add ntlmv2 test 594c19800e8SDoug Rabson 595c19800e8SDoug Rabson * ntlm/ntlm.h: break out struct ntlmv2_key; 596c19800e8SDoug Rabson 597c19800e8SDoug Rabson * ntlm/crypto.c (_gss_ntlm_set_key): set ntlm v2 keys. 598c19800e8SDoug Rabson 599c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Set dummy ntlmv2 keys and Check TI. 600c19800e8SDoug Rabson 601c19800e8SDoug Rabson * ntlm/ntlm.h: NTLMv2 keys. 602c19800e8SDoug Rabson 603c19800e8SDoug Rabson * ntlm/crypto.c: NTLMv2 sign and verify. 604c19800e8SDoug Rabson 605*ae771770SStanislav Sedov2006-12-20 Love Hörnquist Åstrand <lha@it.su.se> 606c19800e8SDoug Rabson 607c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Don't send targetinfo now. 608c19800e8SDoug Rabson 609c19800e8SDoug Rabson * ntlm/init_sec_context.c: Build ntlmv2 answer buffer. 610c19800e8SDoug Rabson 611c19800e8SDoug Rabson * ntlm/init_sec_context.c: Leak less memory. 612c19800e8SDoug Rabson 613c19800e8SDoug Rabson * ntlm/init_sec_context.c: Announce that we support key exchange. 614c19800e8SDoug Rabson 615c19800e8SDoug Rabson * ntlm/init_sec_context.c: Add NTLM_NEG_NTLM2_SESSION, NTLMv2 616c19800e8SDoug Rabson session security (disable because missing sign and seal). 617c19800e8SDoug Rabson 618*ae771770SStanislav Sedov2006-12-19 Love Hörnquist Åstrand <lha@it.su.se> 619c19800e8SDoug Rabson 620c19800e8SDoug Rabson * ntlm/accept_sec_context.c: split RC4 send and recv keystreams 621c19800e8SDoug Rabson 622c19800e8SDoug Rabson * ntlm/init_sec_context.c: split RC4 send and recv keystreams 623c19800e8SDoug Rabson 624c19800e8SDoug Rabson * ntlm/ntlm.h: split RC4 send and recv keystreams 625c19800e8SDoug Rabson 626c19800e8SDoug Rabson * ntlm/crypto.c: Implement SEAL. 627c19800e8SDoug Rabson 628c19800e8SDoug Rabson * ntlm/crypto.c: move gss_wrap/gss_unwrap here 629c19800e8SDoug Rabson 630c19800e8SDoug Rabson * test_context.c: request INT and CONF from the gss layer, test 631c19800e8SDoug Rabson get and verify MIC. 632c19800e8SDoug Rabson 633c19800e8SDoug Rabson * ntlm/ntlm.h: add crypto bits. 634c19800e8SDoug Rabson 635c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Save session master key. 636c19800e8SDoug Rabson 637c19800e8SDoug Rabson * Makefile.am: Move get and verify mic to the same file (crypto.c) 638c19800e8SDoug Rabson since they share code. 639c19800e8SDoug Rabson 640c19800e8SDoug Rabson * ntlm/crypto.c: Move get and verify mic to the same file since 641c19800e8SDoug Rabson they share code, implement NTLM v1 and dummy signatures. 642c19800e8SDoug Rabson 643c19800e8SDoug Rabson * ntlm/init_sec_context.c: pass on GSS_C_CONF_FLAG and 644c19800e8SDoug Rabson GSS_C_INTEG_FLAG, save the session master key 645c19800e8SDoug Rabson 646c19800e8SDoug Rabson * spnego/accept_sec_context.c: try using gss_accept_sec_context() 647c19800e8SDoug Rabson on the opportunistic token instead of guessing the acceptor name 648c19800e8SDoug Rabson and do gss_acquire_cred, this make SPNEGO work like before. 649c19800e8SDoug Rabson 650*ae771770SStanislav Sedov2006-12-18 Love Hörnquist Åstrand <lha@it.su.se> 651c19800e8SDoug Rabson 652c19800e8SDoug Rabson * ntlm/init_sec_context.c: Calculate the NTLM version 1 "master" 653c19800e8SDoug Rabson key. 654c19800e8SDoug Rabson 655c19800e8SDoug Rabson * spnego/accept_sec_context.c: Resurect negHints for the acceptor 656c19800e8SDoug Rabson sends first packet. 657c19800e8SDoug Rabson 658c19800e8SDoug Rabson * Makefile.am: Add "windows" versions of the NegTokenInitWin and 659c19800e8SDoug Rabson friends. 660c19800e8SDoug Rabson 661c19800e8SDoug Rabson * test_context.c: add --wrapunwrap flag 662c19800e8SDoug Rabson 663c19800e8SDoug Rabson * spnego/compat.c: move _gss_spnego_indicate_mechtypelist() to 664c19800e8SDoug Rabson compat.c, use the sequence types of MechTypeList, make 665c19800e8SDoug Rabson add_mech_type() static. 666c19800e8SDoug Rabson 667c19800e8SDoug Rabson * spnego/accept_sec_context.c: move 668c19800e8SDoug Rabson _gss_spnego_indicate_mechtypelist() to compat.c 669c19800e8SDoug Rabson 670c19800e8SDoug Rabson * Makefile.am: Generate sequence code for MechTypeList 671c19800e8SDoug Rabson 672c19800e8SDoug Rabson * spnego: check that the generated acceptor mechlist is acceptable too 673c19800e8SDoug Rabson 674c19800e8SDoug Rabson * spnego/init_sec_context.c: Abstract out the initiator filter 675c19800e8SDoug Rabson function, it will be needed for the acceptor too. 676c19800e8SDoug Rabson 677c19800e8SDoug Rabson * spnego/accept_sec_context.c: Abstract out the initiator filter 678c19800e8SDoug Rabson function, it will be needed for the acceptor too. Remove negHints. 679c19800e8SDoug Rabson 680c19800e8SDoug Rabson * test_context.c: allow asserting return mech 681c19800e8SDoug Rabson 682c19800e8SDoug Rabson * ntlm/accept_sec_context.c: add _gss_ntlm_allocate_ctx 683c19800e8SDoug Rabson 684c19800e8SDoug Rabson * ntlm/acquire_cred.c: Check that the KDC seem to there and 685c19800e8SDoug Rabson answering us, we can't do better then that wen checking if we will 686c19800e8SDoug Rabson accept the credential. 687c19800e8SDoug Rabson 688c19800e8SDoug Rabson * ntlm/get_mic.c: return GSS_S_UNAVAILABLE 689c19800e8SDoug Rabson 690c19800e8SDoug Rabson * mech/utils.h: add _gss_free_oid, reverse of _gss_copy_oid 691c19800e8SDoug Rabson 692c19800e8SDoug Rabson * mech/gss_utils.c: add _gss_free_oid, reverse of _gss_copy_oid 693c19800e8SDoug Rabson 694c19800e8SDoug Rabson * spnego/spnego.asn1: Its very sad, but NegHints its are not part 695c19800e8SDoug Rabson of the NegTokenInit, this makes SPNEGO acceptor life a lot harder. 696c19800e8SDoug Rabson 697c19800e8SDoug Rabson * spnego: try harder to handle names better. handle missing 698c19800e8SDoug Rabson acceptor and initator creds better (ie dont propose/accept mech 699c19800e8SDoug Rabson that there are no credentials for) split NegTokenInit and 700c19800e8SDoug Rabson NegTokenResp in acceptor 701c19800e8SDoug Rabson 702*ae771770SStanislav Sedov2006-12-16 Love Hörnquist Åstrand <lha@it.su.se> 703c19800e8SDoug Rabson 704c19800e8SDoug Rabson * ntlm/import_name.c: Allocate the buffer from the right length. 705c19800e8SDoug Rabson 706*ae771770SStanislav Sedov2006-12-15 Love Hörnquist Åstrand <lha@it.su.se> 707c19800e8SDoug Rabson 708c19800e8SDoug Rabson * ntlm/init_sec_context.c (init_sec_context): Tell the other side 709c19800e8SDoug Rabson what domain we think we are talking to. 710c19800e8SDoug Rabson 711c19800e8SDoug Rabson * ntlm/delete_sec_context.c: free username and password 712c19800e8SDoug Rabson 713c19800e8SDoug Rabson * ntlm/release_name.c (_gss_ntlm_release_name): free name. 714c19800e8SDoug Rabson 715c19800e8SDoug Rabson * ntlm/import_name.c (_gss_ntlm_import_name): add support for 716c19800e8SDoug Rabson GSS_C_NT_HOSTBASED_SERVICE names 717c19800e8SDoug Rabson 718c19800e8SDoug Rabson * ntlm/ntlm.h: Add ntlm_name. 719c19800e8SDoug Rabson 720c19800e8SDoug Rabson * test_context.c: allow testing of ntlm. 721c19800e8SDoug Rabson 722c19800e8SDoug Rabson * gssapi_mech.h: add __gss_ntlm_initialize 723c19800e8SDoug Rabson 724c19800e8SDoug Rabson * ntlm/accept_sec_context.c (handle_type3): verify that the kdc 725c19800e8SDoug Rabson approved of the ntlm exchange too 726c19800e8SDoug Rabson 727c19800e8SDoug Rabson * mech/gss_mech_switch.c: Add the builtin ntlm mech 728c19800e8SDoug Rabson 729c19800e8SDoug Rabson * test_ntlm.c: NTLM test app. 730c19800e8SDoug Rabson 731c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: Add detection of NTLMSSP. 732c19800e8SDoug Rabson 733c19800e8SDoug Rabson * gssapi/gssapi.h: add ntlm mech oid 734c19800e8SDoug Rabson 735c19800e8SDoug Rabson * ntlm/external.c: Switch OID to the ms ntlmssp oid 736c19800e8SDoug Rabson 737c19800e8SDoug Rabson * Makefile.am: Add ntlm gss-api module. 738c19800e8SDoug Rabson 739c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Catch more error errors. 740c19800e8SDoug Rabson 741c19800e8SDoug Rabson * ntlm/accept_sec_context.c: Check after a credential to use. 742c19800e8SDoug Rabson 743*ae771770SStanislav Sedov2006-12-14 Love Hörnquist Åstrand <lha@it.su.se> 744c19800e8SDoug Rabson 745c19800e8SDoug Rabson * krb5/set_sec_context_option.c (GSS_KRB5_SET_DEFAULT_REALM_X): 746c19800e8SDoug Rabson don't fail on success. Bug report from Stefan Metzmacher. 747c19800e8SDoug Rabson 748*ae771770SStanislav Sedov2006-12-13 Love Hörnquist Åstrand <lha@it.su.se> 749c19800e8SDoug Rabson 750c19800e8SDoug Rabson * krb5/init_sec_context.c (init_auth): only turn on 751c19800e8SDoug Rabson GSS_C_CONF_FLAG and GSS_C_INT_FLAG if the caller requseted it. 752c19800e8SDoug Rabson From Stefan Metzmacher. 753c19800e8SDoug Rabson 754*ae771770SStanislav Sedov2006-12-11 Love Hörnquist Åstrand <lha@it.su.se> 755c19800e8SDoug Rabson 756c19800e8SDoug Rabson * Makefile.am (libgssapi_la_OBJECTS): depends on gssapi_asn1.h 757c19800e8SDoug Rabson spnego_asn1.h. 758c19800e8SDoug Rabson 759*ae771770SStanislav Sedov2006-11-20 Love Hörnquist Åstrand <lha@it.su.se> 760c19800e8SDoug Rabson 761c19800e8SDoug Rabson * krb5/acquire_cred.c: Make krb5_get_init_creds_opt_free take a 762c19800e8SDoug Rabson context argument. 763c19800e8SDoug Rabson 764*ae771770SStanislav Sedov2006-11-16 Love Hörnquist Åstrand <lha@it.su.se> 765c19800e8SDoug Rabson 766c19800e8SDoug Rabson * test_context.c: Test that token keys are the same, return 767c19800e8SDoug Rabson actual_mech. 768c19800e8SDoug Rabson 769*ae771770SStanislav Sedov2006-11-15 Love Hörnquist Åstrand <lha@it.su.se> 770c19800e8SDoug Rabson 771c19800e8SDoug Rabson * spnego/spnego_locl.h: Make bitfields unsigned, add maybe_open. 772c19800e8SDoug Rabson 773c19800e8SDoug Rabson * spnego/accept_sec_context.c: Use ASN.1 encoder functions to 774c19800e8SDoug Rabson encode CHOICE structure now that we can handle it. 775c19800e8SDoug Rabson 776c19800e8SDoug Rabson * spnego/init_sec_context.c: Use ASN.1 encoder functions to encode 777c19800e8SDoug Rabson CHOICE structure now that we can handle it. 778c19800e8SDoug Rabson 779c19800e8SDoug Rabson * spnego/accept_sec_context.c (_gss_spnego_accept_sec_context): 780c19800e8SDoug Rabson send back ad accept_completed when the security context is ->open, 781c19800e8SDoug Rabson w/o this the client doesn't know that the server have completed 782c19800e8SDoug Rabson the transaction. 783c19800e8SDoug Rabson 784c19800e8SDoug Rabson * test_context.c: Add delegate flag and check that the delegated 785c19800e8SDoug Rabson cred works. 786c19800e8SDoug Rabson 787c19800e8SDoug Rabson * spnego/init_sec_context.c: Keep track of the opportunistic token 788c19800e8SDoug Rabson in the inital message, it might be a complete gss-api context, in 789c19800e8SDoug Rabson that case we'll get back accept_completed without any token. With 790c19800e8SDoug Rabson this change, krb5 w/o mutual authentication works. 791c19800e8SDoug Rabson 792c19800e8SDoug Rabson * spnego/accept_sec_context.c: Use ASN.1 encoder functions to 793c19800e8SDoug Rabson encode CHOICE structure now that we can handle it. 794c19800e8SDoug Rabson 795c19800e8SDoug Rabson * spnego/accept_sec_context.c: Filter out SPNEGO from the out 796c19800e8SDoug Rabson supported mechs list and make sure we don't select that for the 797c19800e8SDoug Rabson preferred mechamism. 798c19800e8SDoug Rabson 799*ae771770SStanislav Sedov2006-11-14 Love Hörnquist Åstrand <lha@it.su.se> 800c19800e8SDoug Rabson 801c19800e8SDoug Rabson * mech/gss_init_sec_context.c (_gss_mech_cred_find): break out the 802c19800e8SDoug Rabson cred finding to its own function 803c19800e8SDoug Rabson 804c19800e8SDoug Rabson * krb5/wrap.c: Better error strings, from Andrew Bartlet. 805c19800e8SDoug Rabson 806*ae771770SStanislav Sedov2006-11-13 Love Hörnquist Åstrand <lha@it.su.se> 807c19800e8SDoug Rabson 808c19800e8SDoug Rabson * test_context.c: Create our own krb5_context. 809c19800e8SDoug Rabson 810c19800e8SDoug Rabson * krb5: Switch from using a specific error message context in the 811c19800e8SDoug Rabson TLS to have a whole krb5_context in TLS. This have some 812c19800e8SDoug Rabson interestion side-effekts for the configruration setting options 813c19800e8SDoug Rabson since they operate on per-thread basis now. 814c19800e8SDoug Rabson 815c19800e8SDoug Rabson * mech/gss_set_cred_option.c: When calling ->gm_set_cred_option 816c19800e8SDoug Rabson and checking for success, use GSS_S_COMPLETE. From Andrew Bartlet. 817c19800e8SDoug Rabson 818*ae771770SStanislav Sedov2006-11-12 Love Hörnquist Åstrand <lha@it.su.se> 819c19800e8SDoug Rabson 820c19800e8SDoug Rabson * Makefile.am: Help solaris make even more. 821c19800e8SDoug Rabson 822c19800e8SDoug Rabson * Makefile.am: Help solaris make. 823c19800e8SDoug Rabson 824*ae771770SStanislav Sedov2006-11-09 Love Hörnquist Åstrand <lha@it.su.se> 825c19800e8SDoug Rabson 826c19800e8SDoug Rabson * Makefile.am: remove include $(srcdir)/Makefile-digest.am for now 827c19800e8SDoug Rabson 828c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: Try better guessing what is mech 829c19800e8SDoug Rabson we are going to select by looking harder at the input_token, idea 830c19800e8SDoug Rabson from Luke Howard's mechglue branch. 831c19800e8SDoug Rabson 832c19800e8SDoug Rabson * Makefile.am: libgssapi_la_OBJECTS: add depency on gkrb5_err.h 833c19800e8SDoug Rabson 834c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X 835c19800e8SDoug Rabson 836c19800e8SDoug Rabson * mech/gss_krb5.c: implement gss_krb5_set_allowable_enctypes 837c19800e8SDoug Rabson 838c19800e8SDoug Rabson * gssapi/gssapi.h: GSS_KRB5_S_ 839c19800e8SDoug Rabson 840c19800e8SDoug Rabson * krb5/gsskrb5_locl.h: Include <gkrb5_err.h>. 841c19800e8SDoug Rabson 842c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Add gss_krb5_set_allowable_enctypes. 843c19800e8SDoug Rabson 844c19800e8SDoug Rabson * Makefile.am: Build and install gkrb5_err.h 845c19800e8SDoug Rabson 846c19800e8SDoug Rabson * krb5/gkrb5_err.et: Move the GSS_KRB5_S error here. 847c19800e8SDoug Rabson 848*ae771770SStanislav Sedov2006-11-08 Love Hörnquist Åstrand <lha@it.su.se> 849c19800e8SDoug Rabson 850c19800e8SDoug Rabson * mech/gss_krb5.c: Add gsskrb5_set_default_realm. 851c19800e8SDoug Rabson 852c19800e8SDoug Rabson * krb5/set_sec_context_option.c: Support 853c19800e8SDoug Rabson GSS_KRB5_SET_DEFAULT_REALM_X. 854c19800e8SDoug Rabson 855c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_SET_DEFAULT_REALM_X 856c19800e8SDoug Rabson 857c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_SET_DEFAULT_REALM_X 858c19800e8SDoug Rabson 859*ae771770SStanislav Sedov2006-11-07 Love Hörnquist Åstrand <lha@it.su.se> 860c19800e8SDoug Rabson 861c19800e8SDoug Rabson * test_context.c: rename krb5_[gs]et_time_wrap to 862c19800e8SDoug Rabson krb5_[gs]et_max_time_skew 863c19800e8SDoug Rabson 864c19800e8SDoug Rabson * krb5/copy_ccache.c: _gsskrb5_extract_authz_data_from_sec_context 865c19800e8SDoug Rabson no longer used, bye bye 866c19800e8SDoug Rabson 867c19800e8SDoug Rabson * mech/gss_krb5.c: No depenency of the krb5 gssapi mech. 868c19800e8SDoug Rabson 869c19800e8SDoug Rabson * mech/gss_krb5.c (gsskrb5_extract_authtime_from_sec_context): use 870c19800e8SDoug Rabson _gsskrb5_decode_om_uint32. From Andrew Bartlet. 871c19800e8SDoug Rabson 872c19800e8SDoug Rabson * mech/gss_krb5.c: Add dummy gss_krb5_set_allowable_enctypes for 873c19800e8SDoug Rabson now. 874c19800e8SDoug Rabson 875c19800e8SDoug Rabson * spnego/spnego_locl.h: Include <roken.h> for compatiblity. 876c19800e8SDoug Rabson 877c19800e8SDoug Rabson * krb5/arcfour.c: Use IS_DCE_STYLE flag. There is no padding in 878c19800e8SDoug Rabson DCE-STYLE, don't try to use to. From Andrew Bartlett. 879c19800e8SDoug Rabson 880c19800e8SDoug Rabson * test_context.c: test wrap/unwrap, add flag for dce-style and 881c19800e8SDoug Rabson mutual auth, also support multi-roundtrip sessions 882c19800e8SDoug Rabson 883c19800e8SDoug Rabson * krb5/gsskrb5_locl.h: Add IS_DCE_STYLE macro. 884c19800e8SDoug Rabson 885c19800e8SDoug Rabson * krb5/accept_sec_context.c (gsskrb5_acceptor_start): use 886c19800e8SDoug Rabson krb5_rd_req_ctx 887c19800e8SDoug Rabson 888c19800e8SDoug Rabson * mech/gss_krb5.c (gsskrb5_get_subkey): return the per message 889c19800e8SDoug Rabson token subkey 890c19800e8SDoug Rabson 891c19800e8SDoug Rabson * krb5/inquire_sec_context_by_oid.c: check if there is any key at 892c19800e8SDoug Rabson all 893c19800e8SDoug Rabson 894*ae771770SStanislav Sedov2006-11-06 Love Hörnquist Åstrand <lha@it.su.se> 895c19800e8SDoug Rabson 896c19800e8SDoug Rabson * krb5/inquire_sec_context_by_oid.c: Set more error strings, use 897c19800e8SDoug Rabson right enum for acceptor subkey. From Andrew Bartlett. 898c19800e8SDoug Rabson 899*ae771770SStanislav Sedov2006-11-04 Love Hörnquist Åstrand <lha@it.su.se> 900c19800e8SDoug Rabson 901c19800e8SDoug Rabson * test_context.c: Test gsskrb5_extract_service_keyblock, needed in 902c19800e8SDoug Rabson PAC valication. From Andrew Bartlett 903c19800e8SDoug Rabson 904c19800e8SDoug Rabson * mech/gss_krb5.c: Add gsskrb5_extract_authz_data_from_sec_context 905c19800e8SDoug Rabson and keyblock extraction functions. 906c19800e8SDoug Rabson 907c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Add extraction of keyblock function, from 908c19800e8SDoug Rabson Andrew Bartlett. 909c19800e8SDoug Rabson 910c19800e8SDoug Rabson * krb5/external.c: Add GSS_KRB5_GET_SERVICE_KEYBLOCK_X 911c19800e8SDoug Rabson 912*ae771770SStanislav Sedov2006-11-03 Love Hörnquist Åstrand <lha@it.su.se> 913c19800e8SDoug Rabson 914c19800e8SDoug Rabson * test_context.c: Rename various routines and constants from 915c19800e8SDoug Rabson canonize to canonicalize. From Andrew Bartlett 916c19800e8SDoug Rabson 917c19800e8SDoug Rabson * mech/gss_krb5.c: Rename various routines and constants from 918c19800e8SDoug Rabson canonize to canonicalize. From Andrew Bartlett 919c19800e8SDoug Rabson 920c19800e8SDoug Rabson * krb5/set_sec_context_option.c: Rename various routines and 921c19800e8SDoug Rabson constants from canonize to canonicalize. From Andrew Bartlett 922c19800e8SDoug Rabson 923c19800e8SDoug Rabson * krb5/external.c: Rename various routines and constants from 924c19800e8SDoug Rabson canonize to canonicalize. From Andrew Bartlett 925c19800e8SDoug Rabson 926c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Rename various routines and constants from 927c19800e8SDoug Rabson canonize to canonicalize. From Andrew Bartlett 928c19800e8SDoug Rabson 929*ae771770SStanislav Sedov2006-10-25 Love Hörnquist Åstrand <lha@it.su.se> 930c19800e8SDoug Rabson 931c19800e8SDoug Rabson * krb5/accept_sec_context.c (gsskrb5_accept_delegated_token): need 932c19800e8SDoug Rabson to free ccache 933c19800e8SDoug Rabson 934*ae771770SStanislav Sedov2006-10-24 Love Hörnquist Åstrand <lha@it.su.se> 935c19800e8SDoug Rabson 936c19800e8SDoug Rabson * test_context.c (loop): free target_name 937c19800e8SDoug Rabson 938c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: SLIST_INIT the ->gc_mc' 939c19800e8SDoug Rabson 940c19800e8SDoug Rabson * mech/gss_acquire_cred.c : SLIST_INIT the ->gc_mc' 941c19800e8SDoug Rabson 942c19800e8SDoug Rabson * krb5/init_sec_context.c: Avoid leaking memory. 943c19800e8SDoug Rabson 944c19800e8SDoug Rabson * mech/gss_buffer_set.c (gss_release_buffer_set): don't leak the 945c19800e8SDoug Rabson ->elements memory. 946c19800e8SDoug Rabson 947c19800e8SDoug Rabson * test_context.c: make compile 948c19800e8SDoug Rabson 949c19800e8SDoug Rabson * krb5/cfx.c (_gssapi_verify_mic_cfx): always free crypto context. 950c19800e8SDoug Rabson 951c19800e8SDoug Rabson * krb5/set_cred_option.c (import_cred): free sp 952c19800e8SDoug Rabson 953*ae771770SStanislav Sedov2006-10-22 Love Hörnquist Åstrand <lha@it.su.se> 954c19800e8SDoug Rabson 955c19800e8SDoug Rabson * mech/gss_add_oid_set_member.c: Use old implementation of 956c19800e8SDoug Rabson gss_add_oid_set_member, it leaks less memory. 957c19800e8SDoug Rabson 958c19800e8SDoug Rabson * krb5/test_cfx.c: free krb5_crypto. 959c19800e8SDoug Rabson 960c19800e8SDoug Rabson * krb5/test_cfx.c: free krb5_context 961c19800e8SDoug Rabson 962c19800e8SDoug Rabson * mech/gss_release_name.c (gss_release_name): free input_name 963c19800e8SDoug Rabson it-self. 964c19800e8SDoug Rabson 965*ae771770SStanislav Sedov2006-10-21 Love Hörnquist Åstrand <lha@it.su.se> 966c19800e8SDoug Rabson 967c19800e8SDoug Rabson * test_context.c: Call setprogname. 968c19800e8SDoug Rabson 969c19800e8SDoug Rabson * mech/gss_krb5.c: Add gsskrb5_extract_authtime_from_sec_context. 970c19800e8SDoug Rabson 971c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add 972c19800e8SDoug Rabson gsskrb5_extract_authtime_from_sec_context 973c19800e8SDoug Rabson 974*ae771770SStanislav Sedov2006-10-20 Love Hörnquist Åstrand <lha@it.su.se> 975c19800e8SDoug Rabson 976c19800e8SDoug Rabson * krb5/inquire_sec_context_by_oid.c: Add get_authtime. 977c19800e8SDoug Rabson 978c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_GET_AUTHTIME_X 979c19800e8SDoug Rabson 980c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_GET_AUTHTIME_X 981c19800e8SDoug Rabson 982c19800e8SDoug Rabson * krb5/set_sec_context_option.c: Implement GSS_KRB5_SEND_TO_KDC_X. 983c19800e8SDoug Rabson 984c19800e8SDoug Rabson * mech/gss_krb5.c: Add gsskrb5_set_send_to_kdc 985c19800e8SDoug Rabson 986c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Add GSS_KRB5_SEND_TO_KDC_X and 987c19800e8SDoug Rabson gsskrb5_set_send_to_kdc 988c19800e8SDoug Rabson 989c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_SEND_TO_KDC_X 990c19800e8SDoug Rabson 991c19800e8SDoug Rabson * Makefile.am: more files 992c19800e8SDoug Rabson 993*ae771770SStanislav Sedov2006-10-19 Love Hörnquist Åstrand <lha@it.su.se> 994c19800e8SDoug Rabson 995c19800e8SDoug Rabson * Makefile.am: remove spnego/gssapi_spnego.h, its now in gssapi/ 996c19800e8SDoug Rabson 997c19800e8SDoug Rabson * test_context.c: Allow specifing mech. 998c19800e8SDoug Rabson 999c19800e8SDoug Rabson * krb5/external.c: add GSS_SASL_DIGEST_MD5_MECHANISM (for now) 1000c19800e8SDoug Rabson 1001c19800e8SDoug Rabson * gssapi/gssapi.h: Rename GSS_DIGEST_MECHANISM to 1002c19800e8SDoug Rabson GSS_SASL_DIGEST_MD5_MECHANISM 1003c19800e8SDoug Rabson 1004*ae771770SStanislav Sedov2006-10-18 Love Hörnquist Åstrand <lha@it.su.se> 1005c19800e8SDoug Rabson 1006c19800e8SDoug Rabson * mech/gssapi.asn1: Make it into a heim_any_set, its doesn't 1007c19800e8SDoug Rabson except a tag. 1008c19800e8SDoug Rabson 1009c19800e8SDoug Rabson * mech/gssapi.asn1: GSSAPIContextToken is IMPLICIT SEQUENCE 1010c19800e8SDoug Rabson 1011c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_GET_ACCEPTOR_SUBKEY_X 1012c19800e8SDoug Rabson 1013c19800e8SDoug Rabson * krb5/external.c: Add GSS_KRB5_GET_ACCEPTOR_SUBKEY_X. 1014c19800e8SDoug Rabson 1015c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_GET_INITIATOR_SUBKEY_X and 1016c19800e8SDoug Rabson GSS_KRB5_GET_SUBKEY_X 1017c19800e8SDoug Rabson 1018c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_GET_INITIATOR_SUBKEY_X, 1019c19800e8SDoug Rabson GSS_KRB5_GET_SUBKEY_X 1020c19800e8SDoug Rabson 1021*ae771770SStanislav Sedov2006-10-17 Love Hörnquist Åstrand <lha@it.su.se> 1022c19800e8SDoug Rabson 1023c19800e8SDoug Rabson * test_context.c: Support switching on name type oid's 1024c19800e8SDoug Rabson 1025c19800e8SDoug Rabson * test_context.c: add test for dns canon flag 1026c19800e8SDoug Rabson 1027c19800e8SDoug Rabson * mech/gss_krb5.c: Add gsskrb5_set_dns_canonlize. 1028c19800e8SDoug Rabson 1029c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: remove gss_krb5_compat_des3_mic 1030c19800e8SDoug Rabson 1031c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Add gsskrb5_set_dns_canonlize. 1032c19800e8SDoug Rabson 1033c19800e8SDoug Rabson * krb5/set_sec_context_option.c: implement 1034c19800e8SDoug Rabson GSS_KRB5_SET_DNS_CANONIZE_X 1035c19800e8SDoug Rabson 1036c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: add GSS_KRB5_SET_DNS_CANONIZE_X 1037c19800e8SDoug Rabson 1038c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_SET_DNS_CANONIZE_X 1039c19800e8SDoug Rabson 1040c19800e8SDoug Rabson * mech/gss_krb5.c: add bits to make lucid context work 1041c19800e8SDoug Rabson 1042*ae771770SStanislav Sedov2006-10-14 Love Hörnquist Åstrand <lha@it.su.se> 1043c19800e8SDoug Rabson 1044c19800e8SDoug Rabson * mech/gss_oid_to_str.c: Prefix der primitives with der_. 1045c19800e8SDoug Rabson 1046c19800e8SDoug Rabson * krb5/inquire_sec_context_by_oid.c: Prefix der primitives with 1047c19800e8SDoug Rabson der_. 1048c19800e8SDoug Rabson 1049c19800e8SDoug Rabson * krb5/encapsulate.c: Prefix der primitives with der_. 1050c19800e8SDoug Rabson 1051c19800e8SDoug Rabson * mech/gss_oid_to_str.c: New der_print_heim_oid signature. 1052c19800e8SDoug Rabson 1053*ae771770SStanislav Sedov2006-10-12 Love Hörnquist Åstrand <lha@it.su.se> 1054c19800e8SDoug Rabson 1055c19800e8SDoug Rabson * Makefile.am: add test_context 1056c19800e8SDoug Rabson 1057c19800e8SDoug Rabson * krb5/inquire_sec_context_by_oid.c: Make it work. 1058c19800e8SDoug Rabson 1059c19800e8SDoug Rabson * test_oid.c: Test lucid oid. 1060c19800e8SDoug Rabson 1061c19800e8SDoug Rabson * gssapi/gssapi.h: Add OM_uint64_t. 1062c19800e8SDoug Rabson 1063c19800e8SDoug Rabson * krb5/inquire_sec_context_by_oid.c: Add lucid interface. 1064c19800e8SDoug Rabson 1065c19800e8SDoug Rabson * krb5/external.c: Add lucid interface, renumber oids to my 1066c19800e8SDoug Rabson delegated space. 1067c19800e8SDoug Rabson 1068c19800e8SDoug Rabson * mech/gss_krb5.c: Add lucid interface. 1069c19800e8SDoug Rabson 1070c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Add lucid interface. 1071c19800e8SDoug Rabson 1072c19800e8SDoug Rabson * spnego/spnego_locl.h: Maybe include <netdb.h>. 1073c19800e8SDoug Rabson 1074*ae771770SStanislav Sedov2006-10-09 Love Hörnquist Åstrand <lha@it.su.se> 1075c19800e8SDoug Rabson 1076c19800e8SDoug Rabson * mech/gss_mech_switch.c: define RTLD_LOCAL to 0 if not defined. 1077c19800e8SDoug Rabson 1078*ae771770SStanislav Sedov2006-10-08 Love Hörnquist Åstrand <lha@it.su.se> 1079c19800e8SDoug Rabson 1080c19800e8SDoug Rabson * Makefile.am: install gssapi_krb5.H and gssapi_spnego.h 1081c19800e8SDoug Rabson 1082c19800e8SDoug Rabson * gssapi/gssapi_krb5.h: Move krb5 stuff to <gssapi/gssapi_krb5.h>. 1083c19800e8SDoug Rabson 1084c19800e8SDoug Rabson * gssapi/gssapi.h: Move krb5 stuff to <gssapi/gssapi_krb5.h>. 1085c19800e8SDoug Rabson 1086c19800e8SDoug Rabson * Makefile.am: Drop some -I no longer needed. 1087c19800e8SDoug Rabson 1088c19800e8SDoug Rabson * gssapi/gssapi_spnego.h: Move gssapi_spengo.h over here. 1089c19800e8SDoug Rabson 1090c19800e8SDoug Rabson * krb5: reference all include files using 'krb5/' 1091c19800e8SDoug Rabson 1092*ae771770SStanislav Sedov2006-10-07 Love Hörnquist Åstrand <lha@it.su.se> 1093c19800e8SDoug Rabson 1094c19800e8SDoug Rabson * gssapi.h: Add file inclusion protection. 1095c19800e8SDoug Rabson 1096c19800e8SDoug Rabson * gssapi/gssapi.h: Correct header file inclusion protection. 1097c19800e8SDoug Rabson 1098c19800e8SDoug Rabson * gssapi/gssapi.h: Move the gssapi.h from lib/gssapi/ to 1099c19800e8SDoug Rabson lib/gssapi/gssapi/ to please automake. 1100c19800e8SDoug Rabson 1101c19800e8SDoug Rabson * spnego/spnego_locl.h: Maybe include <sys/types.h>. 1102c19800e8SDoug Rabson 1103c19800e8SDoug Rabson * mech/mech_locl.h: Include <roken.h>. 1104c19800e8SDoug Rabson 1105c19800e8SDoug Rabson * Makefile.am: split build files into dist_ and noinst_ SOURCES 1106c19800e8SDoug Rabson 1107*ae771770SStanislav Sedov2006-10-06 Love Hörnquist Åstrand <lha@it.su.se> 1108c19800e8SDoug Rabson 1109c19800e8SDoug Rabson * gss.c: #if 0 out unused code. 1110c19800e8SDoug Rabson 1111c19800e8SDoug Rabson * mech/gss_mech_switch.c: Cast argument to ctype(3) functions 1112c19800e8SDoug Rabson to (unsigned char). 1113c19800e8SDoug Rabson 1114*ae771770SStanislav Sedov2006-10-05 Love Hörnquist Åstrand <lha@it.su.se> 1115c19800e8SDoug Rabson 1116c19800e8SDoug Rabson * mech/name.h: remove <sys/queue.h> 1117c19800e8SDoug Rabson 1118c19800e8SDoug Rabson * mech/mech_switch.h: remove <sys/queue.h> 1119c19800e8SDoug Rabson 1120c19800e8SDoug Rabson * mech/cred.h: remove <sys/queue.h> 1121c19800e8SDoug Rabson 1122*ae771770SStanislav Sedov2006-10-02 Love Hörnquist Åstrand <lha@it.su.se> 1123c19800e8SDoug Rabson 1124c19800e8SDoug Rabson * krb5/arcfour.c: Thinker more with header lengths. 1125c19800e8SDoug Rabson 1126c19800e8SDoug Rabson * krb5/arcfour.c: Improve the calcucation of header 1127c19800e8SDoug Rabson lengths. DCE-STYLE data is also padded so remove if (1 || ...) 1128c19800e8SDoug Rabson code. 1129c19800e8SDoug Rabson 1130c19800e8SDoug Rabson * krb5/wrap.c (_gsskrb5_wrap_size_limit): use 1131c19800e8SDoug Rabson _gssapi_wrap_size_arcfour for arcfour 1132c19800e8SDoug Rabson 1133c19800e8SDoug Rabson * krb5/arcfour.c: Move _gssapi_wrap_size_arcfour here. 1134c19800e8SDoug Rabson 1135c19800e8SDoug Rabson * Makefile.am: Split all mech to diffrent mechsrc variables. 1136c19800e8SDoug Rabson 1137c19800e8SDoug Rabson * spnego/context_stubs.c: Make internal function static (and 1138c19800e8SDoug Rabson rename). 1139c19800e8SDoug Rabson 1140*ae771770SStanislav Sedov2006-10-01 Love Hörnquist Åstrand <lha@it.su.se> 1141c19800e8SDoug Rabson 1142c19800e8SDoug Rabson * krb5/inquire_cred.c: Fix "if (x) lock(y)" bug. From Harald 1143c19800e8SDoug Rabson Barth. 1144c19800e8SDoug Rabson 1145c19800e8SDoug Rabson * spnego/spnego_locl.h: Include <sys/param.h> for MAXHOSTNAMELEN. 1146c19800e8SDoug Rabson 1147*ae771770SStanislav Sedov2006-09-25 Love Hörnquist Åstrand <lha@it.su.se> 1148c19800e8SDoug Rabson 1149c19800e8SDoug Rabson * krb5/arcfour.c: Add wrap support, interrop with itself but not 1150c19800e8SDoug Rabson w2k3s-sp1 1151c19800e8SDoug Rabson 1152c19800e8SDoug Rabson * krb5/gsskrb5_locl.h: move the arcfour specific stuff to the 1153c19800e8SDoug Rabson arcfour header. 1154c19800e8SDoug Rabson 1155c19800e8SDoug Rabson * krb5/arcfour.c: Support DCE-style unwrap, tested with 1156c19800e8SDoug Rabson w2k3server-sp1. 1157c19800e8SDoug Rabson 1158c19800e8SDoug Rabson * mech/gss_accept_sec_context.c (gss_accept_sec_context): if the 1159c19800e8SDoug Rabson token doesn't start with [APPLICATION 0] SEQUENCE, lets assume its 1160c19800e8SDoug Rabson a DCE-style kerberos 5 connection. XXX this needs to be made 1161c19800e8SDoug Rabson better in cause we get another GSS-API protocol violating 1162c19800e8SDoug Rabson protocol. It should be possible to detach the Kerberos DCE-style 1163c19800e8SDoug Rabson since it starts with a AP-REQ PDU, but that have to wait for now. 1164c19800e8SDoug Rabson 1165*ae771770SStanislav Sedov2006-09-22 Love Hörnquist Åstrand <lha@it.su.se> 1166c19800e8SDoug Rabson 1167c19800e8SDoug Rabson * gssapi.h: Add GSS_C flags from 1168c19800e8SDoug Rabson draft-brezak-win2k-krb-rc4-hmac-04.txt. 1169c19800e8SDoug Rabson 1170c19800e8SDoug Rabson * krb5/delete_sec_context.c: Free service_keyblock and fwd_data, 1171c19800e8SDoug Rabson indent. 1172c19800e8SDoug Rabson 1173c19800e8SDoug Rabson * krb5/accept_sec_context.c: Merge of the acceptor part from the 1174c19800e8SDoug Rabson samba patch by Stefan Metzmacher and Andrew Bartlet. 1175c19800e8SDoug Rabson 1176c19800e8SDoug Rabson * krb5/init_sec_context.c: Add GSS_C_DCE_STYLE. 1177c19800e8SDoug Rabson 1178c19800e8SDoug Rabson * krb5/{init_sec_context.c,gsskrb5_locl.h}: merge most of the 1179c19800e8SDoug Rabson initiator part from the samba patch by Stefan Metzmacher and 1180c19800e8SDoug Rabson Andrew Bartlet (still missing DCE/RPC support) 1181c19800e8SDoug Rabson 1182*ae771770SStanislav Sedov2006-08-28 Love Hörnquist Åstrand <lha@it.su.se> 1183c19800e8SDoug Rabson 1184c19800e8SDoug Rabson * gss.c (help): use sl_slc_help(). 1185c19800e8SDoug Rabson 1186*ae771770SStanislav Sedov2006-07-22 Love Hörnquist Åstrand <lha@it.su.se> 1187c19800e8SDoug Rabson 1188c19800e8SDoug Rabson * gss-commands.in: rename command to supported-mechanisms 1189c19800e8SDoug Rabson 1190c19800e8SDoug Rabson * Makefile.am: Make gss objects depend on the slc built 1191c19800e8SDoug Rabson gss-commands.h 1192c19800e8SDoug Rabson 1193*ae771770SStanislav Sedov2006-07-20 Love Hörnquist Åstrand <lha@it.su.se> 1194c19800e8SDoug Rabson 1195c19800e8SDoug Rabson * gss-commands.in: add slc commands for gss 1196c19800e8SDoug Rabson 1197c19800e8SDoug Rabson * krb5/gsskrb5_locl.h: Remove dup prototype of _gsskrb5_init() 1198c19800e8SDoug Rabson 1199c19800e8SDoug Rabson * Makefile.am: Add test_cfx 1200c19800e8SDoug Rabson 1201c19800e8SDoug Rabson * krb5/external.c: add GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X 1202c19800e8SDoug Rabson 1203c19800e8SDoug Rabson * krb5/set_sec_context_option.c: catch 1204c19800e8SDoug Rabson GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X 1205c19800e8SDoug Rabson 1206c19800e8SDoug Rabson * krb5/accept_sec_context.c: reimplement 1207c19800e8SDoug Rabson gsskrb5_register_acceptor_identity 1208c19800e8SDoug Rabson 1209c19800e8SDoug Rabson * mech/gss_krb5.c: implement gsskrb5_register_acceptor_identity 1210c19800e8SDoug Rabson 1211c19800e8SDoug Rabson * mech/gss_inquire_mechs_for_name.c: call _gss_load_mech 1212c19800e8SDoug Rabson 1213c19800e8SDoug Rabson * mech/gss_inquire_cred.c (gss_inquire_cred): call _gss_load_mech 1214c19800e8SDoug Rabson 1215c19800e8SDoug Rabson * mech/gss_mech_switch.c: Make _gss_load_mech() atomic and run 1216c19800e8SDoug Rabson only once, this have the side effect that _gss_mechs and 1217c19800e8SDoug Rabson _gss_mech_oids is only initialized once, so if just the users of 1218c19800e8SDoug Rabson these two global variables calls _gss_load_mech() first, it will 1219c19800e8SDoug Rabson act as a barrier and make sure the variables are never changed and 1220c19800e8SDoug Rabson we don't need to lock them. 1221c19800e8SDoug Rabson 1222c19800e8SDoug Rabson * mech/utils.h: no need to mark functions extern. 1223c19800e8SDoug Rabson 1224c19800e8SDoug Rabson * mech/name.h: no need to mark _gss_find_mn extern. 1225c19800e8SDoug Rabson 1226*ae771770SStanislav Sedov2006-07-19 Love Hörnquist Åstrand <lha@it.su.se> 1227c19800e8SDoug Rabson 1228c19800e8SDoug Rabson * krb5/cfx.c: Redo the wrap length calculations. 1229c19800e8SDoug Rabson 1230c19800e8SDoug Rabson * krb5/test_cfx.c: test max_wrap_size in cfx.c 1231c19800e8SDoug Rabson 1232c19800e8SDoug Rabson * mech/gss_display_status.c: Handle more error codes. 1233c19800e8SDoug Rabson 1234*ae771770SStanislav Sedov2006-07-07 Love Hörnquist Åstrand <lha@it.su.se> 1235c19800e8SDoug Rabson 1236c19800e8SDoug Rabson * mech/mech_locl.h: Include <krb5-types.h> and "mechqueue.h" 1237c19800e8SDoug Rabson 1238c19800e8SDoug Rabson * mech/mechqueue.h: Add SLIST macros. 1239c19800e8SDoug Rabson 1240c19800e8SDoug Rabson * krb5/inquire_context.c: Don't free return values on success. 1241c19800e8SDoug Rabson 1242c19800e8SDoug Rabson * krb5/inquire_cred.c (_gsskrb5_inquire_cred): When cred provided 1243c19800e8SDoug Rabson is the default cred, acquire the acceptor cred and initator cred 1244c19800e8SDoug Rabson in two diffrent steps and then query them for the information, 1245c19800e8SDoug Rabson this way, the code wont fail if there are no keytab, but there is 1246c19800e8SDoug Rabson a credential cache. 1247c19800e8SDoug Rabson 1248c19800e8SDoug Rabson * mech/gss_inquire_cred.c: move the check if we found any cred 1249c19800e8SDoug Rabson where it matter for both cases 1250c19800e8SDoug Rabson (default cred and provided cred) 1251c19800e8SDoug Rabson 1252c19800e8SDoug Rabson * mech/gss_init_sec_context.c: If the desired mechanism can't 1253c19800e8SDoug Rabson convert the name to a MN, fail with GSS_S_BAD_NAME rather then a 1254c19800e8SDoug Rabson NULL de-reference. 1255c19800e8SDoug Rabson 1256*ae771770SStanislav Sedov2006-07-06 Love Hörnquist Åstrand <lha@it.su.se> 1257c19800e8SDoug Rabson 1258c19800e8SDoug Rabson * spnego/external.c: readd gss_spnego_inquire_names_for_mech 1259c19800e8SDoug Rabson 1260c19800e8SDoug Rabson * spnego/spnego_locl.h: reimplement 1261c19800e8SDoug Rabson gss_spnego_inquire_names_for_mech add support function 1262c19800e8SDoug Rabson _gss_spnego_supported_mechs 1263c19800e8SDoug Rabson 1264c19800e8SDoug Rabson * spnego/context_stubs.h: reimplement 1265c19800e8SDoug Rabson gss_spnego_inquire_names_for_mech add support function 1266c19800e8SDoug Rabson _gss_spnego_supported_mechs 1267c19800e8SDoug Rabson 1268c19800e8SDoug Rabson * spnego/context_stubs.c: drop gss_spnego_indicate_mechs 1269c19800e8SDoug Rabson 1270c19800e8SDoug Rabson * mech/gss_indicate_mechs.c: if the underlaying mech doesn't 1271c19800e8SDoug Rabson support gss_indicate_mechs, use the oid in the mechswitch 1272c19800e8SDoug Rabson structure 1273c19800e8SDoug Rabson 1274c19800e8SDoug Rabson * spnego/external.c: let the mech glue layer implement 1275c19800e8SDoug Rabson gss_indicate_mechs 1276c19800e8SDoug Rabson 1277c19800e8SDoug Rabson * spnego/cred_stubs.c (gss_spnego_acquire_cred): don't care about 1278c19800e8SDoug Rabson desired_mechs, get our own list with indicate_mechs and remove 1279c19800e8SDoug Rabson ourself. 1280c19800e8SDoug Rabson 1281*ae771770SStanislav Sedov2006-07-05 Love Hörnquist Åstrand <lha@it.su.se> 1282c19800e8SDoug Rabson 1283c19800e8SDoug Rabson * spnego/external.c: remove gss_spnego_inquire_names_for_mech, let 1284c19800e8SDoug Rabson the mechglue layer implement it 1285c19800e8SDoug Rabson 1286c19800e8SDoug Rabson * spnego/context_stubs.c: remove gss_spnego_inquire_names_for_mech, let 1287c19800e8SDoug Rabson the mechglue layer implement it 1288c19800e8SDoug Rabson 1289c19800e8SDoug Rabson * spnego/spnego_locl.c: remove gss_spnego_inquire_names_for_mech, let 1290c19800e8SDoug Rabson the mechglue layer implement it 1291c19800e8SDoug Rabson 1292*ae771770SStanislav Sedov2006-07-01 Love Hörnquist Åstrand <lha@it.su.se> 1293c19800e8SDoug Rabson 1294c19800e8SDoug Rabson * mech/gss_set_cred_option.c: fix argument to gss_release_cred 1295c19800e8SDoug Rabson 1296*ae771770SStanislav Sedov2006-06-30 Love Hörnquist Åstrand <lha@it.su.se> 1297c19800e8SDoug Rabson 1298c19800e8SDoug Rabson * krb5/init_sec_context.c: Make work on compilers that are 1299c19800e8SDoug Rabson somewhat more picky then gcc4 (like gcc2.95) 1300c19800e8SDoug Rabson 1301c19800e8SDoug Rabson * krb5/init_sec_context.c (do_delegation): use KDCOptions2int to 1302c19800e8SDoug Rabson convert fwd_flags to an integer, since otherwise int2KDCOptions in 1303c19800e8SDoug Rabson krb5_get_forwarded_creds wont do the right thing. 1304c19800e8SDoug Rabson 1305c19800e8SDoug Rabson * mech/gss_set_cred_option.c (gss_set_cred_option): free memory on 1306c19800e8SDoug Rabson failure 1307c19800e8SDoug Rabson 1308c19800e8SDoug Rabson * krb5/set_sec_context_option.c (_gsskrb5_set_sec_context_option): 1309c19800e8SDoug Rabson init global kerberos context 1310c19800e8SDoug Rabson 1311c19800e8SDoug Rabson * krb5/set_cred_option.c (_gsskrb5_set_cred_option): init global 1312c19800e8SDoug Rabson kerberos context 1313c19800e8SDoug Rabson 1314c19800e8SDoug Rabson * mech/gss_accept_sec_context.c: Insert the delegated sub cred on 1315c19800e8SDoug Rabson the delegated cred handle, not cred handle 1316c19800e8SDoug Rabson 1317c19800e8SDoug Rabson * mech/gss_accept_sec_context.c (gss_accept_sec_context): handle 1318c19800e8SDoug Rabson the case where ret_flags == NULL 1319c19800e8SDoug Rabson 1320c19800e8SDoug Rabson * mech/gss_mech_switch.c (add_builtin): set 1321c19800e8SDoug Rabson _gss_mech_switch->gm_mech_oid 1322c19800e8SDoug Rabson 1323c19800e8SDoug Rabson * mech/gss_set_cred_option.c (gss_set_cred_option): laod mechs 1324c19800e8SDoug Rabson 1325c19800e8SDoug Rabson * test_cred.c (gss_print_errors): don't try to print error when 1326c19800e8SDoug Rabson gss_display_status failed 1327c19800e8SDoug Rabson 1328c19800e8SDoug Rabson * Makefile.am: Add mech/gss_release_oid.c 1329c19800e8SDoug Rabson 1330c19800e8SDoug Rabson * mech/gss_release_oid.c: Add gss_release_oid, reverse of 1331c19800e8SDoug Rabson gss_duplicate_oid 1332c19800e8SDoug Rabson 1333c19800e8SDoug Rabson * spnego/compat.c: preferred_mech_type was allocated with 1334c19800e8SDoug Rabson gss_duplicate_oid in one place and assigned static varianbles a 1335c19800e8SDoug Rabson the second place. change that static assignement to 1336c19800e8SDoug Rabson gss_duplicate_oid and bring back gss_release_oid. 1337c19800e8SDoug Rabson 1338c19800e8SDoug Rabson * spnego/compat.c (_gss_spnego_delete_sec_context): don't release 1339c19800e8SDoug Rabson preferred_mech_type and negotiated_mech_type, they where never 1340c19800e8SDoug Rabson allocated from the begining. 1341c19800e8SDoug Rabson 1342*ae771770SStanislav Sedov2006-06-29 Love Hörnquist Åstrand <lha@it.su.se> 1343c19800e8SDoug Rabson 1344c19800e8SDoug Rabson * mech/gss_import_name.c (gss_import_name): avoid 1345c19800e8SDoug Rabson type-punned/strict aliasing rules 1346c19800e8SDoug Rabson 1347c19800e8SDoug Rabson * mech/gss_add_cred.c: avoid type-punned/strict aliasing rules 1348c19800e8SDoug Rabson 1349c19800e8SDoug Rabson * gssapi.h: Make gss_name_t an opaque type. 1350c19800e8SDoug Rabson 1351c19800e8SDoug Rabson * krb5: make gss_name_t an opaque type 1352c19800e8SDoug Rabson 1353c19800e8SDoug Rabson * krb5/set_cred_option.c: Add 1354c19800e8SDoug Rabson 1355c19800e8SDoug Rabson * mech/gss_set_cred_option.c (gss_set_cred_option): support the 1356c19800e8SDoug Rabson case where *cred_handle == NULL 1357c19800e8SDoug Rabson 1358c19800e8SDoug Rabson * mech/gss_krb5.c (gss_krb5_import_cred): make sure cred is 1359c19800e8SDoug Rabson GSS_C_NO_CREDENTIAL on failure. 1360c19800e8SDoug Rabson 1361c19800e8SDoug Rabson * mech/gss_acquire_cred.c (gss_acquire_cred): if desired_mechs is 1362c19800e8SDoug Rabson NO_OID_SET, there is a need to load the mechs, so always do that. 1363c19800e8SDoug Rabson 1364*ae771770SStanislav Sedov2006-06-28 Love Hörnquist Åstrand <lha@it.su.se> 1365c19800e8SDoug Rabson 1366c19800e8SDoug Rabson * krb5/inquire_cred_by_oid.c: Reimplement GSS_KRB5_COPY_CCACHE_X 1367c19800e8SDoug Rabson to instead pass a fullname to the credential, then resolve and 1368c19800e8SDoug Rabson copy out the content, and then close the cred. 1369c19800e8SDoug Rabson 1370c19800e8SDoug Rabson * mech/gss_krb5.c: Reimplement GSS_KRB5_COPY_CCACHE_X to instead 1371c19800e8SDoug Rabson pass a fullname to the credential, then resolve and copy out the 1372c19800e8SDoug Rabson content, and then close the cred. 1373c19800e8SDoug Rabson 1374c19800e8SDoug Rabson * krb5/inquire_cred_by_oid.c: make "work", GSS_KRB5_COPY_CCACHE_X 1375c19800e8SDoug Rabson interface needs to be re-done, currently its utterly broken. 1376c19800e8SDoug Rabson 1377c19800e8SDoug Rabson * mech/gss_set_cred_option.c: Make work. 1378c19800e8SDoug Rabson 1379c19800e8SDoug Rabson * krb5/external.c: Add _gsskrb5_set_{sec_context,cred}_option 1380c19800e8SDoug Rabson 1381c19800e8SDoug Rabson * mech/gss_krb5.c (gss_krb5_import_cred): implement 1382c19800e8SDoug Rabson 1383c19800e8SDoug Rabson * Makefile.am: Add gss_set_{sec_context,cred}_option and sort 1384c19800e8SDoug Rabson 1385c19800e8SDoug Rabson * mech/gss_set_{sec_context,cred}_option.c: add 1386c19800e8SDoug Rabson 1387c19800e8SDoug Rabson * gssapi.h: Add GSS_KRB5_IMPORT_CRED_X 1388c19800e8SDoug Rabson 1389c19800e8SDoug Rabson * test_*.c: make compile again 1390c19800e8SDoug Rabson 1391c19800e8SDoug Rabson * Makefile.am: Add lib dependencies and test programs 1392c19800e8SDoug Rabson 1393c19800e8SDoug Rabson * spnego: remove dependency on libkrb5 1394c19800e8SDoug Rabson 1395c19800e8SDoug Rabson * mech: Bug fixes, cleanup, compiler warnings, restructure code. 1396c19800e8SDoug Rabson 1397c19800e8SDoug Rabson * spnego: Rename gss_context_id_t and gss_cred_id_t to local names 1398c19800e8SDoug Rabson 1399c19800e8SDoug Rabson * krb5: repro copy the krb5 files here 1400c19800e8SDoug Rabson 1401c19800e8SDoug Rabson * mech: import Doug Rabson mechglue from freebsd 1402c19800e8SDoug Rabson 1403c19800e8SDoug Rabson * spnego: Import Luke Howard's SPNEGO from the mechglue branch 1404c19800e8SDoug Rabson 1405*ae771770SStanislav Sedov2006-06-22 Love Hörnquist Åstrand <lha@it.su.se> 1406c19800e8SDoug Rabson 1407c19800e8SDoug Rabson * gssapi.h: Add oid_to_str. 1408c19800e8SDoug Rabson 1409c19800e8SDoug Rabson * Makefile.am: add oid_to_str and test_oid 1410c19800e8SDoug Rabson 1411c19800e8SDoug Rabson * oid_to_str.c: Add gss_oid_to_str 1412c19800e8SDoug Rabson 1413c19800e8SDoug Rabson * test_oid.c: Add test for gss_oid_to_str() 1414c19800e8SDoug Rabson 1415*ae771770SStanislav Sedov2006-05-13 Love Hörnquist Åstrand <lha@it.su.se> 1416c19800e8SDoug Rabson 1417c19800e8SDoug Rabson * verify_mic.c: Less pointer signedness warnings. 1418c19800e8SDoug Rabson 1419c19800e8SDoug Rabson * unwrap.c: Less pointer signedness warnings. 1420c19800e8SDoug Rabson 1421c19800e8SDoug Rabson * arcfour.c: Less pointer signedness warnings. 1422c19800e8SDoug Rabson 1423c19800e8SDoug Rabson * gssapi_locl.h: Use const void * to instead of unsigned char * to 1424c19800e8SDoug Rabson avoid pointer signedness warnings. 1425c19800e8SDoug Rabson 1426c19800e8SDoug Rabson * encapsulate.c: Use const void * to instead of unsigned char * to 1427c19800e8SDoug Rabson avoid pointer signedness warnings. 1428c19800e8SDoug Rabson 1429c19800e8SDoug Rabson * decapsulate.c: Use const void * to instead of unsigned char * to 1430c19800e8SDoug Rabson avoid pointer signedness warnings. 1431c19800e8SDoug Rabson 1432c19800e8SDoug Rabson * decapsulate.c: Less pointer signedness warnings. 1433c19800e8SDoug Rabson 1434c19800e8SDoug Rabson * cfx.c: Less pointer signedness warnings. 1435c19800e8SDoug Rabson 1436c19800e8SDoug Rabson * init_sec_context.c: Less pointer signedness warnings (partly by 1437c19800e8SDoug Rabson using the new asn.1 CHOICE decoder) 1438c19800e8SDoug Rabson 1439c19800e8SDoug Rabson * import_sec_context.c: Less pointer signedness warnings. 1440c19800e8SDoug Rabson 1441*ae771770SStanislav Sedov2006-05-09 Love Hörnquist Åstrand <lha@it.su.se> 1442c19800e8SDoug Rabson 1443c19800e8SDoug Rabson * accept_sec_context.c (gsskrb5_is_cfx): always set is_cfx. From 1444c19800e8SDoug Rabson Andrew Abartlet. 1445c19800e8SDoug Rabson 1446*ae771770SStanislav Sedov2006-05-08 Love Hörnquist Åstrand <lha@it.su.se> 1447c19800e8SDoug Rabson 1448c19800e8SDoug Rabson * get_mic.c (mic_des3): make sure message_buffer doesn't point to 1449c19800e8SDoug Rabson free()ed memory on failure. Pointed out by IBM checker. 1450c19800e8SDoug Rabson 1451*ae771770SStanislav Sedov2006-05-05 Love Hörnquist Åstrand <lha@it.su.se> 1452c19800e8SDoug Rabson 1453c19800e8SDoug Rabson * Rename u_intXX_t to uintXX_t 1454c19800e8SDoug Rabson 1455*ae771770SStanislav Sedov2006-05-04 Love Hörnquist Åstrand <lha@it.su.se> 1456c19800e8SDoug Rabson 1457c19800e8SDoug Rabson * cfx.c: Less pointer signedness warnings. 1458c19800e8SDoug Rabson 1459c19800e8SDoug Rabson * arcfour.c: Avoid pointer signedness warnings. 1460c19800e8SDoug Rabson 1461c19800e8SDoug Rabson * gssapi_locl.h (gssapi_decode_*): make data argument const void * 1462c19800e8SDoug Rabson 1463c19800e8SDoug Rabson * 8003.c (gssapi_decode_*): make data argument const void * 1464c19800e8SDoug Rabson 1465*ae771770SStanislav Sedov2006-04-12 Love Hörnquist Åstrand <lha@it.su.se> 1466c19800e8SDoug Rabson 1467c19800e8SDoug Rabson * export_sec_context.c: Export sequence order element. From Wynn 1468c19800e8SDoug Rabson Wilkes <wynn.wilkes@quest.com>. 1469c19800e8SDoug Rabson 1470c19800e8SDoug Rabson * import_sec_context.c: Import sequence order element. From Wynn 1471c19800e8SDoug Rabson Wilkes <wynn.wilkes@quest.com>. 1472c19800e8SDoug Rabson 1473c19800e8SDoug Rabson * sequence.c (_gssapi_msg_order_import,_gssapi_msg_order_export): 1474c19800e8SDoug Rabson New functions, used by {import,export}_sec_context. From Wynn 1475c19800e8SDoug Rabson Wilkes <wynn.wilkes@quest.com>. 1476c19800e8SDoug Rabson 1477c19800e8SDoug Rabson * test_sequence.c: Add test for import/export sequence. 1478c19800e8SDoug Rabson 1479*ae771770SStanislav Sedov2006-04-09 Love Hörnquist Åstrand <lha@it.su.se> 1480c19800e8SDoug Rabson 1481c19800e8SDoug Rabson * add_cred.c: Check that cred != GSS_C_NO_CREDENTIAL, this is a 1482c19800e8SDoug Rabson standard conformance failure, but much better then a crash. 1483c19800e8SDoug Rabson 1484*ae771770SStanislav Sedov2006-04-02 Love Hörnquist Åstrand <lha@it.su.se> 1485c19800e8SDoug Rabson 1486c19800e8SDoug Rabson * get_mic.c (get_mic*)_: make sure message_token is cleaned on 1487c19800e8SDoug Rabson error, found by IBM checker. 1488c19800e8SDoug Rabson 1489c19800e8SDoug Rabson * wrap.c (wrap*): Reset output_buffer on error, found by IBM 1490c19800e8SDoug Rabson checker. 1491c19800e8SDoug Rabson 1492*ae771770SStanislav Sedov2006-02-15 Love Hörnquist Åstrand <lha@it.su.se> 1493c19800e8SDoug Rabson 1494c19800e8SDoug Rabson * import_name.c: Accept both GSS_C_NT_HOSTBASED_SERVICE and 1495c19800e8SDoug Rabson GSS_C_NT_HOSTBASED_SERVICE_X as nametype for hostbased names. 1496c19800e8SDoug Rabson 1497*ae771770SStanislav Sedov2006-01-16 Love Hörnquist Åstrand <lha@it.su.se> 1498c19800e8SDoug Rabson 1499c19800e8SDoug Rabson * delete_sec_context.c (gss_delete_sec_context): if the context 1500c19800e8SDoug Rabson handle is GSS_C_NO_CONTEXT, don't fall over. 1501c19800e8SDoug Rabson 1502*ae771770SStanislav Sedov2005-12-12 Love Hörnquist Åstrand <lha@it.su.se> 1503c19800e8SDoug Rabson 1504c19800e8SDoug Rabson * gss_acquire_cred.3: Replace gss_krb5_import_ccache with 1505c19800e8SDoug Rabson gss_krb5_import_cred and add more references 1506c19800e8SDoug Rabson 1507*ae771770SStanislav Sedov2005-12-05 Love Hörnquist Åstrand <lha@it.su.se> 1508c19800e8SDoug Rabson 1509c19800e8SDoug Rabson * gssapi.h: Change gss_krb5_import_ccache to gss_krb5_import_cred, 1510c19800e8SDoug Rabson it can handle keytabs too. 1511c19800e8SDoug Rabson 1512c19800e8SDoug Rabson * add_cred.c (gss_add_cred): avoid deadlock 1513c19800e8SDoug Rabson 1514c19800e8SDoug Rabson * context_time.c (gssapi_lifetime_left): define the 0 lifetime as 1515c19800e8SDoug Rabson GSS_C_INDEFINITE. 1516c19800e8SDoug Rabson 1517*ae771770SStanislav Sedov2005-12-01 Love Hörnquist Åstrand <lha@it.su.se> 1518c19800e8SDoug Rabson 1519c19800e8SDoug Rabson * acquire_cred.c (acquire_acceptor_cred): only check if principal 1520c19800e8SDoug Rabson exists if we got called with principal as an argument. 1521c19800e8SDoug Rabson 1522c19800e8SDoug Rabson * acquire_cred.c (acquire_acceptor_cred): check that the acceptor 1523c19800e8SDoug Rabson exists in the keytab before returning ok. 1524c19800e8SDoug Rabson 1525*ae771770SStanislav Sedov2005-11-29 Love Hörnquist Åstrand <lha@it.su.se> 1526c19800e8SDoug Rabson 1527c19800e8SDoug Rabson * copy_ccache.c (gss_krb5_import_cred): fix buglet, from Andrew 1528c19800e8SDoug Rabson Bartlett. 1529c19800e8SDoug Rabson 1530*ae771770SStanislav Sedov2005-11-25 Love Hörnquist Åstrand <lha@it.su.se> 1531c19800e8SDoug Rabson 1532c19800e8SDoug Rabson * test_kcred.c: Rename gss_krb5_import_ccache to 1533c19800e8SDoug Rabson gss_krb5_import_cred. 1534c19800e8SDoug Rabson 1535c19800e8SDoug Rabson * copy_ccache.c: Rename gss_krb5_import_ccache to 1536c19800e8SDoug Rabson gss_krb5_import_cred and let it grow code to handle keytabs too. 1537c19800e8SDoug Rabson 1538*ae771770SStanislav Sedov2005-11-02 Love Hörnquist Åstrand <lha@it.su.se> 1539c19800e8SDoug Rabson 1540c19800e8SDoug Rabson * init_sec_context.c: Change sematics of ok-as-delegate to match 1541c19800e8SDoug Rabson windows if 1542c19800e8SDoug Rabson [gssapi]realm/ok-as-delegate=true is set, otherwise keep old 1543c19800e8SDoug Rabson sematics. 1544c19800e8SDoug Rabson 1545c19800e8SDoug Rabson * release_cred.c (gss_release_cred): use 1546c19800e8SDoug Rabson GSS_CF_DESTROY_CRED_ON_RELEASE to decide if the cache should be 1547c19800e8SDoug Rabson krb5_cc_destroy-ed 1548c19800e8SDoug Rabson 1549c19800e8SDoug Rabson * acquire_cred.c (acquire_initiator_cred): 1550c19800e8SDoug Rabson GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials. 1551c19800e8SDoug Rabson 1552c19800e8SDoug Rabson * accept_sec_context.c (gsskrb5_accept_delegated_token): rewrite 1553c19800e8SDoug Rabson to use gss_krb5_import_ccache 1554c19800e8SDoug Rabson 1555*ae771770SStanislav Sedov2005-11-01 Love Hörnquist Åstrand <lha@it.su.se> 1556c19800e8SDoug Rabson 1557c19800e8SDoug Rabson * arcfour.c: Remove signedness warnings. 1558c19800e8SDoug Rabson 1559*ae771770SStanislav Sedov2005-10-31 Love Hörnquist Åstrand <lha@it.su.se> 1560c19800e8SDoug Rabson 1561c19800e8SDoug Rabson * gss_acquire_cred.3: Document that gss_krb5_import_ccache is copy 1562c19800e8SDoug Rabson by reference. 1563c19800e8SDoug Rabson 1564c19800e8SDoug Rabson * copy_ccache.c (gss_krb5_import_ccache): Instead of making a copy 1565c19800e8SDoug Rabson of the ccache, make a reference by getting the name and resolving 1566c19800e8SDoug Rabson the name. This way the cache is shared, this flipp side is of 1567c19800e8SDoug Rabson course that if someone calls krb5_cc_destroy the cache is lost for 1568c19800e8SDoug Rabson everyone. 1569c19800e8SDoug Rabson 1570c19800e8SDoug Rabson * test_kcred.c: Remove memory leaks. 1571c19800e8SDoug Rabson 1572*ae771770SStanislav Sedov2005-10-26 Love Hörnquist Åstrand <lha@it.su.se> 1573c19800e8SDoug Rabson 1574c19800e8SDoug Rabson * Makefile.am: build test_kcred 1575c19800e8SDoug Rabson 1576c19800e8SDoug Rabson * gss_acquire_cred.3: Document gss_krb5_import_ccache 1577c19800e8SDoug Rabson 1578c19800e8SDoug Rabson * gssapi.3: Sort and add gss_krb5_import_ccache. 1579c19800e8SDoug Rabson 1580c19800e8SDoug Rabson * acquire_cred.c (_gssapi_krb5_ccache_lifetime): break out code 1581c19800e8SDoug Rabson used to extract lifetime from a credential cache 1582c19800e8SDoug Rabson 1583c19800e8SDoug Rabson * gssapi_locl.h: Add _gssapi_krb5_ccache_lifetime, used to extract 1584c19800e8SDoug Rabson lifetime from a credential cache. 1585c19800e8SDoug Rabson 1586c19800e8SDoug Rabson * gssapi.h: add gss_krb5_import_ccache, reverse of 1587c19800e8SDoug Rabson gss_krb5_copy_ccache 1588c19800e8SDoug Rabson 1589c19800e8SDoug Rabson * copy_ccache.c: add gss_krb5_import_ccache, reverse of 1590c19800e8SDoug Rabson gss_krb5_copy_ccache 1591c19800e8SDoug Rabson 1592c19800e8SDoug Rabson * test_kcred.c: test gss_krb5_import_ccache 1593c19800e8SDoug Rabson 1594*ae771770SStanislav Sedov2005-10-21 Love Hörnquist Åstrand <lha@it.su.se> 1595c19800e8SDoug Rabson 1596c19800e8SDoug Rabson * acquire_cred.c (acquire_initiator_cred): use krb5_cc_cache_match 1597c19800e8SDoug Rabson to find a matching creditial cache, if that failes, fallback to 1598c19800e8SDoug Rabson the default cache. 1599c19800e8SDoug Rabson 1600*ae771770SStanislav Sedov2005-10-12 Love Hörnquist Åstrand <lha@it.su.se> 1601c19800e8SDoug Rabson 1602c19800e8SDoug Rabson * gssapi_locl.h: Add gssapi_krb5_set_status and 1603c19800e8SDoug Rabson gssapi_krb5_clear_status 1604c19800e8SDoug Rabson 1605c19800e8SDoug Rabson * init_sec_context.c (spnego_reply): Don't pass back raw Kerberos 1606c19800e8SDoug Rabson errors, use GSS-API errors instead. From Michael B Allen. 1607c19800e8SDoug Rabson 1608c19800e8SDoug Rabson * display_status.c: Add gssapi_krb5_clear_status, 1609c19800e8SDoug Rabson gssapi_krb5_set_status for handling error messages. 1610c19800e8SDoug Rabson 1611*ae771770SStanislav Sedov2005-08-23 Love Hörnquist Åstrand <lha@it.su.se> 1612c19800e8SDoug Rabson 1613c19800e8SDoug Rabson * external.c: Use rk_UNCONST to avoid const warning. 1614c19800e8SDoug Rabson 1615c19800e8SDoug Rabson * display_status.c: Constify strings to avoid warnings. 1616c19800e8SDoug Rabson 1617*ae771770SStanislav Sedov2005-08-11 Love Hörnquist Åstrand <lha@it.su.se> 1618c19800e8SDoug Rabson 1619c19800e8SDoug Rabson * init_sec_context.c: avoid warnings, update (c) 1620c19800e8SDoug Rabson 1621*ae771770SStanislav Sedov2005-07-13 Love Hörnquist Åstrand <lha@it.su.se> 1622c19800e8SDoug Rabson 1623c19800e8SDoug Rabson * init_sec_context.c (spnego_initial): use NegotiationToken 1624c19800e8SDoug Rabson encoder now that we have one with the new asn1. compiler. 1625c19800e8SDoug Rabson 1626c19800e8SDoug Rabson * Makefile.am: the new asn.1 compiler includes the modules name in 1627c19800e8SDoug Rabson the depend file 1628c19800e8SDoug Rabson 1629*ae771770SStanislav Sedov2005-06-16 Love Hörnquist Åstrand <lha@it.su.se> 1630c19800e8SDoug Rabson 1631c19800e8SDoug Rabson * decapsulate.c: use rk_UNCONST 1632c19800e8SDoug Rabson 1633c19800e8SDoug Rabson * ccache_name.c: rename to avoid shadowing 1634c19800e8SDoug Rabson 1635c19800e8SDoug Rabson * gssapi_locl.h: give kret in GSSAPI_KRB5_INIT a more unique name 1636c19800e8SDoug Rabson 1637c19800e8SDoug Rabson * process_context_token.c: use rk_UNCONST to unconstify 1638c19800e8SDoug Rabson 1639c19800e8SDoug Rabson * test_cred.c: rename optind to optidx 1640c19800e8SDoug Rabson 1641*ae771770SStanislav Sedov2005-05-30 Love Hörnquist Åstrand <lha@it.su.se> 1642c19800e8SDoug Rabson 1643c19800e8SDoug Rabson * init_sec_context.c (init_auth): honor ok-as-delegate if local 1644c19800e8SDoug Rabson configuration approves 1645c19800e8SDoug Rabson 1646c19800e8SDoug Rabson * gssapi_locl.h: prototype for _gss_check_compat 1647c19800e8SDoug Rabson 1648c19800e8SDoug Rabson * compat.c: export check_compat as _gss_check_compat 1649c19800e8SDoug Rabson 1650*ae771770SStanislav Sedov2005-05-29 Love Hörnquist Åstrand <lha@it.su.se> 1651c19800e8SDoug Rabson 1652c19800e8SDoug Rabson * init_sec_context.c: Prefix Der_class with ASN1_C_ to avoid 1653c19800e8SDoug Rabson problems with system headerfiles that pollute the name space. 1654c19800e8SDoug Rabson 1655c19800e8SDoug Rabson * accept_sec_context.c: Prefix Der_class with ASN1_C_ to avoid 1656c19800e8SDoug Rabson problems with system headerfiles that pollute the name space. 1657c19800e8SDoug Rabson 1658*ae771770SStanislav Sedov2005-05-17 Love Hörnquist Åstrand <lha@it.su.se> 1659c19800e8SDoug Rabson 1660c19800e8SDoug Rabson * init_sec_context.c (init_auth): set 1661c19800e8SDoug Rabson KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED (for java compatibility), 1662c19800e8SDoug Rabson also while here, use krb5_auth_con_addflags 1663c19800e8SDoug Rabson 1664*ae771770SStanislav Sedov2005-05-06 Love Hörnquist Åstrand <lha@it.su.se> 1665c19800e8SDoug Rabson 1666c19800e8SDoug Rabson * arcfour.c (_gssapi_wrap_arcfour): fix calculating the encap 1667c19800e8SDoug Rabson length. From: Tom Maher <tmaher@eecs.berkeley.edu> 1668c19800e8SDoug Rabson 1669c19800e8SDoug Rabson2005-05-02 Dave Love <fx@gnu.org> 1670c19800e8SDoug Rabson 1671c19800e8SDoug Rabson * test_cred.c (main): Call setprogname. 1672c19800e8SDoug Rabson 1673*ae771770SStanislav Sedov2005-04-27 Love Hörnquist Åstrand <lha@it.su.se> 1674c19800e8SDoug Rabson 1675c19800e8SDoug Rabson * prefix all sequence symbols with _, they are not part of the 1676c19800e8SDoug Rabson GSS-API api. By comment from Wynn Wilkes <wynnw@vintela.com> 1677c19800e8SDoug Rabson 1678*ae771770SStanislav Sedov2005-04-10 Love Hörnquist Åstrand <lha@it.su.se> 1679c19800e8SDoug Rabson 1680c19800e8SDoug Rabson * accept_sec_context.c: break out the processing of the delegated 1681c19800e8SDoug Rabson credential to a separate function to make error handling easier, 1682c19800e8SDoug Rabson move the credential handling to after other setup is done 1683c19800e8SDoug Rabson 1684c19800e8SDoug Rabson * test_sequence.c: make less verbose in case of success 1685c19800e8SDoug Rabson 1686c19800e8SDoug Rabson * Makefile.am: add test_sequence to TESTS 1687c19800e8SDoug Rabson 1688*ae771770SStanislav Sedov2005-04-01 Love Hörnquist Åstrand <lha@it.su.se> 1689c19800e8SDoug Rabson 1690c19800e8SDoug Rabson * 8003.c (gssapi_krb5_verify_8003_checksum): check that cksum 1691c19800e8SDoug Rabson isn't NULL From: Nicolas Pouvesle <npouvesle@tenablesecurity.com> 1692c19800e8SDoug Rabson 1693*ae771770SStanislav Sedov2005-03-21 Love Hörnquist Åstrand <lha@it.su.se> 1694c19800e8SDoug Rabson 1695c19800e8SDoug Rabson * Makefile.am: use $(LIB_roken) 1696c19800e8SDoug Rabson 1697*ae771770SStanislav Sedov2005-03-16 Love Hörnquist Åstrand <lha@it.su.se> 1698c19800e8SDoug Rabson 1699c19800e8SDoug Rabson * display_status.c (gssapi_krb5_set_error_string): pass in the 1700c19800e8SDoug Rabson krb5_context to krb5_free_error_string 1701c19800e8SDoug Rabson 1702*ae771770SStanislav Sedov2005-03-15 Love Hörnquist Åstrand <lha@it.su.se> 1703c19800e8SDoug Rabson 1704c19800e8SDoug Rabson * display_status.c (gssapi_krb5_set_error_string): don't misuse 1705c19800e8SDoug Rabson the krb5_get_error_string api 1706c19800e8SDoug Rabson 1707*ae771770SStanislav Sedov2005-03-01 Love Hörnquist Åstrand <lha@it.su.se> 1708c19800e8SDoug Rabson 1709c19800e8SDoug Rabson * compat.c (_gss_DES3_get_mic_compat): don't unlock mutex 1710c19800e8SDoug Rabson here. Bug reported by Stefan Metzmacher <metze@samba.org> 1711c19800e8SDoug Rabson 1712c19800e8SDoug Rabson2005-02-21 Luke Howard <lukeh@padl.com> 1713c19800e8SDoug Rabson 1714c19800e8SDoug Rabson * init_sec_context.c: don't call krb5_get_credentials() with 1715c19800e8SDoug Rabson KRB5_TC_MATCH_KEYTYPE, it can lead to the credentials cache 1716c19800e8SDoug Rabson growing indefinitely as no key is found with KEYTYPE_NULL 1717c19800e8SDoug Rabson 1718c19800e8SDoug Rabson * compat.c: remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is 1719c19800e8SDoug Rabson no longer used (however the mechListMIC behaviour is broken, 1720c19800e8SDoug Rabson rfc2478bis support requires the code in the mechglue branch) 1721c19800e8SDoug Rabson 1722c19800e8SDoug Rabson * init_sec_context.c: remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG 1723c19800e8SDoug Rabson 1724c19800e8SDoug Rabson * gssapi.h: remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG 1725c19800e8SDoug Rabson 1726c19800e8SDoug Rabson2005-01-05 Luke Howard <lukeh@padl.com> 1727c19800e8SDoug Rabson 1728c19800e8SDoug Rabson * 8003.c: use symbolic name for checksum type 1729c19800e8SDoug Rabson 1730c19800e8SDoug Rabson * accept_sec_context.c: allow client to indicate 1731c19800e8SDoug Rabson that subkey should be used 1732c19800e8SDoug Rabson 1733c19800e8SDoug Rabson * acquire_cred.c: plug leak 1734c19800e8SDoug Rabson 1735c19800e8SDoug Rabson * get_mic.c: use gss_krb5_get_subkey() instead 1736c19800e8SDoug Rabson of gss_krb5_get_{local,remote}key(), support 1737c19800e8SDoug Rabson KEYTYPE_ARCFOUR_56 1738c19800e8SDoug Rabson 1739c19800e8SDoug Rabson * gssapi_local.c: use gss_krb5_get_subkey(), 1740c19800e8SDoug Rabson support KEYTYPE_ARCFOUR_56 1741c19800e8SDoug Rabson 1742c19800e8SDoug Rabson * import_sec_context.c: plug leak 1743c19800e8SDoug Rabson 1744c19800e8SDoug Rabson * unwrap.c: use gss_krb5_get_subkey(), 1745c19800e8SDoug Rabson support KEYTYPE_ARCFOUR_56 1746c19800e8SDoug Rabson 1747c19800e8SDoug Rabson * verify_mic.c: use gss_krb5_get_subkey(), 1748c19800e8SDoug Rabson support KEYTYPE_ARCFOUR_56 1749c19800e8SDoug Rabson 1750c19800e8SDoug Rabson * wrap.c: use gss_krb5_get_subkey(), 1751c19800e8SDoug Rabson support KEYTYPE_ARCFOUR_56 1752c19800e8SDoug Rabson 1753*ae771770SStanislav Sedov2004-11-30 Love Hörnquist Åstrand <lha@it.su.se> 1754c19800e8SDoug Rabson 1755c19800e8SDoug Rabson * inquire_cred.c: Reverse order of HEIMDAL_MUTEX_unlock and 1756c19800e8SDoug Rabson gss_release_cred to avoid deadlock, from Luke Howard 1757c19800e8SDoug Rabson <lukeh@padl.com>. 1758c19800e8SDoug Rabson 1759*ae771770SStanislav Sedov2004-09-06 Love Hörnquist Åstrand <lha@it.su.se> 1760c19800e8SDoug Rabson 1761c19800e8SDoug Rabson * gss_acquire_cred.3: gss_krb5_extract_authz_data_from_sec_context 1762c19800e8SDoug Rabson was renamed to gsskrb5_extract_authz_data_from_sec_context 1763c19800e8SDoug Rabson 1764*ae771770SStanislav Sedov2004-08-07 Love Hörnquist Åstrand <lha@it.su.se> 1765c19800e8SDoug Rabson 1766c19800e8SDoug Rabson * unwrap.c: mutex buglet, From: Luke Howard <lukeh@PADL.COM> 1767c19800e8SDoug Rabson 1768c19800e8SDoug Rabson * arcfour.c: mutex buglet, From: Luke Howard <lukeh@PADL.COM> 1769c19800e8SDoug Rabson 1770*ae771770SStanislav Sedov2004-05-06 Love Hörnquist Åstrand <lha@it.su.se> 1771c19800e8SDoug Rabson 1772c19800e8SDoug Rabson * gssapi.3: spelling from Josef El-Rayes <josef@FreeBSD.org> while 1773c19800e8SDoug Rabson here, write some text about the SPNEGO situation 1774c19800e8SDoug Rabson 1775*ae771770SStanislav Sedov2004-04-08 Love Hörnquist Åstrand <lha@it.su.se> 1776c19800e8SDoug Rabson 1777c19800e8SDoug Rabson * cfx.c: s/CTXAcceptorSubkey/CFXAcceptorSubkey/ 1778c19800e8SDoug Rabson 1779*ae771770SStanislav Sedov2004-04-07 Love Hörnquist Åstrand <lha@it.su.se> 1780c19800e8SDoug Rabson 1781c19800e8SDoug Rabson * gssapi.h: add GSS_C_EXPECTING_MECH_LIST_MIC_FLAG From: Luke 1782c19800e8SDoug Rabson Howard <lukeh@padl.com> 1783c19800e8SDoug Rabson 1784c19800e8SDoug Rabson * init_sec_context.c (spnego_reply): use 1785c19800e8SDoug Rabson _gss_spnego_require_mechlist_mic to figure out if we need to check 1786c19800e8SDoug Rabson MechListMIC; From: Luke Howard <lukeh@padl.com> 1787c19800e8SDoug Rabson 1788c19800e8SDoug Rabson * accept_sec_context.c (send_accept): use 1789c19800e8SDoug Rabson _gss_spnego_require_mechlist_mic to figure out if we need to send 1790c19800e8SDoug Rabson MechListMIC; From: Luke Howard <lukeh@padl.com> 1791c19800e8SDoug Rabson 1792c19800e8SDoug Rabson * gssapi_locl.h: add _gss_spnego_require_mechlist_mic 1793c19800e8SDoug Rabson From: Luke Howard <lukeh@padl.com> 1794c19800e8SDoug Rabson 1795c19800e8SDoug Rabson * compat.c: add _gss_spnego_require_mechlist_mic for compatibility 1796c19800e8SDoug Rabson with MS SPNEGO, From: Luke Howard <lukeh@padl.com> 1797c19800e8SDoug Rabson 1798*ae771770SStanislav Sedov2004-04-05 Love Hörnquist Åstrand <lha@it.su.se> 1799c19800e8SDoug Rabson 1800c19800e8SDoug Rabson * accept_sec_context.c (gsskrb5_is_cfx): krb5_keyblock->keytype is 1801c19800e8SDoug Rabson an enctype, not keytype 1802c19800e8SDoug Rabson 1803c19800e8SDoug Rabson * accept_sec_context.c: use ASN1_MALLOC_ENCODE 1804c19800e8SDoug Rabson 1805c19800e8SDoug Rabson * init_sec_context.c: avoid the malloc loop and just allocate the 1806c19800e8SDoug Rabson propper amount of data 1807c19800e8SDoug Rabson 1808c19800e8SDoug Rabson * init_sec_context.c (spnego_initial): handle mech_token better 1809c19800e8SDoug Rabson 1810*ae771770SStanislav Sedov2004-03-19 Love Hörnquist Åstrand <lha@it.su.se> 1811c19800e8SDoug Rabson 1812c19800e8SDoug Rabson * gssapi.h: add gss_krb5_get_tkt_flags 1813c19800e8SDoug Rabson 1814c19800e8SDoug Rabson * Makefile.am: add ticket_flags.c 1815c19800e8SDoug Rabson 1816c19800e8SDoug Rabson * ticket_flags.c: Get ticket-flags from acceptor ticket From: Luke 1817c19800e8SDoug Rabson Howard <lukeh@PADL.COM> 1818c19800e8SDoug Rabson 1819c19800e8SDoug Rabson * gss_acquire_cred.3: document gss_krb5_get_tkt_flags 1820c19800e8SDoug Rabson 1821*ae771770SStanislav Sedov2004-03-14 Love Hörnquist Åstrand <lha@it.su.se> 1822c19800e8SDoug Rabson 1823c19800e8SDoug Rabson * acquire_cred.c (gss_acquire_cred): check usage before even 1824c19800e8SDoug Rabson bothering to process it, add both keytab and initial tgt if 1825c19800e8SDoug Rabson requested 1826c19800e8SDoug Rabson 1827c19800e8SDoug Rabson * wrap.c: support cfx, try to handle acceptor asserted subkey 1828c19800e8SDoug Rabson 1829c19800e8SDoug Rabson * unwrap.c: support cfx, try to handle acceptor asserted subkey 1830c19800e8SDoug Rabson 1831c19800e8SDoug Rabson * verify_mic.c: support cfx 1832c19800e8SDoug Rabson 1833c19800e8SDoug Rabson * get_mic.c: support cfx 1834c19800e8SDoug Rabson 1835c19800e8SDoug Rabson * test_sequence.c: handle changed signature of 1836c19800e8SDoug Rabson gssapi_msg_order_create 1837c19800e8SDoug Rabson 1838c19800e8SDoug Rabson * import_sec_context.c: handle acceptor asserted subkey 1839c19800e8SDoug Rabson 1840c19800e8SDoug Rabson * init_sec_context.c: handle acceptor asserted subkey 1841c19800e8SDoug Rabson 1842c19800e8SDoug Rabson * accept_sec_context.c: handle acceptor asserted subkey 1843c19800e8SDoug Rabson 1844c19800e8SDoug Rabson * sequence.c: add dummy use_64 argument to gssapi_msg_order_create 1845c19800e8SDoug Rabson 1846c19800e8SDoug Rabson * gssapi_locl.h: add partial support for CFX 1847c19800e8SDoug Rabson 1848c19800e8SDoug Rabson * Makefile.am (noinst_PROGRAMS) += test_cred 1849c19800e8SDoug Rabson 1850c19800e8SDoug Rabson * test_cred.c: gssapi credential testing 1851c19800e8SDoug Rabson 1852c19800e8SDoug Rabson * test_acquire_cred.c: fix comment 1853c19800e8SDoug Rabson 1854*ae771770SStanislav Sedov2004-03-07 Love Hörnquist Åstrand <lha@it.su.se> 1855c19800e8SDoug Rabson 1856c19800e8SDoug Rabson * arcfour.h: drop structures for message formats, no longer used 1857c19800e8SDoug Rabson 1858c19800e8SDoug Rabson * arcfour.c: comment describing message formats 1859c19800e8SDoug Rabson 1860c19800e8SDoug Rabson * accept_sec_context.c (spnego_accept_sec_context): make sure the 1861c19800e8SDoug Rabson length of the choice element doesn't overrun us 1862c19800e8SDoug Rabson 1863c19800e8SDoug Rabson * init_sec_context.c (spnego_reply): make sure the length of the 1864c19800e8SDoug Rabson choice element doesn't overrun us 1865c19800e8SDoug Rabson 1866c19800e8SDoug Rabson * spnego.asn1: move NegotiationToken to avoid warning 1867c19800e8SDoug Rabson 1868c19800e8SDoug Rabson * spnego.asn1: uncomment NegotiationToken 1869c19800e8SDoug Rabson 1870c19800e8SDoug Rabson * Makefile.am: spnego_files += asn1_NegotiationToken.x 1871c19800e8SDoug Rabson 1872*ae771770SStanislav Sedov2004-01-25 Love Hörnquist Åstrand <lha@it.su.se> 1873c19800e8SDoug Rabson 1874c19800e8SDoug Rabson * gssapi.h: add gss_krb5_ccache_name 1875c19800e8SDoug Rabson 1876c19800e8SDoug Rabson * Makefile.am (libgssapi_la_SOURCES): += ccache_name.c 1877c19800e8SDoug Rabson 1878c19800e8SDoug Rabson * ccache_name.c (gss_krb5_ccache_name): help function enable to 1879c19800e8SDoug Rabson set krb5 name, using out_name argument makes function no longer 1880c19800e8SDoug Rabson thread-safe 1881c19800e8SDoug Rabson 1882c19800e8SDoug Rabson * gssapi.3: add missing gss_krb5_ references 1883c19800e8SDoug Rabson 1884c19800e8SDoug Rabson * gss_acquire_cred.3: document gss_krb5_ccache_name 1885c19800e8SDoug Rabson 1886*ae771770SStanislav Sedov2003-12-12 Love Hörnquist Åstrand <lha@it.su.se> 1887c19800e8SDoug Rabson 1888c19800e8SDoug Rabson * cfx.c: make rrc a modulus operation if its longer then the 1889c19800e8SDoug Rabson length of the message, noticed by Sam Hartman 1890c19800e8SDoug Rabson 1891*ae771770SStanislav Sedov2003-12-07 Love Hörnquist Åstrand <lha@it.su.se> 1892c19800e8SDoug Rabson 1893c19800e8SDoug Rabson * accept_sec_context.c: use krb5_auth_con_addflags 1894c19800e8SDoug Rabson 1895*ae771770SStanislav Sedov2003-12-05 Love Hörnquist Åstrand <lha@it.su.se> 1896c19800e8SDoug Rabson 1897c19800e8SDoug Rabson * cfx.c: Wrap token id was in wrong order, found by Sam Hartman 1898c19800e8SDoug Rabson 1899*ae771770SStanislav Sedov2003-12-04 Love Hörnquist Åstrand <lha@it.su.se> 1900c19800e8SDoug Rabson 1901c19800e8SDoug Rabson * cfx.c: add AcceptorSubkey (but no code understand it yet) ignore 1902c19800e8SDoug Rabson unknown token flags 1903c19800e8SDoug Rabson 1904*ae771770SStanislav Sedov2003-11-22 Love Hörnquist Åstrand <lha@it.su.se> 1905c19800e8SDoug Rabson 1906c19800e8SDoug Rabson * accept_sec_context.c: Don't require timestamp to be set on 1907c19800e8SDoug Rabson delegated token, its already protected by the outer token (and 1908c19800e8SDoug Rabson windows doesn't alway send it) Pointed out by Zi-Bin Yang 19091c43270aSJacques Vidrine <zbyang@decru.com> on heimdal-discuss 19101c43270aSJacques Vidrine 1911*ae771770SStanislav Sedov2003-11-14 Love Hörnquist Åstrand <lha@it.su.se> 19121c43270aSJacques Vidrine 1913c19800e8SDoug Rabson * cfx.c: fix {} error, pointed out by Liqiang Zhu 1914c19800e8SDoug Rabson 1915*ae771770SStanislav Sedov2003-11-10 Love Hörnquist Åstrand <lha@it.su.se> 1916c19800e8SDoug Rabson 1917c19800e8SDoug Rabson * cfx.c: Sequence number should be stored in bigendian order From: 1918c19800e8SDoug Rabson Luke Howard <lukeh@padl.com> 1919c19800e8SDoug Rabson 1920*ae771770SStanislav Sedov2003-11-09 Love Hörnquist Åstrand <lha@it.su.se> 1921c19800e8SDoug Rabson 1922c19800e8SDoug Rabson * delete_sec_context.c (gss_delete_sec_context): don't free 1923c19800e8SDoug Rabson ticket, krb5_free_ticket does that now 1924c19800e8SDoug Rabson 1925*ae771770SStanislav Sedov2003-11-06 Love Hörnquist Åstrand <lha@it.su.se> 1926c19800e8SDoug Rabson 1927c19800e8SDoug Rabson * cfx.c: checksum the header last in MIC token, update to -03 1928c19800e8SDoug Rabson From: Luke Howard <lukeh@padl.com> 19291c43270aSJacques Vidrine 1930*ae771770SStanislav Sedov2003-10-07 Love Hörnquist Åstrand <lha@it.su.se> 19311c43270aSJacques Vidrine 1932c19800e8SDoug Rabson * add_cred.c: If its a MEMORY cc, make a copy. We need to do this 1933c19800e8SDoug Rabson since now gss_release_cred will destroy the cred. This should be 1934c19800e8SDoug Rabson really be solved a better way. 1935c19800e8SDoug Rabson 1936c19800e8SDoug Rabson * acquire_cred.c (gss_release_cred): if its a mcc, destroy it 1937c19800e8SDoug Rabson rather the just release it Found by: "Zi-Bin Yang" 1938c19800e8SDoug Rabson <zbyang@decru.com> 1939c19800e8SDoug Rabson 1940c19800e8SDoug Rabson * acquire_cred.c (acquire_initiator_cred): use kret instead of ret 1941c19800e8SDoug Rabson where appropriate 1942c19800e8SDoug Rabson 1943*ae771770SStanislav Sedov2003-09-30 Love Hörnquist Åstrand <lha@it.su.se> 1944c19800e8SDoug Rabson 1945c19800e8SDoug Rabson * gss_acquire_cred.3: spelling 1946c19800e8SDoug Rabson From: jmc <jmc@prioris.mini.pw.edu.pl> 1947c19800e8SDoug Rabson 1948*ae771770SStanislav Sedov2003-09-23 Love Hörnquist Åstrand <lha@it.su.se> 1949c19800e8SDoug Rabson 1950c19800e8SDoug Rabson * cfx.c: - EC and RRC are big-endian, not little-endian - The 1951c19800e8SDoug Rabson default is now to rotate regardless of GSS_C_DCE_STYLE. There are 1952c19800e8SDoug Rabson no longer any references to GSS_C_DCE_STYLE. - rrc_rotate() 1953c19800e8SDoug Rabson avoids allocating memory on the heap if rrc <= 256 1954c19800e8SDoug Rabson From: Luke Howard <lukeh@padl.com> 1955c19800e8SDoug Rabson 1956*ae771770SStanislav Sedov2003-09-22 Love Hörnquist Åstrand <lha@it.su.se> 1957c19800e8SDoug Rabson 1958c19800e8SDoug Rabson * cfx.[ch]: rrc_rotate() was untested and broken, fix it. 1959c19800e8SDoug Rabson Set and verify wrap Token->Filler. 1960c19800e8SDoug Rabson Correct token ID for wrap tokens, 1961c19800e8SDoug Rabson were accidentally swapped with delete tokens. 1962c19800e8SDoug Rabson From: Luke Howard <lukeh@PADL.COM> 1963c19800e8SDoug Rabson 1964*ae771770SStanislav Sedov2003-09-21 Love Hörnquist Åstrand <lha@it.su.se> 1965c19800e8SDoug Rabson 1966c19800e8SDoug Rabson * cfx.[ch]: no ASN.1-ish header on per-message tokens 1967c19800e8SDoug Rabson From: Luke Howard <lukeh@PADL.COM> 19681c43270aSJacques Vidrine 1969*ae771770SStanislav Sedov2003-09-19 Love Hörnquist Åstrand <lha@it.su.se> 19701c43270aSJacques Vidrine 1971c19800e8SDoug Rabson * arcfour.h: remove depenency on gss_arcfour_mic_token and 1972c19800e8SDoug Rabson gss_arcfour_warp_token 19731c43270aSJacques Vidrine 1974c19800e8SDoug Rabson * arcfour.c: remove depenency on gss_arcfour_mic_token and 1975c19800e8SDoug Rabson gss_arcfour_warp_token 19761c43270aSJacques Vidrine 1977*ae771770SStanislav Sedov2003-09-18 Love Hörnquist Åstrand <lha@it.su.se> 19781c43270aSJacques Vidrine 1979c19800e8SDoug Rabson * 8003.c: remove #if 0'ed code 19801c43270aSJacques Vidrine 1981*ae771770SStanislav Sedov2003-09-17 Love Hörnquist Åstrand <lha@it.su.se> 19821c43270aSJacques Vidrine 1983c19800e8SDoug Rabson * accept_sec_context.c (gsskrb5_accept_sec_context): set sequence 1984c19800e8SDoug Rabson number when not requesting mutual auth From: Luke Howard 1985c19800e8SDoug Rabson <lukeh@PADL.COM> 19861c43270aSJacques Vidrine 1987c19800e8SDoug Rabson * init_sec_context.c (init_auth): set sequence number when not 1988c19800e8SDoug Rabson requesting mutual auth From: Luke Howard <lukeh@PADL.COM> 19891c43270aSJacques Vidrine 1990*ae771770SStanislav Sedov2003-09-16 Love Hörnquist Åstrand <lha@it.su.se> 19911c43270aSJacques Vidrine 1992c19800e8SDoug Rabson * arcfour.c (*): set minor_status 1993c19800e8SDoug Rabson (gss_wrap): set conf_state to conf_req_flags on success 1994c19800e8SDoug Rabson From: Luke Howard <lukeh@PADL.COM> 19951c43270aSJacques Vidrine 1996c19800e8SDoug Rabson * wrap.c (gss_wrap_size_limit): use existing function From: Luke 1997c19800e8SDoug Rabson Howard <lukeh@PADL.COM> 19981c43270aSJacques Vidrine 1999*ae771770SStanislav Sedov2003-09-12 Love Hörnquist Åstrand <lha@it.su.se> 20001c43270aSJacques Vidrine 2001c19800e8SDoug Rabson * indicate_mechs.c (gss_indicate_mechs): in case of error, free 2002c19800e8SDoug Rabson mech_set 20031c43270aSJacques Vidrine 2004c19800e8SDoug Rabson * indicate_mechs.c (gss_indicate_mechs): add SPNEGO 20051c43270aSJacques Vidrine 2006*ae771770SStanislav Sedov2003-09-10 Love Hörnquist Åstrand <lha@it.su.se> 2007c19800e8SDoug Rabson 2008c19800e8SDoug Rabson * init_sec_context.c (spnego_initial): catch errors and return 2009c19800e8SDoug Rabson them 2010c19800e8SDoug Rabson 2011c19800e8SDoug Rabson * init_sec_context.c (spnego_initial): add #if 0 out version of 2012c19800e8SDoug Rabson the CHOICE branch encoding, also where here, free no longer used 2013c19800e8SDoug Rabson memory 2014c19800e8SDoug Rabson 2015*ae771770SStanislav Sedov2003-09-09 Love Hörnquist Åstrand <lha@it.su.se> 2016c19800e8SDoug Rabson 2017c19800e8SDoug Rabson * gss_acquire_cred.3: support GSS_SPNEGO_MECHANISM 2018c19800e8SDoug Rabson 2019c19800e8SDoug Rabson * accept_sec_context.c: SPNEGO doesn't include gss wrapping on 2020c19800e8SDoug Rabson SubsequentContextToken like the Kerberos 5 mech does. 2021c19800e8SDoug Rabson 2022c19800e8SDoug Rabson * init_sec_context.c (spnego_reply): SPNEGO doesn't include gss 2023c19800e8SDoug Rabson wrapping on SubsequentContextToken like the Kerberos 5 mech 2024c19800e8SDoug Rabson does. Lets check for it anyway. 2025c19800e8SDoug Rabson 2026c19800e8SDoug Rabson * accept_sec_context.c: Add support for SPNEGO on the initator 2027c19800e8SDoug Rabson side. Implementation initially from Assar Westerlund, passes 2028c19800e8SDoug Rabson though quite a lot of hands before I commited it. 2029c19800e8SDoug Rabson 2030c19800e8SDoug Rabson * init_sec_context.c: Add support for SPNEGO on the initator side. 2031c19800e8SDoug Rabson Tested with ldap server on a Windows 2000 DC. Implementation 2032c19800e8SDoug Rabson initially from Assar Westerlund, passes though quite a lot of 2033c19800e8SDoug Rabson hands before I commited it. 2034c19800e8SDoug Rabson 2035c19800e8SDoug Rabson * gssapi.h: export GSS_SPNEGO_MECHANISM 2036c19800e8SDoug Rabson 2037c19800e8SDoug Rabson * gssapi_locl.h: include spnego_as.h add prototype for 2038c19800e8SDoug Rabson gssapi_krb5_get_mech 2039c19800e8SDoug Rabson 2040c19800e8SDoug Rabson * decapsulate.c (gssapi_krb5_get_mech): make non static 2041c19800e8SDoug Rabson 2042c19800e8SDoug Rabson * Makefile.am: build SPNEGO file 2043c19800e8SDoug Rabson 2044*ae771770SStanislav Sedov2003-09-08 Love Hörnquist Åstrand <lha@it.su.se> 2045c19800e8SDoug Rabson 2046c19800e8SDoug Rabson * external.c: SPENGO and IAKERB oids 2047c19800e8SDoug Rabson 2048c19800e8SDoug Rabson * spnego.asn1: SPENGO ASN1 2049c19800e8SDoug Rabson 2050*ae771770SStanislav Sedov2003-09-05 Love Hörnquist Åstrand <lha@it.su.se> 2051c19800e8SDoug Rabson 2052c19800e8SDoug Rabson * cfx.c: RRC also need to be zero before wraping them 2053c19800e8SDoug Rabson From: Luke Howard <lukeh@PADL.COM> 2054c19800e8SDoug Rabson 2055*ae771770SStanislav Sedov2003-09-04 Love Hörnquist Åstrand <lha@it.su.se> 2056c19800e8SDoug Rabson 2057c19800e8SDoug Rabson * encapsulate.c (gssapi_krb5_encap_length): don't return void 2058c19800e8SDoug Rabson 2059*ae771770SStanislav Sedov2003-09-03 Love Hörnquist Åstrand <lha@it.su.se> 2060c19800e8SDoug Rabson 2061c19800e8SDoug Rabson * verify_mic.c: switch from the des_ to the DES_ api 2062c19800e8SDoug Rabson 2063c19800e8SDoug Rabson * get_mic.c: switch from the des_ to the DES_ api 2064c19800e8SDoug Rabson 2065c19800e8SDoug Rabson * unwrap.c: switch from the des_ to the DES_ api 2066c19800e8SDoug Rabson 2067c19800e8SDoug Rabson * wrap.c: switch from the des_ to the DES_ api 2068c19800e8SDoug Rabson 2069c19800e8SDoug Rabson * cfx.c: EC is not included in the checksum since the length might 2070c19800e8SDoug Rabson change depending on the data. From: Luke Howard <lukeh@PADL.COM> 2071c19800e8SDoug Rabson 2072c19800e8SDoug Rabson * acquire_cred.c: use 2073c19800e8SDoug Rabson krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free 2074c19800e8SDoug Rabson 2075*ae771770SStanislav Sedov2003-09-01 Love Hörnquist Åstrand <lha@it.su.se> 2076c19800e8SDoug Rabson 2077c19800e8SDoug Rabson * copy_ccache.c: rename 2078c19800e8SDoug Rabson gss_krb5_extract_authz_data_from_sec_context to 2079c19800e8SDoug Rabson gsskrb5_extract_authz_data_from_sec_context 2080c19800e8SDoug Rabson 2081c19800e8SDoug Rabson * gssapi.h: rename gss_krb5_extract_authz_data_from_sec_context to 2082c19800e8SDoug Rabson gsskrb5_extract_authz_data_from_sec_context 2083c19800e8SDoug Rabson 2084*ae771770SStanislav Sedov2003-08-31 Love Hörnquist Åstrand <lha@it.su.se> 2085c19800e8SDoug Rabson 2086c19800e8SDoug Rabson * copy_ccache.c (gss_krb5_extract_authz_data_from_sec_context): 2087c19800e8SDoug Rabson check that we have a ticket before we start to use it 2088c19800e8SDoug Rabson 2089c19800e8SDoug Rabson * gss_acquire_cred.3: document 2090c19800e8SDoug Rabson gss_krb5_extract_authz_data_from_sec_context 2091c19800e8SDoug Rabson 2092c19800e8SDoug Rabson * gssapi.h (gss_krb5_extract_authz_data_from_sec_context): 2093c19800e8SDoug Rabson return the kerberos authorizationdata, from idea of Luke Howard 2094c19800e8SDoug Rabson 2095c19800e8SDoug Rabson * copy_ccache.c (gss_krb5_extract_authz_data_from_sec_context): 2096c19800e8SDoug Rabson return the kerberos authorizationdata, from idea of Luke Howard 2097c19800e8SDoug Rabson 2098c19800e8SDoug Rabson * verify_mic.c (gss_verify_mic_internal): switch type and key 2099c19800e8SDoug Rabson argument 2100c19800e8SDoug Rabson 2101*ae771770SStanislav Sedov2003-08-30 Love Hörnquist Åstrand <lha@it.su.se> 2102c19800e8SDoug Rabson 2103c19800e8SDoug Rabson * cfx.[ch]: draft-ietf-krb-wg-gssapi-cfx-01.txt implemetation 2104c19800e8SDoug Rabson From: Luke Howard <lukeh@PADL.COM> 2105c19800e8SDoug Rabson 2106*ae771770SStanislav Sedov2003-08-28 Love Hörnquist Åstrand <lha@it.su.se> 2107c19800e8SDoug Rabson 2108c19800e8SDoug Rabson * arcfour.c (arcfour_mic_cksum): use free_Checksum to free the 2109c19800e8SDoug Rabson checksum 2110c19800e8SDoug Rabson 2111c19800e8SDoug Rabson * arcfour.h: swap two last arguments to verify_mic for consistency 2112c19800e8SDoug Rabson with des3 2113c19800e8SDoug Rabson 2114c19800e8SDoug Rabson * wrap.c,unwrap.c,get_mic.c,verify_mic.c,cfx.c,cfx.h: 2115c19800e8SDoug Rabson prefix cfx symbols with _gssapi_ 2116c19800e8SDoug Rabson 2117c19800e8SDoug Rabson * arcfour.c: release the right buffer 2118c19800e8SDoug Rabson 2119c19800e8SDoug Rabson * arcfour.c: rename token structure in consistency with rest of 2120c19800e8SDoug Rabson GSS-API From: Luke Howard <lukeh@PADL.COM> 2121c19800e8SDoug Rabson 2122c19800e8SDoug Rabson * unwrap.c (unwrap_des3): use _gssapi_verify_pad 2123c19800e8SDoug Rabson (unwrap_des): use _gssapi_verify_pad 2124c19800e8SDoug Rabson 2125c19800e8SDoug Rabson * arcfour.c (_gssapi_wrap_arcfour): set the correct padding 2126c19800e8SDoug Rabson (_gssapi_unwrap_arcfour): verify and strip padding 2127c19800e8SDoug Rabson 2128c19800e8SDoug Rabson * gssapi_locl.h: added _gssapi_verify_pad 2129c19800e8SDoug Rabson 2130c19800e8SDoug Rabson * decapsulate.c (_gssapi_verify_pad): verify padding of a gss 2131c19800e8SDoug Rabson wrapped message and return its length 2132c19800e8SDoug Rabson 2133c19800e8SDoug Rabson * arcfour.c: support KEYTYPE_ARCFOUR_56 keys, from Luke Howard 2134c19800e8SDoug Rabson <lukeh@PADL.COM> 2135c19800e8SDoug Rabson 2136c19800e8SDoug Rabson * arcfour.c: use right seal alg, inherit keytype from parent key 2137c19800e8SDoug Rabson 2138c19800e8SDoug Rabson * arcfour.c: include the confounder in the checksum use the right 2139c19800e8SDoug Rabson key usage number for warped/unwraped tokens 2140c19800e8SDoug Rabson 2141c19800e8SDoug Rabson * gssapi.h: add gss_krb5_nt_general_name as an mit compat glue 2142c19800e8SDoug Rabson (same as GSS_KRB5_NT_PRINCIPAL_NAME) 2143c19800e8SDoug Rabson 2144c19800e8SDoug Rabson * unwrap.c: hook in arcfour unwrap 2145c19800e8SDoug Rabson 2146c19800e8SDoug Rabson * wrap.c: hook in arcfour wrap 2147c19800e8SDoug Rabson 2148c19800e8SDoug Rabson * verify_mic.c: hook in arcfour verify_mic 2149c19800e8SDoug Rabson 2150c19800e8SDoug Rabson * get_mic.c: hook in arcfour get_mic 2151c19800e8SDoug Rabson 2152c19800e8SDoug Rabson * arcfour.c: implement wrap/unwarp 2153c19800e8SDoug Rabson 2154c19800e8SDoug Rabson * gssapi_locl.h: add gssapi_{en,de}code_be_om_uint32 2155c19800e8SDoug Rabson 2156c19800e8SDoug Rabson * 8003.c: add gssapi_{en,de}code_be_om_uint32 2157c19800e8SDoug Rabson 2158*ae771770SStanislav Sedov2003-08-27 Love Hörnquist Åstrand <lha@it.su.se> 2159c19800e8SDoug Rabson 2160c19800e8SDoug Rabson * arcfour.c (_gssapi_verify_mic_arcfour): Do the checksum on right 2161c19800e8SDoug Rabson area. Swap filler check, it was reversed. 2162c19800e8SDoug Rabson 2163c19800e8SDoug Rabson * Makefile.am (libgssapi_la_SOURCES): += arcfour.c 2164c19800e8SDoug Rabson 2165c19800e8SDoug Rabson * gssapi_locl.h: include "arcfour.h" 2166c19800e8SDoug Rabson 2167c19800e8SDoug Rabson * arcfour.c: arcfour gss-api mech, get_mic/verify_mic working 2168c19800e8SDoug Rabson 2169c19800e8SDoug Rabson * arcfour.h: arcfour gss-api mech, get_mic/verify_mic working 2170c19800e8SDoug Rabson 2171*ae771770SStanislav Sedov2003-08-26 Love Hörnquist Åstrand <lha@it.su.se> 2172c19800e8SDoug Rabson 2173c19800e8SDoug Rabson * gssapi_locl.h: always include cfx.h add prototype for 2174c19800e8SDoug Rabson _gssapi_decapsulate 2175c19800e8SDoug Rabson 2176c19800e8SDoug Rabson * cfx.[ch]: Implementation of draft-ietf-krb-wg-gssapi-cfx-00.txt 2177c19800e8SDoug Rabson from Luke Howard <lukeh@PADL.COM> 2178c19800e8SDoug Rabson 2179c19800e8SDoug Rabson * decapsulate.c: add _gssapi_decapsulate, from Luke Howard 2180c19800e8SDoug Rabson <lukeh@PADL.COM> 2181c19800e8SDoug Rabson 2182*ae771770SStanislav Sedov2003-08-25 Love Hörnquist Åstrand <lha@it.su.se> 2183c19800e8SDoug Rabson 2184c19800e8SDoug Rabson * unwrap.c: encap/decap now takes a oid if the enctype/keytype is 2185c19800e8SDoug Rabson arcfour, return error add hook for cfx 2186c19800e8SDoug Rabson 2187c19800e8SDoug Rabson * verify_mic.c: encap/decap now takes a oid if the enctype/keytype 2188c19800e8SDoug Rabson is arcfour, return error add hook for cfx 2189c19800e8SDoug Rabson 2190c19800e8SDoug Rabson * get_mic.c: encap/decap now takes a oid if the enctype/keytype is 2191c19800e8SDoug Rabson arcfour, return error add hook for cfx 2192c19800e8SDoug Rabson 2193c19800e8SDoug Rabson * accept_sec_context.c: encap/decap now takes a oid 2194c19800e8SDoug Rabson 2195c19800e8SDoug Rabson * init_sec_context.c: encap/decap now takes a oid 2196c19800e8SDoug Rabson 2197c19800e8SDoug Rabson * gssapi_locl.h: include cfx.h if we need it lifetime is a 2198c19800e8SDoug Rabson OM_uint32, depend on gssapi interface add all new encap/decap 2199c19800e8SDoug Rabson functions 2200c19800e8SDoug Rabson 2201c19800e8SDoug Rabson * decapsulate.c: add decap functions that doesn't take the token 2202c19800e8SDoug Rabson type also make all decap function take the oid mech that they 2203c19800e8SDoug Rabson should use 2204c19800e8SDoug Rabson 2205c19800e8SDoug Rabson * encapsulate.c: add encap functions that doesn't take the token 2206c19800e8SDoug Rabson type also make all encap function take the oid mech that they 2207c19800e8SDoug Rabson should use 2208c19800e8SDoug Rabson 2209c19800e8SDoug Rabson * sequence.c (elem_insert): fix a off by one index counter 2210c19800e8SDoug Rabson 2211c19800e8SDoug Rabson * inquire_cred.c (gss_inquire_cred): handle cred_handle being 2212c19800e8SDoug Rabson GSS_C_NO_CREDENTIAL and use the default cred then. 2213c19800e8SDoug Rabson 2214*ae771770SStanislav Sedov2003-08-19 Love Hörnquist Åstrand <lha@it.su.se> 2215c19800e8SDoug Rabson 2216c19800e8SDoug Rabson * gss_acquire_cred.3: break out extensions and document 2217c19800e8SDoug Rabson gsskrb5_register_acceptor_identity 2218c19800e8SDoug Rabson 2219*ae771770SStanislav Sedov2003-08-18 Love Hörnquist Åstrand <lha@it.su.se> 2220c19800e8SDoug Rabson 2221c19800e8SDoug Rabson * test_acquire_cred.c (print_time): time is returned in seconds 2222c19800e8SDoug Rabson from now, not unix time 2223c19800e8SDoug Rabson 2224*ae771770SStanislav Sedov2003-08-17 Love Hörnquist Åstrand <lha@it.su.se> 2225c19800e8SDoug Rabson 2226c19800e8SDoug Rabson * compat.c (check_compat): avoid leaking principal when finding a 2227c19800e8SDoug Rabson match 2228c19800e8SDoug Rabson 2229c19800e8SDoug Rabson * address_to_krb5addr.c: sa_size argument to krb5_addr2sockaddr is 2230c19800e8SDoug Rabson a krb5_socklen_t 2231c19800e8SDoug Rabson 2232c19800e8SDoug Rabson * acquire_cred.c (gss_acquire_cred): 4th argument to 2233c19800e8SDoug Rabson gss_test_oid_set_member is a int 2234c19800e8SDoug Rabson 2235*ae771770SStanislav Sedov2003-07-22 Love Hörnquist Åstrand <lha@it.su.se> 2236c19800e8SDoug Rabson 2237c19800e8SDoug Rabson * init_sec_context.c (repl_mutual): don't set kerberos error where 2238c19800e8SDoug Rabson there was no kerberos error 2239c19800e8SDoug Rabson 2240c19800e8SDoug Rabson * gssapi_locl.h: Add destruction/creation prototypes and structure 2241c19800e8SDoug Rabson for the thread specific storage. 2242c19800e8SDoug Rabson 2243c19800e8SDoug Rabson * display_status.c: use thread specific storage to set/get the 2244c19800e8SDoug Rabson kerberos error message 2245c19800e8SDoug Rabson 2246c19800e8SDoug Rabson * init.c: Provide locking around the creation of the global 2247c19800e8SDoug Rabson krb5_context. Add destruction/creation functions for the thread 2248c19800e8SDoug Rabson specific storage that the error string handling is using. 2249c19800e8SDoug Rabson 2250*ae771770SStanislav Sedov2003-07-20 Love Hörnquist Åstrand <lha@it.su.se> 2251c19800e8SDoug Rabson 2252c19800e8SDoug Rabson * gss_acquire_cred.3: add missing prototype and missing .Ft 2253c19800e8SDoug Rabson arguments 2254c19800e8SDoug Rabson 2255*ae771770SStanislav Sedov2003-06-17 Love Hörnquist Åstrand <lha@it.su.se> 2256c19800e8SDoug Rabson 2257c19800e8SDoug Rabson * verify_mic.c: reorder code so sequence numbers can can be used 2258c19800e8SDoug Rabson 2259c19800e8SDoug Rabson * unwrap.c: reorder code so sequence numbers can can be used 2260c19800e8SDoug Rabson 2261c19800e8SDoug Rabson * sequence.c: remove unused function, indent, add 2262c19800e8SDoug Rabson gssapi_msg_order_f that filter gss flags to gss_msg_order flags 2263c19800e8SDoug Rabson 2264c19800e8SDoug Rabson * gssapi_locl.h: prototypes for 2265c19800e8SDoug Rabson gssapi_{encode_om_uint32,decode_om_uint32} add sequence number 2266c19800e8SDoug Rabson verifier prototypes 2267c19800e8SDoug Rabson 2268c19800e8SDoug Rabson * delete_sec_context.c: destroy sequence number verifier 2269c19800e8SDoug Rabson 2270c19800e8SDoug Rabson * init_sec_context.c: remember to free data use sequence number 2271c19800e8SDoug Rabson verifier 2272c19800e8SDoug Rabson 2273c19800e8SDoug Rabson * accept_sec_context.c: don't clear output_token twice remember to 2274c19800e8SDoug Rabson free data use sequence number verifier 2275c19800e8SDoug Rabson 2276c19800e8SDoug Rabson * 8003.c: export and rename encode_om_uint32/decode_om_uint32 and 2277c19800e8SDoug Rabson start to use them 2278c19800e8SDoug Rabson 2279c19800e8SDoug Rabson2003-06-09 Johan Danielsson <joda@pdc.kth.se> 2280c19800e8SDoug Rabson 2281c19800e8SDoug Rabson * Makefile.am: can't have sequence.c in two different places 2282c19800e8SDoug Rabson 2283*ae771770SStanislav Sedov2003-06-06 Love Hörnquist Åstrand <lha@it.su.se> 2284c19800e8SDoug Rabson 2285c19800e8SDoug Rabson * test_sequence.c: check rollover, print summery 2286c19800e8SDoug Rabson 2287c19800e8SDoug Rabson * wrap.c (sub_wrap_size): gss_wrap_size_limit() has 2288c19800e8SDoug Rabson req_output_size and max_input_size around the wrong way -- it 2289c19800e8SDoug Rabson returns the output token size for a given input size, rather than 2290c19800e8SDoug Rabson the maximum input size for a given output token size. 2291c19800e8SDoug Rabson 2292c19800e8SDoug Rabson From: Luke Howard <lukeh@PADL.COM> 2293c19800e8SDoug Rabson 2294*ae771770SStanislav Sedov2003-06-05 Love Hörnquist Åstrand <lha@it.su.se> 2295c19800e8SDoug Rabson 2296c19800e8SDoug Rabson * gssapi_locl.h: add prototypes for sequence.c 2297c19800e8SDoug Rabson 2298c19800e8SDoug Rabson * Makefile.am (libgssapi_la_SOURCES): add sequence.c 2299c19800e8SDoug Rabson (test_sequence): build 2300c19800e8SDoug Rabson 2301c19800e8SDoug Rabson * sequence.c: sequence number checks, order and replay 2302c19800e8SDoug Rabson * test_sequence.c: sequence number checks, order and replay 2303c19800e8SDoug Rabson 2304*ae771770SStanislav Sedov2003-06-03 Love Hörnquist Åstrand <lha@it.su.se> 2305c19800e8SDoug Rabson 2306c19800e8SDoug Rabson * accept_sec_context.c (gss_accept_sec_context): make sure time is 23071c43270aSJacques Vidrine returned in seconds from now, not in kerberos time 23081c43270aSJacques Vidrine 2309c19800e8SDoug Rabson * acquire_cred.c (gss_aquire_cred): make sure time is returned in 2310c19800e8SDoug Rabson seconds from now, not in kerberos time 23111c43270aSJacques Vidrine 2312c19800e8SDoug Rabson * init_sec_context.c (init_auth): if the cred is expired before we 2313c19800e8SDoug Rabson tries to create a token, fail so the peer doesn't need reject us 2314c19800e8SDoug Rabson (*): make sure time is returned in seconds from now, 2315c19800e8SDoug Rabson not in kerberos time 2316c19800e8SDoug Rabson (repl_mutual): remember to unlock the context mutex 2317bbd80c28SJacques Vidrine 2318c19800e8SDoug Rabson * context_time.c (gss_context_time): remove unused variable 2319c19800e8SDoug Rabson 2320c19800e8SDoug Rabson * verify_mic.c: make sure minor_status is always set, pointed out 2321c19800e8SDoug Rabson by Luke Howard <lukeh@PADL.COM> 2322c19800e8SDoug Rabson 2323*ae771770SStanislav Sedov2003-05-21 Love Hörnquist Åstrand <lha@it.su.se> 2324c19800e8SDoug Rabson 2325c19800e8SDoug Rabson * *.[ch]: do some basic locking (no reference counting so contexts 2326c19800e8SDoug Rabson can be removed while still used) 2327c19800e8SDoug Rabson - don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct 2328c19800e8SDoug Rabson - make sure all lifetime are returned in seconds left until expired, 2329c19800e8SDoug Rabson not in unix epoch 2330c19800e8SDoug Rabson 2331c19800e8SDoug Rabson * gss_acquire_cred.3: document argument lifetime_rec to function 2332c19800e8SDoug Rabson gss_inquire_context 2333c19800e8SDoug Rabson 2334*ae771770SStanislav Sedov2003-05-17 Love Hörnquist Åstrand <lha@it.su.se> 2335c19800e8SDoug Rabson 2336c19800e8SDoug Rabson * test_acquire_cred.c: test gss_add_cred more then once 2337c19800e8SDoug Rabson 2338*ae771770SStanislav Sedov2003-05-06 Love Hörnquist Åstrand <lha@it.su.se> 2339c19800e8SDoug Rabson 2340c19800e8SDoug Rabson * gssapi.h: if __cplusplus, wrap the extern variable (just to be 2341c19800e8SDoug Rabson safe) and functions in extern "C" { } 2342bbd80c28SJacques Vidrine 2343*ae771770SStanislav Sedov2003-04-30 Love Hörnquist Åstrand <lha@it.su.se> 2344bbd80c28SJacques Vidrine 2345bbd80c28SJacques Vidrine * gssapi.3: more about the des3 mic mess 2346bbd80c28SJacques Vidrine 2347c19800e8SDoug Rabson * verify_mic.c (verify_mic_des3): always check if the mic is the 2348c19800e8SDoug Rabson correct mic or the mic that old heimdal would have generated 2349bbd80c28SJacques Vidrine 2350c19800e8SDoug Rabson2003-04-28 Jacques Vidrine <nectar@kth.se> 2351bbd80c28SJacques Vidrine 2352c19800e8SDoug Rabson * verify_mic.c (verify_mic_des3): If MIC verification fails, 2353c19800e8SDoug Rabson retry using the `old' MIC computation (with zero IV). 2354bbd80c28SJacques Vidrine 2355*ae771770SStanislav Sedov2003-04-26 Love Hörnquist Åstrand <lha@it.su.se> 2356bbd80c28SJacques Vidrine 2357c19800e8SDoug Rabson * gss_acquire_cred.3: more about difference between comparing IN 2358c19800e8SDoug Rabson and MN 2359bbd80c28SJacques Vidrine 2360c19800e8SDoug Rabson * gss_acquire_cred.3: more about name type and access control 2361c19800e8SDoug Rabson 2362*ae771770SStanislav Sedov2003-04-25 Love Hörnquist Åstrand <lha@it.su.se> 2363c19800e8SDoug Rabson 2364c19800e8SDoug Rabson * gss_acquire_cred.3: document gss_context_time 2365c19800e8SDoug Rabson 2366c19800e8SDoug Rabson * context_time.c: if lifetime of context have expired, set 2367c19800e8SDoug Rabson time_rec to 0 and return GSS_S_CONTEXT_EXPIRED 2368c19800e8SDoug Rabson 2369c19800e8SDoug Rabson * gssapi.3: document [gssapi]correct_des3_mic 2370bbd80c28SJacques Vidrine [gssapi]broken_des3_mic 2371bbd80c28SJacques Vidrine 2372c19800e8SDoug Rabson * gss_acquire_cred.3: document gss_krb5_compat_des3_mic 2373c19800e8SDoug Rabson 2374c19800e8SDoug Rabson * compat.c (gss_krb5_compat_des3_mic): enable turning on/off des3 2375c19800e8SDoug Rabson mic compat 2376bbd80c28SJacques Vidrine (_gss_DES3_get_mic_compat): handle [gssapi]correct_des3_mic too 2377bbd80c28SJacques Vidrine 2378c19800e8SDoug Rabson * gssapi.h (gss_krb5_compat_des3_mic): new function, turn on/off 2379c19800e8SDoug Rabson des3 mic compat 2380bbd80c28SJacques Vidrine (GSS_C_KRB5_COMPAT_DES3_MIC): cpp symbol that exists if 2381bbd80c28SJacques Vidrine gss_krb5_compat_des3_mic exists 2382bbd80c28SJacques Vidrine 2383*ae771770SStanislav Sedov2003-04-24 Love Hörnquist Åstrand <lha@it.su.se> 2384c19800e8SDoug Rabson 2385c19800e8SDoug Rabson * Makefile.am: (libgssapi_la_LDFLAGS): update major 2386c19800e8SDoug Rabson version of gssapi for incompatiblity in 3des getmic support 2387c19800e8SDoug Rabson 2388*ae771770SStanislav Sedov2003-04-23 Love Hörnquist Åstrand <lha@it.su.se> 2389bbd80c28SJacques Vidrine 2390c19800e8SDoug Rabson * Makefile.am: test_acquire_cred_LDADD: use libgssapi.la not 2391c19800e8SDoug Rabson ./libgssapi.la (make make -jN work) 2392bbd80c28SJacques Vidrine 2393*ae771770SStanislav Sedov2003-04-16 Love Hörnquist Åstrand <lha@it.su.se> 2394bbd80c28SJacques Vidrine 2395bbd80c28SJacques Vidrine * gssapi.3: spelling 2396bbd80c28SJacques Vidrine 2397bbd80c28SJacques Vidrine * gss_acquire_cred.3: Change .Fd #include <header.h> to .In 2398bbd80c28SJacques Vidrine header.h, from Thomas Klausner <wiz@netbsd.org> 2399bbd80c28SJacques Vidrine 2400bbd80c28SJacques Vidrine 2401*ae771770SStanislav Sedov2003-04-06 Love Hörnquist Åstrand <lha@it.su.se> 2402bbd80c28SJacques Vidrine 2403bbd80c28SJacques Vidrine * gss_acquire_cred.3: spelling 2404bbd80c28SJacques Vidrine 2405bbd80c28SJacques Vidrine * Makefile.am: remove stuff that sneaked in with last commit 2406bbd80c28SJacques Vidrine 2407bbd80c28SJacques Vidrine * acquire_cred.c (acquire_initiator_cred): if the requested name 2408bbd80c28SJacques Vidrine isn't in the ccache, also check keytab. Extact the krbtgt for the 2409bbd80c28SJacques Vidrine default realm to check how long the credentials will last. 2410bbd80c28SJacques Vidrine 2411bbd80c28SJacques Vidrine * add_cred.c (gss_add_cred): don't create a new ccache, just open 2412bbd80c28SJacques Vidrine the old one; better check if output handle is compatible with new 2413bbd80c28SJacques Vidrine (copied) handle 2414bbd80c28SJacques Vidrine 2415bbd80c28SJacques Vidrine * test_acquire_cred.c: test gss_add_cred too 2416bbd80c28SJacques Vidrine 2417*ae771770SStanislav Sedov2003-04-03 Love Hörnquist Åstrand <lha@it.su.se> 2418bbd80c28SJacques Vidrine 2419bbd80c28SJacques Vidrine * Makefile.am: build test_acquire_cred 2420bbd80c28SJacques Vidrine 2421bbd80c28SJacques Vidrine * test_acquire_cred.c: simple gss_acquire_cred test 2422bbd80c28SJacques Vidrine 2423*ae771770SStanislav Sedov2003-04-02 Love Hörnquist Åstrand <lha@it.su.se> 2424bbd80c28SJacques Vidrine 2425bbd80c28SJacques Vidrine * gss_acquire_cred.3: s/gssapi/GSS-API/ 2426bbd80c28SJacques Vidrine 2427*ae771770SStanislav Sedov2003-03-19 Love Hörnquist Åstrand <lha@it.su.se> 2428bbd80c28SJacques Vidrine 2429bbd80c28SJacques Vidrine * gss_acquire_cred.3: document v1 interface (and that they are 2430bbd80c28SJacques Vidrine obsolete) 2431bbd80c28SJacques Vidrine 2432*ae771770SStanislav Sedov2003-03-18 Love Hörnquist Åstrand <lha@it.su.se> 2433bbd80c28SJacques Vidrine 2434bbd80c28SJacques Vidrine * gss_acquire_cred.3: list supported mechanism and nametypes 2435bbd80c28SJacques Vidrine 2436*ae771770SStanislav Sedov2003-03-16 Love Hörnquist Åstrand <lha@it.su.se> 2437bbd80c28SJacques Vidrine 2438bbd80c28SJacques Vidrine * gss_acquire_cred.3: text about gss_display_name 2439bbd80c28SJacques Vidrine 2440bbd80c28SJacques Vidrine * Makefile.am (libgssapi_la_LDFLAGS): bump to 3:6:2 2441bbd80c28SJacques Vidrine (libgssapi_la_SOURCES): add all new functions 2442bbd80c28SJacques Vidrine 2443bbd80c28SJacques Vidrine * gssapi.3: now that we have a functions, uncomment the missing 2444bbd80c28SJacques Vidrine ones 2445bbd80c28SJacques Vidrine 2446bbd80c28SJacques Vidrine * gss_acquire_cred.3: now that we have a functions, uncomment the 2447bbd80c28SJacques Vidrine missing ones 2448bbd80c28SJacques Vidrine 2449bbd80c28SJacques Vidrine * process_context_token.c: implement gss_process_context_token 2450bbd80c28SJacques Vidrine 2451bbd80c28SJacques Vidrine * inquire_names_for_mech.c: implement gss_inquire_names_for_mech 2452bbd80c28SJacques Vidrine 2453bbd80c28SJacques Vidrine * inquire_mechs_for_name.c: implement gss_inquire_mechs_for_name 2454bbd80c28SJacques Vidrine 2455bbd80c28SJacques Vidrine * inquire_cred_by_mech.c: implement gss_inquire_cred_by_mech 2456bbd80c28SJacques Vidrine 2457bbd80c28SJacques Vidrine * add_cred.c: implement gss_add_cred 2458bbd80c28SJacques Vidrine 2459bbd80c28SJacques Vidrine * acquire_cred.c (gss_acquire_cred): more testing of input 2460bbd80c28SJacques Vidrine argument, make sure output arguments are ok, since we don't know 2461bbd80c28SJacques Vidrine the time_rec (for now), set it to time_req 2462bbd80c28SJacques Vidrine 2463bbd80c28SJacques Vidrine * export_sec_context.c: send lifetime, also set minor_status 2464bbd80c28SJacques Vidrine 2465bbd80c28SJacques Vidrine * get_mic.c: set minor_status 2466bbd80c28SJacques Vidrine 2467bbd80c28SJacques Vidrine * import_sec_context.c (gss_import_sec_context): add error 2468bbd80c28SJacques Vidrine checking, pick up lifetime (if there is no lifetime, use 2469bbd80c28SJacques Vidrine GSS_C_INDEFINITE) 2470bbd80c28SJacques Vidrine 2471bbd80c28SJacques Vidrine * init_sec_context.c: take care to set export value to something 2472bbd80c28SJacques Vidrine sane before we start so caller will have harmless values in them 2473bbd80c28SJacques Vidrine if then function fails 2474bbd80c28SJacques Vidrine 2475bbd80c28SJacques Vidrine * release_buffer.c (gss_release_buffer): set minor_status 2476bbd80c28SJacques Vidrine 2477bbd80c28SJacques Vidrine * wrap.c: make sure minor_status get set 2478bbd80c28SJacques Vidrine 2479bbd80c28SJacques Vidrine * verify_mic.c (gss_verify_mic_internal): rename verify_mic to 2480bbd80c28SJacques Vidrine gss_verify_mic_internal and let it take the type as an argument, 2481bbd80c28SJacques Vidrine (gss_verify_mic): call gss_verify_mic_internal 2482bbd80c28SJacques Vidrine set minor_status 2483bbd80c28SJacques Vidrine 2484bbd80c28SJacques Vidrine * unwrap.c: set minor_status 2485bbd80c28SJacques Vidrine 2486bbd80c28SJacques Vidrine * test_oid_set_member.c (gss_test_oid_set_member): use 2487bbd80c28SJacques Vidrine gss_oid_equal 2488bbd80c28SJacques Vidrine 2489bbd80c28SJacques Vidrine * release_oid_set.c (gss_release_oid_set): set minor_status 2490bbd80c28SJacques Vidrine 2491bbd80c28SJacques Vidrine * release_name.c (gss_release_name): set minor_status 2492bbd80c28SJacques Vidrine 2493bbd80c28SJacques Vidrine * release_cred.c (gss_release_cred): set minor_status 2494bbd80c28SJacques Vidrine 2495bbd80c28SJacques Vidrine * add_oid_set_member.c (gss_add_oid_set_member): set minor_status 2496bbd80c28SJacques Vidrine 2497bbd80c28SJacques Vidrine * compare_name.c (gss_compare_name): set minor_status 2498bbd80c28SJacques Vidrine 2499bbd80c28SJacques Vidrine * compat.c (check_compat): make sure ret have a defined value 2500bbd80c28SJacques Vidrine 2501bbd80c28SJacques Vidrine * context_time.c (gss_context_time): set minor_status 2502bbd80c28SJacques Vidrine 2503bbd80c28SJacques Vidrine * copy_ccache.c (gss_krb5_copy_ccache): set minor_status 2504bbd80c28SJacques Vidrine 2505bbd80c28SJacques Vidrine * create_emtpy_oid_set.c (gss_create_empty_oid_set): set 2506bbd80c28SJacques Vidrine minor_status 2507bbd80c28SJacques Vidrine 2508bbd80c28SJacques Vidrine * delete_sec_context.c (gss_delete_sec_context): set minor_status 2509bbd80c28SJacques Vidrine 2510bbd80c28SJacques Vidrine * display_name.c (gss_display_name): set minor_status 2511bbd80c28SJacques Vidrine 2512bbd80c28SJacques Vidrine * display_status.c (gss_display_status): use gss_oid_equal, handle 2513bbd80c28SJacques Vidrine supplementary errors 2514bbd80c28SJacques Vidrine 2515bbd80c28SJacques Vidrine * duplicate_name.c (gss_duplicate_name): set minor_status 2516bbd80c28SJacques Vidrine 2517bbd80c28SJacques Vidrine * inquire_context.c (gss_inquire_context): set lifetime_rec now 2518bbd80c28SJacques Vidrine when we know it, set minor_status 2519bbd80c28SJacques Vidrine 2520bbd80c28SJacques Vidrine * inquire_cred.c (gss_inquire_cred): take care to set export value 2521bbd80c28SJacques Vidrine to something sane before we start so caller will have harmless 2522bbd80c28SJacques Vidrine values in them if the function fails 2523bbd80c28SJacques Vidrine 2524bbd80c28SJacques Vidrine * accept_sec_context.c (gss_accept_sec_context): take care to set 2525bbd80c28SJacques Vidrine export value to something sane before we start so caller will have 2526bbd80c28SJacques Vidrine harmless values in them if then function fails, set lifetime from 2527bbd80c28SJacques Vidrine ticket expiration date 2528bbd80c28SJacques Vidrine 2529bbd80c28SJacques Vidrine * indicate_mechs.c (gss_indicate_mechs): use 2530bbd80c28SJacques Vidrine gss_create_empty_oid_set and gss_add_oid_set_member 2531bbd80c28SJacques Vidrine 2532bbd80c28SJacques Vidrine * gssapi.h (gss_ctx_id_t_desc): store the lifetime in the cred, 2533bbd80c28SJacques Vidrine since there is no ticket transfered in the exported context 2534bbd80c28SJacques Vidrine 2535bbd80c28SJacques Vidrine * export_name.c (gss_export_name): export name with 2536bbd80c28SJacques Vidrine GSS_C_NT_EXPORT_NAME wrapping, not just the principal 2537bbd80c28SJacques Vidrine 2538bbd80c28SJacques Vidrine * import_name.c (import_export_name): new function, parses a 2539bbd80c28SJacques Vidrine GSS_C_NT_EXPORT_NAME 2540bbd80c28SJacques Vidrine (import_krb5_name): factor out common code of parsing krb5 name 2541bbd80c28SJacques Vidrine (gss_oid_equal): rename from oid_equal 2542bbd80c28SJacques Vidrine 2543bbd80c28SJacques Vidrine * gssapi_locl.h: add prototypes for gss_oid_equal and 2544bbd80c28SJacques Vidrine gss_verify_mic_internal 2545bbd80c28SJacques Vidrine 2546bbd80c28SJacques Vidrine * gssapi.h: comment out the argument names 2547bbd80c28SJacques Vidrine 2548*ae771770SStanislav Sedov2003-03-15 Love Hörnquist Åstrand <lha@it.su.se> 2549bbd80c28SJacques Vidrine 2550bbd80c28SJacques Vidrine * gssapi.3: add LIST OF FUNCTIONS and copyright/license 2551bbd80c28SJacques Vidrine 2552bbd80c28SJacques Vidrine * Makefile.am: s/gss_aquire_cred.3/gss_acquire_cred.3/ 2553bbd80c28SJacques Vidrine 2554bbd80c28SJacques Vidrine * Makefile.am: man_MANS += gss_aquire_cred.3 2555bbd80c28SJacques Vidrine 2556*ae771770SStanislav Sedov2003-03-14 Love Hörnquist Åstrand <lha@it.su.se> 2557bbd80c28SJacques Vidrine 2558bbd80c28SJacques Vidrine * gss_aquire_cred.3: the gssapi api manpage 2559bbd80c28SJacques Vidrine 2560*ae771770SStanislav Sedov2003-03-03 Love Hörnquist Åstrand <lha@it.su.se> 2561bbd80c28SJacques Vidrine 2562bbd80c28SJacques Vidrine * inquire_context.c: (gss_inquire_context): rename argument open 2563bbd80c28SJacques Vidrine to open_context 2564bbd80c28SJacques Vidrine 2565bbd80c28SJacques Vidrine * gssapi.h (gss_inquire_context): rename argument open to open_context 2566bbd80c28SJacques Vidrine 2567*ae771770SStanislav Sedov2003-02-27 Love Hörnquist Åstrand <lha@it.su.se> 2568bbd80c28SJacques Vidrine 2569bbd80c28SJacques Vidrine * init_sec_context.c (do_delegation): remove unused variable 2570bbd80c28SJacques Vidrine subkey 2571bbd80c28SJacques Vidrine 2572bbd80c28SJacques Vidrine * gssapi.3: all 0.5.x version had broken token delegation 2573bbd80c28SJacques Vidrine 2574*ae771770SStanislav Sedov2003-02-21 Love Hörnquist Åstrand <lha@it.su.se> 2575bbd80c28SJacques Vidrine 2576bbd80c28SJacques Vidrine * (init_auth): only generate one subkey 2577bbd80c28SJacques Vidrine 2578*ae771770SStanislav Sedov2003-01-27 Love Hörnquist Åstrand <lha@it.su.se> 2579bbd80c28SJacques Vidrine 2580bbd80c28SJacques Vidrine * verify_mic.c (verify_mic_des3): fix 3des verify_mic to conform 2581bbd80c28SJacques Vidrine to rfc (and mit kerberos), provide backward compat hook 2582bbd80c28SJacques Vidrine 2583bbd80c28SJacques Vidrine * get_mic.c (mic_des3): fix 3des get_mic to conform to rfc (and 2584bbd80c28SJacques Vidrine mit kerberos), provide backward compat hook 2585bbd80c28SJacques Vidrine 2586bbd80c28SJacques Vidrine * init_sec_context.c (init_auth): check if we need compat for 2587bbd80c28SJacques Vidrine older get_mic/verify_mic 2588bbd80c28SJacques Vidrine 2589bbd80c28SJacques Vidrine * gssapi_locl.h: add prototype for _gss_DES3_get_mic_compat 2590bbd80c28SJacques Vidrine 2591bbd80c28SJacques Vidrine * gssapi.h (more_flags): add COMPAT_OLD_DES3 2592bbd80c28SJacques Vidrine 2593bbd80c28SJacques Vidrine * Makefile.am: add gssapi.3 and compat.c 2594bbd80c28SJacques Vidrine 2595bbd80c28SJacques Vidrine * gssapi.3: add gssapi COMPATIBILITY documentation 2596bbd80c28SJacques Vidrine 2597bbd80c28SJacques Vidrine * accept_sec_context.c (gss_accept_sec_context): check if we need 2598bbd80c28SJacques Vidrine compat for older get_mic/verify_mic 2599bbd80c28SJacques Vidrine 2600bbd80c28SJacques Vidrine * compat.c: check for compatiblity with other heimdal's 3des 2601bbd80c28SJacques Vidrine get_mic/verify_mic 2602bbd80c28SJacques Vidrine 2603bbd80c28SJacques Vidrine2002-10-31 Johan Danielsson <joda@pdc.kth.se> 2604bbd80c28SJacques Vidrine 2605bbd80c28SJacques Vidrine * check return value from gssapi_krb5_init 2606bbd80c28SJacques Vidrine 2607bbd80c28SJacques Vidrine * 8003.c (gssapi_krb5_verify_8003_checksum): check size of input 2608bbd80c28SJacques Vidrine 26090cadf2f4SJacques Vidrine2002-09-03 Johan Danielsson <joda@pdc.kth.se> 26100cadf2f4SJacques Vidrine 26110cadf2f4SJacques Vidrine * wrap.c (wrap_des3): use ETYPE_DES3_CBC_NONE 26120cadf2f4SJacques Vidrine 26130cadf2f4SJacques Vidrine * unwrap.c (unwrap_des3): use ETYPE_DES3_CBC_NONE 26140cadf2f4SJacques Vidrine 26150cadf2f4SJacques Vidrine2002-09-02 Johan Danielsson <joda@pdc.kth.se> 26160cadf2f4SJacques Vidrine 26170cadf2f4SJacques Vidrine * init_sec_context.c: we need to generate a local subkey here 26180cadf2f4SJacques Vidrine 26198373020dSJacques Vidrine2002-08-20 Jacques Vidrine <n@nectar.com> 26208373020dSJacques Vidrine 26218373020dSJacques Vidrine * acquire_cred.c, inquire_cred.c, release_cred.c: Use default 26228373020dSJacques Vidrine credential resolution if gss_acquire_cred is called with 26238373020dSJacques Vidrine GSS_C_NO_NAME. 26248373020dSJacques Vidrine 26258373020dSJacques Vidrine2002-06-20 Jacques Vidrine <n@nectar.com> 26268373020dSJacques Vidrine 26278373020dSJacques Vidrine * import_name.c: Compare name types by value if pointers do 26288373020dSJacques Vidrine not match. Reported by: "Douglas E. Engert" <deengert@anl.gov> 26298373020dSJacques Vidrine 26308373020dSJacques Vidrine2002-05-20 Jacques Vidrine <n@nectar.com> 26318373020dSJacques Vidrine 26328373020dSJacques Vidrine * verify_mic.c (gss_verify_mic), unwrap.c (gss_unwrap): initialize 26338373020dSJacques Vidrine the qop_state parameter. from Doug Rabson <dfr@nlsystems.com> 26348373020dSJacques Vidrine 26358373020dSJacques Vidrine2002-05-09 Jacques Vidrine <n@nectar.com> 26368373020dSJacques Vidrine 26378373020dSJacques Vidrine * acquire_cred.c: handle GSS_C_INITIATE/GSS_C_ACCEPT/GSS_C_BOTH 26388373020dSJacques Vidrine 26398373020dSJacques Vidrine2002-05-08 Jacques Vidrine <n@nectar.com> 26408373020dSJacques Vidrine 26418373020dSJacques Vidrine * acquire_cred.c: initialize gssapi; handle null desired_name 26428373020dSJacques Vidrine 26438373020dSJacques Vidrine2002-03-22 Johan Danielsson <joda@pdc.kth.se> 26448373020dSJacques Vidrine 26458373020dSJacques Vidrine * Makefile.am: remove non-functional stuff accidentally committed 26468373020dSJacques Vidrine 26478373020dSJacques Vidrine2002-03-11 Assar Westerlund <assar@sics.se> 26488373020dSJacques Vidrine 26498373020dSJacques Vidrine * Makefile.am (libgssapi_la_LDFLAGS): bump version to 3:5:2 26508373020dSJacques Vidrine * 8003.c (gssapi_krb5_verify_8003_checksum): handle zero channel 26518373020dSJacques Vidrine bindings 26528373020dSJacques Vidrine 26534137ff4cSJacques Vidrine2001-10-31 Jacques Vidrine <n@nectar.com> 26544137ff4cSJacques Vidrine 26554137ff4cSJacques Vidrine * get_mic.c (mic_des3): MIC computation using DES3/SHA1 26564137ff4cSJacques Vidrine was bogusly appending the message buffer to the result, 26574137ff4cSJacques Vidrine overwriting a heap buffer in the process. 26584137ff4cSJacques Vidrine 26594137ff4cSJacques Vidrine2001-08-29 Assar Westerlund <assar@sics.se> 26604137ff4cSJacques Vidrine 26614137ff4cSJacques Vidrine * 8003.c (gssapi_krb5_verify_8003_checksum, 26624137ff4cSJacques Vidrine gssapi_krb5_create_8003_checksum): make more consistent by always 26634137ff4cSJacques Vidrine returning an gssapi error and setting minor status. update 26644137ff4cSJacques Vidrine callers 26654137ff4cSJacques Vidrine 26664137ff4cSJacques Vidrine2001-08-28 Jacques Vidrine <n@nectar.com> 26674137ff4cSJacques Vidrine 26684137ff4cSJacques Vidrine * accept_sec_context.c: Create a cache for delegated credentials 26694137ff4cSJacques Vidrine when needed. 26704137ff4cSJacques Vidrine 26714137ff4cSJacques Vidrine2001-08-28 Assar Westerlund <assar@sics.se> 26724137ff4cSJacques Vidrine 26734137ff4cSJacques Vidrine * Makefile.am (libgssapi_la_LDFLAGS): set version to 3:4:2 26744137ff4cSJacques Vidrine 26754137ff4cSJacques Vidrine2001-08-23 Assar Westerlund <assar@sics.se> 26764137ff4cSJacques Vidrine 26774137ff4cSJacques Vidrine * *.c: handle minor_status more consistently 26784137ff4cSJacques Vidrine 26794137ff4cSJacques Vidrine * display_status.c (gss_display_status): handle krb5_get_err_text 26804137ff4cSJacques Vidrine failing 26814137ff4cSJacques Vidrine 26824137ff4cSJacques Vidrine2001-08-15 Johan Danielsson <joda@pdc.kth.se> 26834137ff4cSJacques Vidrine 26844137ff4cSJacques Vidrine * gssapi_locl.h: fix prototype for gssapi_krb5_init 26854137ff4cSJacques Vidrine 26864137ff4cSJacques Vidrine2001-08-13 Johan Danielsson <joda@pdc.kth.se> 26874137ff4cSJacques Vidrine 26884137ff4cSJacques Vidrine * accept_sec_context.c (gsskrb5_register_acceptor_identity): init 26894137ff4cSJacques Vidrine context and check return value from kt_resolve 26904137ff4cSJacques Vidrine 26914137ff4cSJacques Vidrine * init.c: return error code 26924137ff4cSJacques Vidrine 26934137ff4cSJacques Vidrine2001-07-19 Assar Westerlund <assar@sics.se> 26944137ff4cSJacques Vidrine 26954137ff4cSJacques Vidrine * Makefile.am (libgssapi_la_LDFLAGS): update to 3:3:2 26964137ff4cSJacques Vidrine 26974137ff4cSJacques Vidrine2001-07-12 Assar Westerlund <assar@sics.se> 26984137ff4cSJacques Vidrine 26994137ff4cSJacques Vidrine * Makefile.am (libgssapi_la_LIBADD): add required library 27004137ff4cSJacques Vidrine dependencies 27014137ff4cSJacques Vidrine 27024137ff4cSJacques Vidrine2001-07-06 Assar Westerlund <assar@sics.se> 27034137ff4cSJacques Vidrine 27044137ff4cSJacques Vidrine * accept_sec_context.c (gsskrb5_register_acceptor_identity): set 27054137ff4cSJacques Vidrine the keytab to be used for gss_acquire_cred too' 27064137ff4cSJacques Vidrine 27074137ff4cSJacques Vidrine2001-07-03 Assar Westerlund <assar@sics.se> 27084137ff4cSJacques Vidrine 27094137ff4cSJacques Vidrine * Makefile.am (libgssapi_la_LDFLAGS): set version to 3:2:2 27104137ff4cSJacques Vidrine 27114137ff4cSJacques Vidrine2001-06-18 Assar Westerlund <assar@sics.se> 27124137ff4cSJacques Vidrine 27134137ff4cSJacques Vidrine * wrap.c: replace gss_krb5_getsomekey with gss_krb5_get_localkey 27144137ff4cSJacques Vidrine and gss_krb5_get_remotekey 27154137ff4cSJacques Vidrine * verify_mic.c: update krb5_auth_con function names use 27164137ff4cSJacques Vidrine gss_krb5_get_remotekey 27174137ff4cSJacques Vidrine * unwrap.c: replace gss_krb5_getsomekey with gss_krb5_get_localkey 27184137ff4cSJacques Vidrine and gss_krb5_get_remotekey 27194137ff4cSJacques Vidrine * gssapi_locl.h (gss_krb5_get_remotekey, gss_krb5_get_localkey): 27204137ff4cSJacques Vidrine add prototypes 27214137ff4cSJacques Vidrine * get_mic.c: update krb5_auth_con function names. use 27224137ff4cSJacques Vidrine gss_krb5_get_localkey 27234137ff4cSJacques Vidrine * accept_sec_context.c: update krb5_auth_con function names 27244137ff4cSJacques Vidrine 2725adb0ddaeSAssar Westerlund2001-05-17 Assar Westerlund <assar@sics.se> 2726adb0ddaeSAssar Westerlund 2727adb0ddaeSAssar Westerlund * Makefile.am: bump version to 3:1:2 2728adb0ddaeSAssar Westerlund 2729adb0ddaeSAssar Westerlund2001-05-14 Assar Westerlund <assar@sics.se> 2730adb0ddaeSAssar Westerlund 2731adb0ddaeSAssar Westerlund * address_to_krb5addr.c: adapt to new address functions 2732adb0ddaeSAssar Westerlund 2733adb0ddaeSAssar Westerlund2001-05-11 Assar Westerlund <assar@sics.se> 2734adb0ddaeSAssar Westerlund 2735adb0ddaeSAssar Westerlund * try to return the error string from libkrb5 where applicable 2736adb0ddaeSAssar Westerlund 2737adb0ddaeSAssar Westerlund2001-05-08 Assar Westerlund <assar@sics.se> 2738adb0ddaeSAssar Westerlund 2739adb0ddaeSAssar Westerlund * delete_sec_context.c (gss_delete_sec_context): remember to free 2740adb0ddaeSAssar Westerlund the memory used by the ticket itself. from <tmartin@mirapoint.com> 2741adb0ddaeSAssar Westerlund 2742adb0ddaeSAssar Westerlund2001-05-04 Assar Westerlund <assar@sics.se> 2743adb0ddaeSAssar Westerlund 2744adb0ddaeSAssar Westerlund * gssapi_locl.h: add config.h for completeness 2745adb0ddaeSAssar Westerlund * gssapi.h: remove config.h, this is an installed header file 2746adb0ddaeSAssar Westerlund sys/types.h is not needed either 2747adb0ddaeSAssar Westerlund 2748adb0ddaeSAssar Westerlund2001-03-12 Assar Westerlund <assar@sics.se> 2749adb0ddaeSAssar Westerlund 2750adb0ddaeSAssar Westerlund * acquire_cred.c (gss_acquire_cred): remove memory leaks. from 2751adb0ddaeSAssar Westerlund Jason R Thorpe <thorpej@zembu.com> 2752adb0ddaeSAssar Westerlund 2753adb0ddaeSAssar Westerlund2001-02-18 Assar Westerlund <assar@sics.se> 2754adb0ddaeSAssar Westerlund 2755adb0ddaeSAssar Westerlund * accept_sec_context.c (gss_accept_sec_context): either return 2756adb0ddaeSAssar Westerlund gss_name NULL-ed or set 2757adb0ddaeSAssar Westerlund 2758adb0ddaeSAssar Westerlund * import_name.c: set minor_status in some cases where it was not 2759adb0ddaeSAssar Westerlund done 2760adb0ddaeSAssar Westerlund 2761adb0ddaeSAssar Westerlund2001-02-15 Assar Westerlund <assar@sics.se> 2762adb0ddaeSAssar Westerlund 2763adb0ddaeSAssar Westerlund * wrap.c: use krb5_generate_random_block for the confounders 2764adb0ddaeSAssar Westerlund 27655e9cd1aeSAssar Westerlund2001-01-30 Assar Westerlund <assar@sics.se> 27665e9cd1aeSAssar Westerlund 27675e9cd1aeSAssar Westerlund * Makefile.am (libgssapi_la_LDFLAGS): bump version to 3:0:2 27685e9cd1aeSAssar Westerlund * acquire_cred.c, init_sec_context.c, release_cred.c: add support 27695e9cd1aeSAssar Westerlund for getting creds from a keytab, from fvdl@netbsd.org 27705e9cd1aeSAssar Westerlund 27715e9cd1aeSAssar Westerlund * copy_ccache.c: add gss_krb5_copy_ccache 27725e9cd1aeSAssar Westerlund 27735e9cd1aeSAssar Westerlund2001-01-27 Assar Westerlund <assar@sics.se> 27745e9cd1aeSAssar Westerlund 27755e9cd1aeSAssar Westerlund * get_mic.c: cast parameters to des function to non-const pointers 27765e9cd1aeSAssar Westerlund to handle the case where these functions actually take non-const 27775e9cd1aeSAssar Westerlund des_cblock * 27785e9cd1aeSAssar Westerlund 27795e9cd1aeSAssar Westerlund2001-01-09 Assar Westerlund <assar@sics.se> 27805e9cd1aeSAssar Westerlund 27815e9cd1aeSAssar Westerlund * accept_sec_context.c (gss_accept_sec_context): use krb5_rd_cred2 27825e9cd1aeSAssar Westerlund instead of krb5_rd_cred 27835e9cd1aeSAssar Westerlund 27845e9cd1aeSAssar Westerlund2000-12-11 Assar Westerlund <assar@sics.se> 27855e9cd1aeSAssar Westerlund 27865e9cd1aeSAssar Westerlund * Makefile.am (libgssapi_la_LDFLAGS): bump to 2:3:1 27875e9cd1aeSAssar Westerlund 27885e9cd1aeSAssar Westerlund2000-12-08 Assar Westerlund <assar@sics.se> 27895e9cd1aeSAssar Westerlund 27905e9cd1aeSAssar Westerlund * wrap.c (wrap_des3): use the checksum as ivec when encrypting the 27915e9cd1aeSAssar Westerlund sequence number 27925e9cd1aeSAssar Westerlund * unwrap.c (unwrap_des3): use the checksum as ivec when encrypting 27935e9cd1aeSAssar Westerlund the sequence number 27945e9cd1aeSAssar Westerlund * init_sec_context.c (init_auth): always zero fwd_data 27955e9cd1aeSAssar Westerlund 27965e9cd1aeSAssar Westerlund2000-12-06 Johan Danielsson <joda@pdc.kth.se> 27975e9cd1aeSAssar Westerlund 27985e9cd1aeSAssar Westerlund * accept_sec_context.c: de-pointerise auth_context parameter to 27995e9cd1aeSAssar Westerlund krb5_mk_rep 28005e9cd1aeSAssar Westerlund 28015e9cd1aeSAssar Westerlund2000-11-15 Assar Westerlund <assar@sics.se> 28025e9cd1aeSAssar Westerlund 28035e9cd1aeSAssar Westerlund * init_sec_context.c (init_auth): update to new 28045e9cd1aeSAssar Westerlund krb5_build_authenticator 28055e9cd1aeSAssar Westerlund 28065e9cd1aeSAssar Westerlund2000-09-19 Assar Westerlund <assar@sics.se> 28075e9cd1aeSAssar Westerlund 28085e9cd1aeSAssar Westerlund * Makefile.am (libgssapi_la_LDFLAGS): bump to 2:2:1 28095e9cd1aeSAssar Westerlund 28105e9cd1aeSAssar Westerlund2000-08-27 Assar Westerlund <assar@sics.se> 28115e9cd1aeSAssar Westerlund 28125e9cd1aeSAssar Westerlund * init_sec_context.c: actually pay attention to `time_req' 28135e9cd1aeSAssar Westerlund * init_sec_context.c: re-organize. leak less memory. 28145e9cd1aeSAssar Westerlund * gssapi_locl.h (gssapi_krb5_encapsulate, gss_krb5_getsomekey): 28155e9cd1aeSAssar Westerlund update prototypes add assert.h 28165e9cd1aeSAssar Westerlund * gssapi.h (GSS_KRB5_CONF_C_QOP_DES, GSS_KRB5_CONF_C_QOP_DES3_KD): 28175e9cd1aeSAssar Westerlund add 28185e9cd1aeSAssar Westerlund * verify_mic.c: re-organize and add 3DES code 28195e9cd1aeSAssar Westerlund * wrap.c: re-organize and add 3DES code 28205e9cd1aeSAssar Westerlund * unwrap.c: re-organize and add 3DES code 28215e9cd1aeSAssar Westerlund * get_mic.c: re-organize and add 3DES code 28225e9cd1aeSAssar Westerlund * encapsulate.c (gssapi_krb5_encapsulate): do not free `in_data', 28235e9cd1aeSAssar Westerlund let the caller do that. fix the callers. 28245e9cd1aeSAssar Westerlund 28255e9cd1aeSAssar Westerlund2000-08-16 Assar Westerlund <assar@sics.se> 28265e9cd1aeSAssar Westerlund 28275e9cd1aeSAssar Westerlund * Makefile.am: bump version to 2:1:1 28285e9cd1aeSAssar Westerlund 28295e9cd1aeSAssar Westerlund2000-07-29 Assar Westerlund <assar@sics.se> 28305e9cd1aeSAssar Westerlund 28315e9cd1aeSAssar Westerlund * decapsulate.c (gssapi_krb5_verify_header): sanity-check length 28325e9cd1aeSAssar Westerlund 28335e9cd1aeSAssar Westerlund2000-07-25 Johan Danielsson <joda@pdc.kth.se> 28345e9cd1aeSAssar Westerlund 28355e9cd1aeSAssar Westerlund * Makefile.am: bump version to 2:0:1 28365e9cd1aeSAssar Westerlund 28375e9cd1aeSAssar Westerlund2000-07-22 Assar Westerlund <assar@sics.se> 28385e9cd1aeSAssar Westerlund 28395e9cd1aeSAssar Westerlund * gssapi.h: update OID for GSS_C_NT_HOSTBASED_SERVICE and other 28405e9cd1aeSAssar Westerlund details from rfc2744 28415e9cd1aeSAssar Westerlund 28425e9cd1aeSAssar Westerlund2000-06-29 Assar Westerlund <assar@sics.se> 28435e9cd1aeSAssar Westerlund 28445e9cd1aeSAssar Westerlund * address_to_krb5addr.c (gss_address_to_krb5addr): actually use 28455e9cd1aeSAssar Westerlund `int' instead of `sa_family_t' for the address family. 28465e9cd1aeSAssar Westerlund 28475e9cd1aeSAssar Westerlund2000-06-21 Assar Westerlund <assar@sics.se> 28485e9cd1aeSAssar Westerlund 28495e9cd1aeSAssar Westerlund * add support for token delegation. From Daniel Kouril 28505e9cd1aeSAssar Westerlund <kouril@ics.muni.cz> and Miroslav Ruda <ruda@ics.muni.cz> 28515e9cd1aeSAssar Westerlund 28525e9cd1aeSAssar Westerlund2000-05-15 Assar Westerlund <assar@sics.se> 28535e9cd1aeSAssar Westerlund 28545e9cd1aeSAssar Westerlund * Makefile.am (libgssapi_la_LDFLAGS): set version to 1:1:1 28555e9cd1aeSAssar Westerlund 28565e9cd1aeSAssar Westerlund2000-04-12 Assar Westerlund <assar@sics.se> 28575e9cd1aeSAssar Westerlund 28585e9cd1aeSAssar Westerlund * release_oid_set.c (gss_release_oid_set): clear set for 28595e9cd1aeSAssar Westerlund robustness. From GOMBAS Gabor <gombasg@inf.elte.hu> 28605e9cd1aeSAssar Westerlund * release_name.c (gss_release_name): reset input_name for 28615e9cd1aeSAssar Westerlund robustness. From GOMBAS Gabor <gombasg@inf.elte.hu> 28625e9cd1aeSAssar Westerlund * release_buffer.c (gss_release_buffer): set value to NULL to be 28635e9cd1aeSAssar Westerlund more robust. From GOMBAS Gabor <gombasg@inf.elte.hu> 28645e9cd1aeSAssar Westerlund * add_oid_set_member.c (gss_add_oid_set_member): actually check if 28655e9cd1aeSAssar Westerlund the oid is a member first. leave the oid_set unchanged if realloc 28665e9cd1aeSAssar Westerlund fails. 28675e9cd1aeSAssar Westerlund 2868283d988cSMark Murray2000-02-13 Assar Westerlund <assar@sics.se> 2869283d988cSMark Murray 2870283d988cSMark Murray * Makefile.am: set version to 1:0:1 2871283d988cSMark Murray 2872283d988cSMark Murray2000-02-12 Assar Westerlund <assar@sics.se> 2873283d988cSMark Murray 2874283d988cSMark Murray * gssapi_locl.h: add flags for import/export 2875283d988cSMark Murray * import_sec_context.c (import_sec_context: add flags for what 2876283d988cSMark Murray fields are included. do not include the authenticator for now. 2877283d988cSMark Murray * export_sec_context.c (export_sec_context: add flags for what 2878283d988cSMark Murray fields are included. do not include the authenticator for now. 2879283d988cSMark Murray * accept_sec_context.c (gss_accept_sec_context): set target in 2880283d988cSMark Murray context_handle 2881283d988cSMark Murray 2882283d988cSMark Murray2000-02-11 Assar Westerlund <assar@sics.se> 2883283d988cSMark Murray 2884283d988cSMark Murray * delete_sec_context.c (gss_delete_sec_context): set context to 2885283d988cSMark Murray GSS_C_NO_CONTEXT 2886283d988cSMark Murray 2887283d988cSMark Murray * Makefile.am: add {export,import}_sec_context.c 2888283d988cSMark Murray * export_sec_context.c: new file 2889283d988cSMark Murray * import_sec_context.c: new file 2890283d988cSMark Murray * accept_sec_context.c (gss_accept_sec_context): set trans flag 2891283d988cSMark Murray 289213e3f4d6SMark Murray2000-02-07 Assar Westerlund <assar@sics.se> 289313e3f4d6SMark Murray 289413e3f4d6SMark Murray * Makefile.am: set version to 0:5:0 289513e3f4d6SMark Murray 289613e3f4d6SMark Murray2000-01-26 Assar Westerlund <assar@sics.se> 289713e3f4d6SMark Murray 289813e3f4d6SMark Murray * delete_sec_context.c (gss_delete_sec_context): handle a NULL 289913e3f4d6SMark Murray output_token 290013e3f4d6SMark Murray 290113e3f4d6SMark Murray * wrap.c: update to pseudo-standard APIs for md4,md5,sha. some 290213e3f4d6SMark Murray changes to libdes calls to make them more portable. 290313e3f4d6SMark Murray * verify_mic.c: update to pseudo-standard APIs for md4,md5,sha. 290413e3f4d6SMark Murray some changes to libdes calls to make them more portable. 290513e3f4d6SMark Murray * unwrap.c: update to pseudo-standard APIs for md4,md5,sha. some 290613e3f4d6SMark Murray changes to libdes calls to make them more portable. 290713e3f4d6SMark Murray * get_mic.c: update to pseudo-standard APIs for md4,md5,sha. some 290813e3f4d6SMark Murray changes to libdes calls to make them more portable. 290913e3f4d6SMark Murray * 8003.c: update to pseudo-standard APIs for md4,md5,sha. 291013e3f4d6SMark Murray 2911b528cefcSMark Murray2000-01-06 Assar Westerlund <assar@sics.se> 2912b528cefcSMark Murray 2913b528cefcSMark Murray * Makefile.am: set version to 0:4:0 2914b528cefcSMark Murray 2915b528cefcSMark Murray1999-12-26 Assar Westerlund <assar@sics.se> 2916b528cefcSMark Murray 2917b528cefcSMark Murray * accept_sec_context.c (gss_accept_sec_context): always set 2918b528cefcSMark Murray `output_token' 2919b528cefcSMark Murray * init_sec_context.c (init_auth): always initialize `output_token' 2920b528cefcSMark Murray * delete_sec_context.c (gss_delete_sec_context): always set 2921b528cefcSMark Murray `output_token' 2922b528cefcSMark Murray 2923b528cefcSMark Murray1999-12-06 Assar Westerlund <assar@sics.se> 2924b528cefcSMark Murray 2925b528cefcSMark Murray * Makefile.am: bump version to 0:3:0 2926b528cefcSMark Murray 2927b528cefcSMark Murray1999-10-20 Assar Westerlund <assar@sics.se> 2928b528cefcSMark Murray 2929b528cefcSMark Murray * Makefile.am: set version to 0:2:0 2930b528cefcSMark Murray 2931b528cefcSMark Murray1999-09-21 Assar Westerlund <assar@sics.se> 2932b528cefcSMark Murray 2933b528cefcSMark Murray * init_sec_context.c (gss_init_sec_context): initialize `ticket' 2934b528cefcSMark Murray 2935b528cefcSMark Murray * gssapi.h (gss_ctx_id_t_desc): add ticket in here. ick. 2936b528cefcSMark Murray 2937b528cefcSMark Murray * delete_sec_context.c (gss_delete_sec_context): free ticket 2938b528cefcSMark Murray 2939b528cefcSMark Murray * accept_sec_context.c (gss_accept_sec_context): stove away 2940b528cefcSMark Murray `krb5_ticket' in context so that ugly programs such as 2941b528cefcSMark Murray gss_nt_server can get at it. uck. 2942b528cefcSMark Murray 2943b528cefcSMark Murray1999-09-20 Johan Danielsson <joda@pdc.kth.se> 2944b528cefcSMark Murray 2945b528cefcSMark Murray * accept_sec_context.c: set minor_status 2946b528cefcSMark Murray 2947b528cefcSMark Murray1999-08-04 Assar Westerlund <assar@sics.se> 2948b528cefcSMark Murray 2949b528cefcSMark Murray * display_status.c (calling_error, routine_error): right shift the 2950b528cefcSMark Murray code to make it possible to index into the arrays 2951b528cefcSMark Murray 2952b528cefcSMark Murray1999-07-28 Assar Westerlund <assar@sics.se> 2953b528cefcSMark Murray 2954b528cefcSMark Murray * gssapi.h (GSS_C_AF_INET6): add 2955b528cefcSMark Murray 2956b528cefcSMark Murray * import_name.c (import_hostbased_name): set minor_status 2957b528cefcSMark Murray 2958b528cefcSMark Murray1999-07-26 Assar Westerlund <assar@sics.se> 2959b528cefcSMark Murray 2960b528cefcSMark Murray * Makefile.am: set version to 0:1:0 2961b528cefcSMark Murray 2962b528cefcSMark MurrayWed Apr 7 14:05:15 1999 Johan Danielsson <joda@hella.pdc.kth.se> 2963b528cefcSMark Murray 2964b528cefcSMark Murray * display_status.c: set minor_status 2965b528cefcSMark Murray 2966b528cefcSMark Murray * init_sec_context.c: set minor_status 2967b528cefcSMark Murray 2968b528cefcSMark Murray * lib/gssapi/init.c: remove donep (check gssapi_krb5_context 2969b528cefcSMark Murray directly) 2970b528cefcSMark Murray 2971