From 82306753e26558d8fd6c1452bfa08ec9b361fba9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 15 May 2004 12:04:07 +0000 Subject: r745: Move netr_ServerPasswordSet up with the other secure channel management functions, and make sure to include the fault until this is no longer a stub. Andrew Bartlett (This used to be commit b886cb65f8d7b8b9f587d8a22d830938d4c6eb3e) --- source4/rpc_server/netlogon/dcerpc_netlogon.c | 36 ++++++++++++++++++--------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 0c78ed1864..87945ffef0 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -297,6 +297,30 @@ static NTSTATUS netr_ServerAuthenticate2(struct dcesrv_call_state *dce_call, TAL r->out.negotiate_flags); } +/* + netr_ServerPasswordSet + + NTSTATUS netr_ServerPasswordSet( + [in] unistr *server_name, + [in] unistr username, + [in] uint16 secure_channel_type, + [in] unistr computer_name, + [in] netr_Authenticator credential, + [in] netr_Password new_password, + [out] netr_Authenticator return_authenticator + ); + +*/ +static NTSTATUS netr_ServerPasswordSet(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct netr_ServerPasswordSet *r) +{ + + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); + + +} + + /* netr_LogonUasLogon */ @@ -341,18 +365,6 @@ static NTSTATUS netr_LogonSamLogoff(struct dcesrv_call_state *dce_call, TALLOC_C -/* - netr_ServerPasswordSet -*/ -static NTSTATUS netr_ServerPasswordSet(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, - struct netr_ServerPasswordSet *r) -{ - - - -} - - /* netr_DatabaseDeltas */ -- cgit