s4:torture/rpc/samr.c - make some argument of function "test_SamLogon_with_creds...
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 5 Mar 2010 07:49:25 +0000 (08:49 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 5 Mar 2010 07:55:47 +0000 (08:55 +0100)
This to quiet warnings.

source4/torture/rpc/samr.c

index 13a56f0f7b1fa4556573e2d216d9d548a0918181..dbc25b40ccfd78b7f86943d1799b5d7ed9b9c39b 100644 (file)
@@ -2855,7 +2855,7 @@ static bool test_SamLogon_with_creds(struct torture_context *tctx,
                                     struct dcerpc_pipe *p,
                                     struct cli_credentials *machine_creds,
                                     const char *acct_name,
-                                    char *password,
+                                    const char *password,
                                     NTSTATUS expected_samlogon_result,
                                     bool interactive)
 {