diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-05-15 12:04:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:53:46 -0500 |
commit | 82306753e26558d8fd6c1452bfa08ec9b361fba9 (patch) | |
tree | d7be9fec3d13ab51611a3d8444ec6121010ca3d2 /source4/rpc_server | |
parent | 0fae321bc0bd7c03aaad59155946cc30bdf2350c (diff) | |
download | samba-82306753e26558d8fd6c1452bfa08ec9b361fba9.tar.gz samba-82306753e26558d8fd6c1452bfa08ec9b361fba9.tar.bz2 samba-82306753e26558d8fd6c1452bfa08ec9b361fba9.zip |
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)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 36 |
1 files 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 @@ -298,6 +298,30 @@ static NTSTATUS netr_ServerAuthenticate2(struct dcesrv_call_state *dce_call, TAL } /* + 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 */ static WERROR netr_LogonUasLogon(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, @@ -342,18 +366,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 */ static NTSTATUS netr_DatabaseDeltas(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, |