diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-12-28 21:00:28 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-09-04 11:25:10 +0200 |
commit | 38e43961c01f6f491b069e7106fe2a2ec80bd840 (patch) | |
tree | 9be8eea9d5331d66bb56a5e7ed5ace331567f79a /source4/torture/winbind | |
parent | 16b26eafa75280e576333975cff5dd1505c118fa (diff) | |
download | samba-38e43961c01f6f491b069e7106fe2a2ec80bd840.tar.gz samba-38e43961c01f6f491b069e7106fe2a2ec80bd840.tar.bz2 samba-38e43961c01f6f491b069e7106fe2a2ec80bd840.zip |
torture: Ensure that GSSAPI and SPNEGO packets are accepted by dlz_bind9
This exercises some more of the dlz_bind9 code outside BIND, by
sending in a ticket to be access checked, wrapped either in SPNEGO or
just in GSSAPI.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 4 11:25:10 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/torture/winbind')
-rw-r--r-- | source4/torture/winbind/winbind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/winbind/winbind.c b/source4/torture/winbind/winbind.c index 5956834efa..65382a9083 100644 --- a/source4/torture/winbind/winbind.c +++ b/source4/torture/winbind/winbind.c @@ -201,6 +201,7 @@ static bool torture_winbind_pac(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "gensec_client_start (client) failed"); status = gensec_set_target_hostname(gensec_client_context, cli_credentials_get_workstation(cmdline_credentials)); + torture_assert_ntstatus_ok(tctx, status, "gensec_set_target_hostname (client) failed"); status = gensec_set_credentials(gensec_client_context, cmdline_credentials); torture_assert_ntstatus_ok(tctx, status, "gensec_set_credentials (client) failed"); |