s3-secdesc: move all winreg access bits to IDL.
[mat/samba.git] / source3 / rpcclient / cmd_test.c
index b7be038539dd69c431a0e8f720f84981ccd5ac1c..85e90a19b514a2244ea6c86c864c345223e8888d 100644 (file)
@@ -45,7 +45,7 @@ static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
        }
 
        status = rpccli_lsa_open_policy(lsa_pipe, mem_ctx, False,
-                                       SEC_RIGHTS_QUERY_VALUE, &pol);
+                                       KEY_QUERY_VALUE, &pol);
 
        if (!NT_STATUS_IS_OK(status))
                goto done;