s3-kerberos: let smb_krb5_get_tkt_from_creds() compile with older heimdal libs.
authorGünther Deschner <gd@samba.org>
Fri, 6 Nov 2009 13:46:35 +0000 (14:46 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 6 Nov 2009 14:01:39 +0000 (15:01 +0100)
Guenther

source3/libads/authdata.c

index 98d418cf75ea9c583902cbdadbc146f615c60778..f287b16b9d04ce2c256850eab441fad8f641db99 100644 (file)
@@ -366,7 +366,7 @@ static krb5_error_code smb_krb5_get_tkt_from_creds(krb5_creds *creds,
        if (!context) {
                return ret;
        }
        if (!context) {
                return ret;
        }
-       krb5_free_data_contents(context, &outbuf);
+       kerberos_free_data_contents(context, &outbuf);
        if (auth_context) {
                krb5_auth_con_free(context, auth_context);
        }
        if (auth_context) {
                krb5_auth_con_free(context, auth_context);
        }