s4:torture/samba3rpc: let rpc.authcontext be more robust against low level changes...
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Sep 2013 11:15:38 +0000 (13:15 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Oct 2013 19:48:46 +0000 (08:48 +1300)
commita3074521d408acc4de8a6f810a99f0d6b0c0e324
treece99e6323e1606f56cc45998efc1370cc3eff547
parent9d6b6dcd963412b33fd5960bd792ae183cc63458
s4:torture/samba3rpc: let rpc.authcontext be more robust against low level changes (part2)

We now use smbXcli_conn_is_connected() and
dcerpc_binding_handle_is_connected() to verify only the dcerpc layer
got an error. The expected error is EIO mapped to NT_STATUS_IO_DEVICE_ERROR.

NT_STATUS_INVALID_HANDLE should only be visible at the SMB layer,
but we keep this as allowed return value for now, until
the dcerpc layer is fixed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/rpc/samba3rpc.c