s4:ldb/password_hash.c: improve krb5 context error message
authorWilliam Brown <william@blackhats.net.au>
Tue, 10 Apr 2018 04:51:06 +0000 (14:51 +1000)
committerJeremy Allison <jra@samba.org>
Tue, 10 Apr 2018 23:06:39 +0000 (01:06 +0200)
commitee560fa3a67797deef86b3aea763389488790ef0
treea39e51dbba7f83aaea9f40b18813a7646e3d6627
parent3227b110d065500ed84fc70063da70ab35823a2e
s4:ldb/password_hash.c: improve krb5 context error message

When heimdal encounters a MIT krb5.conf that it does not understand,
it would emit an "ldb operations error". Sadly this does not help
or communicate to the administrator the root cause of the issue.

Improve the error message for when krb init fails during password_hash.c

Signed-off-by: William Brown <william@blackhats.net.au>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/samdb/ldb_modules/password_hash.c