s4:torture/rpc/samr.c - add some decision possibility constants to some switch
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 5 Mar 2010 07:50:08 +0000 (08:50 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 5 Mar 2010 07:55:47 +0000 (08:55 +0100)
At the moment nothing is done when the enumeration variable is set to one of
those constants as before. This is only to quite nasty warnings.

source4/torture/rpc/samr.c

index dbc25b40ccfd78b7f86943d1799b5d7ed9b9c39b..7fa08d7f7645e8e1bfad47d0a0402c4b40f87251 100644 (file)
@@ -4695,6 +4695,9 @@ static bool test_user_ops(struct dcerpc_pipe *p,
                break;
        }
        case TORTURE_SAMR_OTHER:
+       case TORTURE_SAMR_MANY_ACCOUNTS:
+       case TORTURE_SAMR_MANY_GROUPS:
+       case TORTURE_SAMR_MANY_ALIASES:
                /* We just need the account to exist */
                break;
        }