summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-03-14 10:47:41 +0100
committerSimo Sorce <idra@samba.org>2011-03-23 17:19:22 +0100
commit3766f3ec0e495277c79df8eb8918cb739bc14358 (patch)
tree9626c0bdfd904c3ffb69dd0039db6d5be85d4b99
parent177df3c25b455d616e922853eef3d52dae739077 (diff)
downloadsamba-3766f3ec0e495277c79df8eb8918cb739bc14358.tar.gz
samba-3766f3ec0e495277c79df8eb8918cb739bc14358.tar.bz2
samba-3766f3ec0e495277c79df8eb8918cb739bc14358.zip
s3-rpc_server: Rename system_user to ncalrpc_as_system.
-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,