s4-torture: LookupSids3 is only available over NCACN_IP_TCP.
authorAndreas Schneider <asn@samba.org>
Tue, 13 Dec 2011 13:49:27 +0000 (14:49 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 14 Dec 2011 14:39:58 +0000 (15:39 +0100)
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104

source4/torture/rpc/lsa.c

index f444ef2e91fd6b2df0735f6f707d8005064f8b8e..f420ec183386105990ec5c64d7b6663654bf7388 100644 (file)
@@ -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;