log more version numbers
This commit is contained in:
		| @@ -574,8 +574,10 @@ process_msg (krb5_context context, slave *s, int log_fd, | ||||
| 	/* new started slave that have old log */ | ||||
| 	if (s->version == 0 && tmp != 0) { | ||||
| 	    if (current_version < tmp) { | ||||
| 		krb5_warnx (context, "Slave %s have later version the master " | ||||
| 			    "OUT OF SYNC", s->name); | ||||
| 		krb5_warnx (context, "Slave %s (version %lu) have later version " | ||||
| 			    "the master (version %lu) OUT OF SYNC",  | ||||
| 			    s->name, (unsigned long)tmp, | ||||
| 			    (unsigned long)current_version); | ||||
| 	    } | ||||
| 	    s->version = tmp; | ||||
| 	} | ||||
|   | ||||
| @@ -884,7 +884,10 @@ kadm5_log_previous (krb5_context context, | ||||
| 	krb5_storage_seek(sp, oldoff, SEEK_SET); | ||||
| 	krb5_set_error_message(context, KADM5_BAD_DB, | ||||
| 			       "kadm5_log_previous: log entry " | ||||
| 			       "have consistency failure, version number wrong"); | ||||
| 			       "have consistency failure, version number wrong " | ||||
| 			       "(tmp %lu ver %lu)", | ||||
| 			       (unsigned long)tmp, | ||||
| 			       (unsigned long)*ver); | ||||
| 	return KADM5_BAD_DB; | ||||
|     } | ||||
|     ret = krb5_ret_int32 (sp, &tmp); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hornquist Astrand
					Love Hornquist Astrand