Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0debcf5b
Commit
0debcf5b
authored
Jan 19, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Handle security quality of service flags relevant to the ncacn_np protocol.
parent
4b79a025
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+26
-1
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
0debcf5b
...
@@ -162,8 +162,33 @@ static RPC_STATUS rpcrt4_conn_open_pipe(RpcConnection *Connection, LPCSTR pname,
...
@@ -162,8 +162,33 @@ static RPC_STATUS rpcrt4_conn_open_pipe(RpcConnection *Connection, LPCSTR pname,
TRACE
(
"connecting to %s
\n
"
,
pname
);
TRACE
(
"connecting to %s
\n
"
,
pname
);
while
(
TRUE
)
{
while
(
TRUE
)
{
DWORD
dwFlags
=
0
;
if
(
Connection
->
QOS
)
{
switch
(
Connection
->
QOS
->
qos
->
ImpersonationType
)
{
dwFlags
=
SECURITY_SQOS_PRESENT
;
case
RPC_C_IMP_LEVEL_DEFAULT
:
/* FIXME: what to do here? */
break
;
case
RPC_C_IMP_LEVEL_ANONYMOUS
:
dwFlags
|=
SECURITY_ANONYMOUS
;
break
;
case
RPC_C_IMP_LEVEL_IDENTIFY
:
dwFlags
|=
SECURITY_IDENTIFICATION
;
break
;
case
RPC_C_IMP_LEVEL_IMPERSONATE
:
dwFlags
|=
SECURITY_IMPERSONATION
;
break
;
case
RPC_C_IMP_LEVEL_DELEGATE
:
dwFlags
|=
SECURITY_DELEGATION
;
break
;
}
if
(
Connection
->
QOS
->
qos
->
IdentityTracking
==
RPC_C_QOS_IDENTIFY_DYNAMIC
)
dwFlags
|=
SECURITY_CONTEXT_TRACKING
;
}
pipe
=
CreateFileA
(
pname
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
pipe
=
CreateFileA
(
pname
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
OPEN_EXISTING
,
dwFlags
,
0
);
if
(
pipe
!=
INVALID_HANDLE_VALUE
)
break
;
if
(
pipe
!=
INVALID_HANDLE_VALUE
)
break
;
err
=
GetLastError
();
err
=
GetLastError
();
if
(
err
==
ERROR_PIPE_BUSY
)
{
if
(
err
==
ERROR_PIPE_BUSY
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment