[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The state of the heimdal project
Just sent in the patch to submit@bugs.debian.org about 2 minutes ago!
Its attached, if you want ot look at it before 2.4.
CC me on the 2.4 release.
Thanks.
Russ Allbery wrote:
> Douglas E Engert <deengert@anl.gov> writes:
>
>>Björn Torkelsson wrote:
>
>
>>>It is probably better to start with libpam-heimdal/libpam-krb5 (they
>>>actually using the same source) 2.3 from Debian Unstable or from the
>>>source directly: http://www.eyrie.org/~eagle/software/pam-krb5/
>
>
>>Yes, I figured that out last night, and now have the pam-krb5-2.3 With a
>>few fixes, it is working with the Heimdal-20061002 snapshot. Next is to
>>add the pkinit back in.
>
>
> The fixes to get it to build properly against Heimdal out of the box will
> be in 2.4, which I'm releasing today. Assuming that I didn't yet again
> manage to break something else on Heimdal, that is; I've had bad luck for
> the past two releases.
>
--
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
--- ./,compat_heimdal.c Sun Sep 3 21:31:47 2006
+++ ./compat_heimdal.c Thu Oct 5 09:10:17 2006
@@ -6,6 +6,7 @@
#include "config.h"
+#include <errno.h>
#include <krb5.h>
#include <stdlib.h>
#include <string.h>
@@ -27,12 +28,13 @@
krb5_error_code
-pamk5_compat_store_realm(struct pam_args *args, const char *realm)
+pamk5_compat_set_realm(struct pam_args *args, const char *realm)
{
pamk5_compat_free_realm(args);
args->realm_data = strdup(realm);
if (args->realm_data == NULL)
return errno;
+ return 0;
}
@@ -47,10 +49,10 @@
static krb5_error_code
-heimdal_pam_prompter(krb5_context c, void *data, const char *banner,
+heimdal_pam_prompter(krb5_context c, void *data, const char *name, const char *banner,
int num_prompts, krb5_prompt prompts[])
{
- return pamk5_prompter_krb5(c, data, NULL, banner, num_prompts, prompts);
+ return pamk5_prompter_krb5(c, data, name, banner, num_prompts, prompts);
}
krb5_prompter_fct pamk5_pam_prompter = heimdal_pam_prompter;
--- ./,context.c Sun Sep 3 21:31:47 2006
+++ ./context.c Thu Oct 5 09:02:16 2006
@@ -59,7 +59,7 @@
c->service = "unknown";
retval = krb5_init_context(&c->context);
if (retval != 0) {
- pamk5_error(c, "krb5_init_context: %s", error_message(retval));
+ pamk5_error(c, "krb5_init_context: %s", pamk5_compat_get_err_text(c->context,retval));
retval = PAM_SERVICE_ERR;
goto done;
}