[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ipropd: consistency problem



4 maj 2007 kl. 04.38 skrev Ronny Blomme:

> I upgraded from heimdal-0.7.2 to heimdal-0-8-branch, and now ipropd  
> is not working anymore:
>
> In the messages file on the master:
> ipropd-master[712]: send_diffs: failed to find previous entry:  
> kadm5_log_previous: log entry have consistency failure, length wrong
>
> on the slave
> ipropd-slave[7351]: connect: Connection refused
>
> I have the same problem with heimdal-0.8.1.
> No problems with 0.7.2

I must have merged to code wrong into head. Can you try
the patch that is included ?

Love


Index: log.c
===================================================================
--- log.c	(revision 20465)
+++ log.c	(working copy)
@@ -838,7 +838,7 @@
     ret = krb5_ret_int32 (sp, &tmp);
     if (ret)
 	goto end_of_storage;
-    if (tmp != *ver) {
+    if (tmp != *len) {
 	krb5_set_error_string(context, "kadm5_log_previous: log entry "
 			      "have consistency failure, length wrong");
 	return KADM5_BAD_DB;