s3-rpc_server: Rename system_user to ncalrpc_as_system.
authorAndreas Schneider <asn@samba.org>
Mon, 14 Mar 2011 09:47:41 +0000 (10:47 +0100)
committerSimo Sorce <idra@samba.org>
Wed, 23 Mar 2011 16:19:22 +0000 (17:19 +0100)
source3/include/ntdomain.h
source3/rpc_server/rpc_server.c
source3/rpc_server/srv_pipe.c

index ac06b25c12f177be1f05ac46686cc5668862098d..2eece8303e300b1f5bcabe7c3f9aca50e499bffa 100644 (file)
@@ -134,7 +134,7 @@ struct pipes_struct {
 
        struct pipe_auth_data auth;
 
-       bool system_user;
+       bool ncalrpc_as_system;
 
        /*
         * Set to true when an RPC bind has been done on this pipe.
index 974ecee00732738840506b14d7c13b95f0819382..9f88531a98329c0b071bd01d98227de5b1809742 100644 (file)
@@ -77,7 +77,7 @@ static int make_server_pipes_struct(TALLOC_CTX *mem_ctx,
                                    const char *pipe_name,
                                    const struct ndr_syntax_id id,
                                    enum dcerpc_transport_t transport,
-                                   bool system_user,
+                                   bool ncalrpc_as_system,
                                    const char *client_address,
                                    const char *server_address,
                                    struct auth_session_info_transport *session_info,
@@ -97,7 +97,7 @@ static int make_server_pipes_struct(TALLOC_CTX *mem_ctx,
        }
        p->syntax = id;
        p->transport = transport;
-       p->system_user = system_user;
+       p->ncalrpc_as_system = ncalrpc_as_system;
 
        p->mem_ctx = talloc_named(p, 0, "pipe %s %p", pipe_name, p);
        if (!p->mem_ctx) {
index 234422c8d6618dba339092f8eec2717c30e20932..8aa89a3bcc0e9a334f47944d7a51eb10825f4b5f 100644 (file)
@@ -1030,7 +1030,7 @@ static bool api_pipe_bind_req(struct pipes_struct *p,
                        break;
 
                case DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM:
-                       if (p->transport == NCALRPC && p->system_user) {
+                       if (p->transport == NCALRPC && p->ncalrpc_as_system) {
                                TALLOC_FREE(p->session_info);
 
                                status = make_session_info_system(p,