summaryrefslogtreecommitdiff
path: root/source4/kdc/kpasswd-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/kdc/kpasswd-service.c')
-rw-r--r--source4/kdc/kpasswd-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kpasswd-service.c b/source4/kdc/kpasswd-service.c
index 22e1295c11e..379ddebf3ad 100644
--- a/source4/kdc/kpasswd-service.c
+++ b/source4/kdc/kpasswd-service.c
@@ -315,7 +315,7 @@ reply:
}
code = smb_krb5_mk_error(kdc->smb_krb5_context->krb5_context,
- error_code,
+ KRB5KDC_ERR_NONE + error_code,
NULL, /* e_text */
&k_dec_data,
NULL, /* client */