summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ntdomain.h2
-rw-r--r--source3/rpc_server/rpc_server.c4
-rw-r--r--source3/rpc_server/srv_pipe.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index ac06b25c12..2eece8303e 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -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.
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c
index 974ecee007..9f88531a98 100644
--- a/source3/rpc_server/rpc_server.c
+++ b/source3/rpc_server/rpc_server.c
@@ -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) {
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 234422c8d6..8aa89a3bcc 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -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,