r19218: With the new RPC server infrastructure all backend functions are filled, at
authorVolker Lendecke <vlendec@samba.org>
Tue, 10 Oct 2006 07:37:03 +0000 (07:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:22 +0000 (12:15 -0500)
least with dummy routines. We need a way to indicate that we do not support a
call, so that srv_pipe_hnd.c can return the DCE level RNG_ERROR.

This flag can be set in the backend routines for this one. I'll change pidl to
generate code to "return False" in srv_lsa.c if this flag is set.

Volker
(This used to be commit 5260657664caf9546d324a81c392f0d9e8532d58)

source3/include/ntdomain.h

index 0114df0e2d0ed7be149388fa5b64f8d7a7da2190..2108520b157f4b31bc9a62cd5334b06c37d954d4 100644 (file)
@@ -257,6 +257,12 @@ typedef struct pipes_struct {
         */
 
        BOOL bad_handle_fault_state;
+
+       /*
+        * Set to true when the backend does not support a call.
+        */
+
+       BOOL rng_fault_state;
        
        /*
         * Set to RPC_BIG_ENDIAN when dealing with big-endian PDU's