summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-12-13 14:49:27 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-12-14 15:39:58 +0100
commitbe288b0c82be3f796816e79744a79817cfcbce7f (patch)
tree8c67a747b0e1cbfa9352a316149e46fa5d47cdc2 /source4/torture
parente917c7b0ee4d72d6dfb1b50f1de8645063dc9df3 (diff)
downloadsamba-be288b0c82be3f796816e79744a79817cfcbce7f.tar.gz
samba-be288b0c82be3f796816e79744a79817cfcbce7f.tar.bz2
samba-be288b0c82be3f796816e79744a79817cfcbce7f.zip
s4-torture: LookupSids3 is only available over NCACN_IP_TCP.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/lsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index f444ef2e91..f420ec1833 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -753,7 +753,8 @@ bool test_many_LookupSids(struct dcerpc_pipe *p,
return false;
}
} else if (p->conn->security_state.auth_info->auth_type == DCERPC_AUTH_TYPE_SCHANNEL &&
- p->conn->security_state.auth_info->auth_level >= DCERPC_AUTH_LEVEL_INTEGRITY) {
+ p->conn->security_state.auth_info->auth_level >= DCERPC_AUTH_LEVEL_INTEGRITY &&
+ (p->binding->transport == NCACN_IP_TCP || p->binding->transport == NCALRPC)) {
struct lsa_LookupSids3 r;
struct lsa_RefDomainList *domains = NULL;
struct lsa_TransNameArray2 names;