diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-02-21 00:07:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:58 -0500 |
commit | 9d1954c25d646c46daa38c3f96f4c4029b9bb417 (patch) | |
tree | cf7c42a24e88ba091d9a1f5bf2d460cf45f62790 /source4/torture/rpc/samsync.c | |
parent | eefb44079160b66dc69f63a0d9bae955bcb6acc9 (diff) | |
download | samba-9d1954c25d646c46daa38c3f96f4c4029b9bb417.tar.gz samba-9d1954c25d646c46daa38c3f96f4c4029b9bb417.tar.bz2 samba-9d1954c25d646c46daa38c3f96f4c4029b9bb417.zip |
r13583: Realise that the member server name appears in all calls that use the
credentials.
Consistantly rename these elements in the IDL to computer_name.
Fix the server-side code to always lookup by this name.
Add new, even nastier tests to RPC-SCHANNEL to prove this.
Andrew Bartlett
(This used to be commit 341a0abeb4a9f88d64ffd4681249cb1f643a7a5a)
Diffstat (limited to 'source4/torture/rpc/samsync.c')
-rw-r--r-- | source4/torture/rpc/samsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index afa47e5932..f0f19f0818 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -77,7 +77,7 @@ static NTSTATUS test_SamLogon(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, } r.in.server_name = talloc_asprintf(mem_ctx, "\\\\%s", dcerpc_server_name(p)); - r.in.workstation = workstation; + r.in.computer_name = workstation; r.in.credential = &auth; r.in.return_authenticator = &auth2; r.in.logon_level = 2; |