summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 11:58:59 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 11:58:59 +0100
commit3c38166cdb97cba52a11fe2e15445b45bef15de0 (patch)
tree99645b5ffc518030ab6fad75f207635476c286a7 /source4/kdc
parent24cac449a1910ce55cbc5e83180b6dd89940223f (diff)
downloadsamba-3c38166cdb97cba52a11fe2e15445b45bef15de0.tar.gz
samba-3c38166cdb97cba52a11fe2e15445b45bef15de0.tar.bz2
samba-3c38166cdb97cba52a11fe2e15445b45bef15de0.zip
s4:kdc/kpasswdd.c - don't return an uninitialised NT_STATUS
Discovered by Tru64 build
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kpasswdd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 6f4c84b558..2c879c3de6 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -519,8 +519,7 @@ enum kdc_process_ret kpasswdd_process(struct kdc_server *kdc,
ret = kpasswdd_make_unauth_error_reply(kdc, mem_ctx,
KRB5_KPASSWD_HARDERROR,
talloc_asprintf(mem_ctx,
- "Failed to obtain server credentials for kadmin/changepw: %s\n",
- nt_errstr(nt_status)),
+ "Failed to obtain server credentials for kadmin/changepw!"),
&krb_priv_rep);
ap_rep.length = 0;
if (ret) {