s4:torture:dlz_bind9: fix spnego tests
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Aug 2014 11:48:21 +0000 (13:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Mar 2015 09:55:43 +0000 (10:55 +0100)
commit9e0800dbbaa27340349b8745d168b9ad0522a1e1
tree4ea47c2701c33c98bc2730d1fa645245de7c350f
parent4ee99eea1adbc1dd69a9efba869a894fac672be4
s4:torture:dlz_bind9: fix spnego tests

The dlz_bind9 module uses the special dns-${NETBIOSNAME} account,
and this is only available under the dns/hostname.domain SPN, not
host/hostname.

Also the dlz_ssumatch() function returns isc_boolean_t instead
of isc_result_t. As ISC_R_SUCCESS and ISC_FALSE have the same value
we didn't notice this problem.

Change-Id: I48539c3f48f5dde9eaa2fff6da0f3be2f9f66311
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 76943bf0ac259fb8855bd123fe4bc85a103ba418)
source4/torture/dns/dlz_bind9.c