diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-19 22:09:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:15 -0500 |
commit | 0d7d5a6d492253f184ac58fe45ca22af5a3731de (patch) | |
tree | 1cb174956e135e6a21e577d01abe7e298f31980f /source4/torture | |
parent | f14bd1a90ab47a418c0ec2492990a417a0bb3bf6 (diff) | |
download | samba-0d7d5a6d492253f184ac58fe45ca22af5a3731de.tar.gz samba-0d7d5a6d492253f184ac58fe45ca22af5a3731de.tar.bz2 samba-0d7d5a6d492253f184ac58fe45ca22af5a3731de.zip |
r24560: rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samlogon.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index b01c911979..d2998f5f34 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -146,7 +146,7 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, } switch (samlogon_state->function_level) { - case DCERPC_NETR_LOGONSAMLOGON: + case NDR_NETR_LOGONSAMLOGON: ZERO_STRUCT(samlogon_state->auth2); creds_client_authenticator(samlogon_state->creds, &samlogon_state->auth); @@ -179,7 +179,7 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, break; } break; - case DCERPC_NETR_LOGONSAMLOGONEX: + case NDR_NETR_LOGONSAMLOGONEX: status = dcerpc_netr_LogonSamLogonEx(samlogon_state->p, samlogon_state->mem_ctx, r_ex); if (!NT_STATUS_IS_OK(status)) { if (error_string) { @@ -204,7 +204,7 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, break; } break; - case DCERPC_NETR_LOGONSAMLOGONWITHFLAGS: + case NDR_NETR_LOGONSAMLOGONWITHFLAGS: ZERO_STRUCT(samlogon_state->auth2); creds_client_authenticator(samlogon_state->creds, &samlogon_state->auth); @@ -1320,9 +1320,9 @@ static BOOL test_SamLogon(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, int validation_levels[] = {2,3,6}; int logon_levels[] = { 2, 6 }; int function_levels[] = { - DCERPC_NETR_LOGONSAMLOGON, - DCERPC_NETR_LOGONSAMLOGONEX, - DCERPC_NETR_LOGONSAMLOGONWITHFLAGS }; + NDR_NETR_LOGONSAMLOGON, + NDR_NETR_LOGONSAMLOGONEX, + NDR_NETR_LOGONSAMLOGONWITHFLAGS }; struct samlogon_state samlogon_state; d_printf("testing netr_LogonSamLogon and netr_LogonSamLogonWithFlags\n"); @@ -1594,7 +1594,7 @@ BOOL torture_rpc_samlogon(struct torture_context *torture) b->flags |= DCERPC_SCHANNEL | DCERPC_SIGN | DCERPC_SCHANNEL_128; status = dcerpc_pipe_connect_b(mem_ctx, &p, b, - &ndr_table_netlogon, + &ndr_table_netlogon, machine_credentials, NULL); if (!NT_STATUS_IS_OK(status)) { |