r745: Move netr_ServerPasswordSet up with the other secure channel
authorAndrew Bartlett <abartlet@samba.org>
Sat, 15 May 2004 12:04:07 +0000 (12:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:53:46 +0000 (12:53 -0500)
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

index 0c78ed18640752f9371dec5a7c9d7663563ebfa5..87945ffef07ea100b985b0fc236dbdd1378670f6 100644 (file)
@@ -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 
 */