summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-15 06:36:44 +0200
committerGünther Deschner <gd@samba.org>2009-09-15 17:49:43 +0200
commit7b36ea55ea542d5a7f293359a12c441e3e9ba0c6 (patch)
treeb62502a98bc4a42643c36907841c2a87cdffb938 /source3/rpc_server
parentd3af0346c87390b72f6f1708019c7cd055ae047d (diff)
downloadsamba-7b36ea55ea542d5a7f293359a12c441e3e9ba0c6.tar.gz
samba-7b36ea55ea542d5a7f293359a12c441e3e9ba0c6.tar.bz2
samba-7b36ea55ea542d5a7f293359a12c441e3e9ba0c6.zip
s3-dcerpc: remove duplicate RPC_AUTH_LEVEL flags.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index fee37ba6e3..257094e35f 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -197,9 +197,9 @@ static bool create_next_pdu_ntlmssp(pipes_struct *p)
auth_type = RPC_SPNEGO_AUTH_TYPE;
}
if (p->auth.auth_level == DCERPC_AUTH_LEVEL_PRIVACY) {
- auth_level = RPC_AUTH_LEVEL_PRIVACY;
+ auth_level = DCERPC_AUTH_LEVEL_PRIVACY;
} else {
- auth_level = RPC_AUTH_LEVEL_INTEGRITY;
+ auth_level = DCERPC_AUTH_LEVEL_INTEGRITY;
}
init_rpc_hdr_auth(&auth_info, auth_type, auth_level, ss_padding_len, 1 /* context id. */);
@@ -416,7 +416,7 @@ static bool create_next_pdu_schannel(pipes_struct *p)
init_rpc_hdr_auth(&auth_info,
RPC_SCHANNEL_AUTH_TYPE,
p->auth.auth_level == DCERPC_AUTH_LEVEL_PRIVACY ?
- RPC_AUTH_LEVEL_PRIVACY : RPC_AUTH_LEVEL_INTEGRITY,
+ DCERPC_AUTH_LEVEL_PRIVACY : DCERPC_AUTH_LEVEL_INTEGRITY,
ss_padding_len, 1);
if(!smb_io_rpc_hdr_auth("hdr_auth", &auth_info,
@@ -1689,10 +1689,10 @@ bool api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
/* Work out if we have to sign or seal etc. */
switch (auth_info.auth_level) {
- case RPC_AUTH_LEVEL_INTEGRITY:
+ case DCERPC_AUTH_LEVEL_INTEGRITY:
p->auth.auth_level = DCERPC_AUTH_LEVEL_INTEGRITY;
break;
- case RPC_AUTH_LEVEL_PRIVACY:
+ case DCERPC_AUTH_LEVEL_PRIVACY:
p->auth.auth_level = DCERPC_AUTH_LEVEL_PRIVACY;
break;
default: