--- source4/heimdal/lib/krb5/rd_req.c.orig 2017-03-11 18:25:05.000000000 +0100 +++ source4/heimdal/lib/krb5/rd_req.c 2017-03-11 18:25:47.000000000 +0100 @@ -441,7 +441,7 @@ krb5_timeofday (context, &now); - if (abs(ac->authenticator->ctime - now) > context->max_skew) { + if (labs(ac->authenticator->ctime - now) > context->max_skew) { ret = KRB5KRB_AP_ERR_SKEW; krb5_clear_error_message (context); goto out;