summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/schannel.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-12-05 16:11:19 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-09 19:39:07 +0100
commit3dffd29904b3de145941a7420d56b30611f9616f (patch)
treed1478d78257578473bfeb3e54566bf48f0bf5b1e /source4/torture/rpc/schannel.c
parent7ea9da0c9f0a0a8de416534d6cb1b0248d13f6cf (diff)
downloadsamba-3dffd29904b3de145941a7420d56b30611f9616f.tar.gz
samba-3dffd29904b3de145941a7420d56b30611f9616f.tar.bz2
samba-3dffd29904b3de145941a7420d56b30611f9616f.zip
s4-torture: use names for r.in.logon_level of netlogon samlogon requests.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture/rpc/schannel.c')
-rw-r--r--source4/torture/rpc/schannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index 8a11a20762..7e3e6aad64 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -102,7 +102,7 @@ bool test_netlogon_ex_ops(struct dcerpc_pipe *p, struct torture_context *tctx,
r.in.server_name = talloc_asprintf(tctx, "\\\\%s", dcerpc_server_name(p));
r.in.computer_name = cli_credentials_get_workstation(credentials);
- r.in.logon_level = 2;
+ r.in.logon_level = NetlogonNetworkInformation;
r.in.logon= &logon;
r.in.flags = &_flags;
r.out.validation = &validation;
@@ -656,7 +656,7 @@ static bool torture_schannel_bench_start(struct torture_schannel_bench_conn *con
conn->r.in.server_name = talloc_asprintf(conn->tmp, "\\\\%s", dcerpc_server_name(conn->pipe));
conn->r.in.computer_name = cli_credentials_get_workstation(conn->wks_creds);
- conn->r.in.logon_level = 2;
+ conn->r.in.logon_level = NetlogonNetworkInformation;
conn->r.in.logon = talloc(conn->tmp, union netr_LogonLevel);
conn->r.in.logon->network = &conn->ninfo;
conn->r.in.flags = talloc(conn->tmp, uint32_t);