libads: set proper ads_keytab_flush() return code on error
authorSwen Schillig <swen@linux.ibm.com>
Wed, 21 Nov 2018 09:59:31 +0000 (10:59 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 22 Nov 2018 07:22:18 +0000 (08:22 +0100)
commit02514427dba74325510137655a3788e70e29c82d
tree631c307cc1921e5e18ae378fb44c36ea027885e0
parent88d82b44c326cfb3ab1cf1f7288eada2566ab4bc
libads: set proper ads_keytab_flush() return code on error

The return code was left on success when the calls to
ads_get_machine_kvno() or ads_clear_service_principal_names()
failed and the processing had to be aborted.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libads/kerberos_keytab.c