s4:torture/rpc: test all auth_types (8bit) in rpc.mgmt
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Jan 2014 09:36:37 +0000 (10:36 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 11 Feb 2014 15:20:30 +0000 (16:20 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/rpc/mgmt.c

index 114e9cf97404b4b8a166ddf02c3cfa6d003df3be..b9fbc2fb3a5898f1e7b7efffa9a45e11a4beda66 100644 (file)
@@ -118,7 +118,7 @@ static bool test_inq_princ_name(struct dcerpc_binding_handle *b,
        int i;
        bool ret = false;
 
-       for (i=0;i<100;i++) {
+       for (i=0;i<256;i++) {
                r.in.authn_proto = i;  /* DCERPC_AUTH_TYPE_* */
                r.in.princ_name_size = 100;