components/samba/samba/patches/libsmb_clikrb5.c.patch
changeset 628 c3c0c8f3f696
parent 627 5b7574ad99b9
child 629 daaab66f7276
equal deleted inserted replaced
627:5b7574ad99b9 628:c3c0c8f3f696
     1 --- source3/libsmb/clikrb5.c-bkp	2010-11-16 06:25:10.974288877 -0800
       
     2 +++ source3/libsmb/clikrb5.c	2010-11-16 06:44:09.764248834 -0800
       
     3 @@ -912,8 +912,17 @@
       
     4  	}
       
     5  #endif
       
     6  
       
     7 -	retval = krb5_mk_req_extended(context, auth_context, ap_req_options, 
       
     8 -				      &in_data, credsp, outbuf);
       
     9 +	retval = krb5_mk_req_extended(context, auth_context, ap_req_options,
       
    10 +#if defined(HAVE_SHORT_KRB5_MK_ERROR_INTERFACE)
       
    11 +				      /* MIT implementation does not use the
       
    12 +				       * 4-th. parameter (krb5_data *) by the
       
    13 +				       * same way as Heimdal. Set to NULL .
       
    14 +				       */
       
    15 +				      NULL
       
    16 +#else
       
    17 +				      &in_data
       
    18 +#endif
       
    19 +				      , credsp, outbuf);
       
    20  	if (retval) {
       
    21  		DEBUG(1,("ads_krb5_mk_req: krb5_mk_req_extended failed (%s)\n", 
       
    22  			 error_message(retval)));