X-Git-Url: https://git.tld-linux.org/?p=packages%2Fxrdp.git;a=blobdiff_plain;f=heimdal.patch;fp=heimdal.patch;h=0000000000000000000000000000000000000000;hp=80f3750908c25eb21d81037862f9916e8618ae55;hb=64b912db915190fd50443dd67f200ccebd2a683d;hpb=700e1d3eb6a9d6188a164dcb4205107a83ade2f8 diff --git a/heimdal.patch b/heimdal.patch deleted file mode 100644 index 80f3750..0000000 --- a/heimdal.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- xrdp-v0.6.1/sesman/verify_user_kerberos.c~ 2013-11-09 21:11:15.000000000 +0100 -+++ xrdp-v0.6.1/sesman/verify_user_kerberos.c 2013-12-07 19:01:56.670626777 +0100 -@@ -187,11 +187,15 @@ - - u_info = (struct user_info*)data; - rc = 0; -+#ifndef HEIMDAL - types = krb5_get_prompt_types(ctx); -+#endif - for (i = 0; i < num_prompts; i++) - { -+#ifndef HEIMDAL - if (types[i] == KRB5_PROMPT_TYPE_PASSWORD || - types[i] == KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN) -+#endif - { - g_strncpy(prompts[i].reply->data, u_info->pass, 255); - } -@@ -214,7 +214,11 @@ - krb5_creds my_creds; - krb5_error_code code = 0; - krb5_get_init_creds_opt options; -+#ifdef HEIMDAL -+ krb5_addresses* addresses; -+#else - krb5_address** addresses; -+#endif - - krb5_get_init_creds_opt_init(&options); - g_memset(&my_creds, 0, sizeof(my_creds)); -@@ -245,7 +249,11 @@ - if (opts->addresses) - { - addresses = NULL; -+#ifdef HEIMDAL -+ code = krb5_get_all_client_addrs(k5->ctx, addresses); -+#else - code = krb5_os_localaddr(k5->ctx, &addresses); -+#endif - if (code != 0) - { - g_printf("krb5_os_localaddr failed in k5_kinit\n");