summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-03-21 09:29:14 +0100
committerSimo Sorce <idra@samba.org>2011-03-23 17:19:22 +0100
commitda718a5961c3404435f9bc64bebabb71b53455eb (patch)
tree6f214c1fa1d4239673f27e431874dd39b68458fc /source3
parent3766f3ec0e495277c79df8eb8918cb739bc14358 (diff)
downloadsamba-da718a5961c3404435f9bc64bebabb71b53455eb.tar.gz
samba-da718a5961c3404435f9bc64bebabb71b53455eb.tar.bz2
samba-da718a5961c3404435f9bc64bebabb71b53455eb.zip
s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc.
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c2
-rw-r--r--source3/rpc_server/srv_pipe.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 0109bdae72..99405d3635 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2262,7 +2262,7 @@ NTSTATUS rpccli_ncalrpc_bind_data(TALLOC_CTX *mem_ctx,
}
result->auth_type = DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM;
- result->auth_level = DCERPC_AUTH_LEVEL_NONE;
+ result->auth_level = DCERPC_AUTH_LEVEL_CONNECT;
result->user_name = talloc_strdup(result, "");
result->domain = talloc_strdup(result, "");
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 8aa89a3bcc..27d7f60924 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -987,9 +987,6 @@ static bool api_pipe_bind_req(struct pipes_struct *p,
case DCERPC_AUTH_LEVEL_PRIVACY:
p->auth.auth_level = DCERPC_AUTH_LEVEL_PRIVACY;
break;
- case DCERPC_AUTH_LEVEL_NONE:
- p->auth.auth_level = DCERPC_AUTH_LEVEL_NONE;
- break;
case DCERPC_AUTH_LEVEL_CONNECT:
p->auth.auth_level = DCERPC_AUTH_LEVEL_CONNECT;
break;