diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-04-23 14:45:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-04-24 11:21:05 +0200 |
commit | 6a5cd1857f6f237f27cec116a041989fb0ddea2c (patch) | |
tree | c4cb206315023ac3b80346f0ae4b598722a466f2 /source3/librpc | |
parent | 8729d990a32aa2bd59ef176e33ce3966c0f98f9f (diff) | |
download | samba-6a5cd1857f6f237f27cec116a041989fb0ddea2c.tar.gz |
s3:rpc_client: Use gensec for NCALRPC_AS_SYSTEM.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/rpc/dcerpc_helpers.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/librpc/rpc/dcerpc_helpers.c b/source3/librpc/rpc/dcerpc_helpers.c index f95f46670ee..62358d5ec5c 100644 --- a/source3/librpc/rpc/dcerpc_helpers.c +++ b/source3/librpc/rpc/dcerpc_helpers.c @@ -428,8 +428,7 @@ NTSTATUS dcerpc_add_auth_footer(struct pipe_auth_data *auth, DATA_BLOB auth_blob; NTSTATUS status; - if (auth->auth_type == DCERPC_AUTH_TYPE_NONE || - auth->auth_type == DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM) { + if (auth->auth_type == DCERPC_AUTH_TYPE_NONE) { return NT_STATUS_OK; } @@ -467,7 +466,6 @@ NTSTATUS dcerpc_add_auth_footer(struct pipe_auth_data *auth, /* Generate any auth sign/seal and add the auth footer. */ switch (auth->auth_type) { case DCERPC_AUTH_TYPE_NONE: - case DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM: status = NT_STATUS_OK; break; default: @@ -564,7 +562,6 @@ NTSTATUS dcerpc_check_auth(struct pipe_auth_data *auth, switch (auth->auth_type) { case DCERPC_AUTH_TYPE_NONE: - case DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM: return NT_STATUS_OK; default: |