r13402: Make Samba4 pass a nastier RPC-SCHANNEL test.
[samba.git] / source / torture / rpc / schannel.c
index 8e2aa4128139ab63830c96e942ef0a962a97d32e..9084fb7ac394248248455dd2d7c24cc0f190d601 100644 (file)
@@ -393,15 +393,18 @@ static BOOL test_schannel(TALLOC_CTX *mem_ctx,
                goto failed;
        }
        
-       /* We can only do the 'ex' ops, because the original SamLogon
-        * call does shared credentials stuff Samba4 doesn't pass
-        * yet */
-
+       /* Try the schannel-only SamLogonEx operation */
        if (!test_netlogon_ex_ops(p_netlogon2, test_ctx, credentials, creds)) {
                printf("Failed to process schannel secured NETLOGON EX ops\n");
                ret = False;
        }
 
+       /* And the more traditional style */
+       if (!test_netlogon_ops(p_netlogon2, test_ctx, credentials, creds)) {
+               printf("Failed to process schannel secured NETLOGON EX ops\n");
+               ret = False;
+       }
+
        torture_leave_domain(join_ctx);
        talloc_free(test_ctx);
        return ret;