Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
533419cb
Commit
533419cb
authored
Jun 23, 2008
by
Kai Blin
Committed by
Alexandre Julliard
Jun 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Ignore the AuthzSvr parameter for RPC_C_AUTHN_WINNT.
parent
a3bd1f86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+4
-2
rpc.c
dlls/rpcrt4/tests/rpc.c
+4
-0
rpcdce.h
include/rpcdce.h
+5
-0
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
533419cb
...
...
@@ -1404,7 +1404,8 @@ RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName,
return
RPC_S_UNKNOWN_AUTHN_LEVEL
;
}
if
(
AuthzSvr
)
/* RPC_C_AUTHN_WINNT ignores the AuthzSvr parameter */
if
(
AuthzSvr
&&
AuthnSvc
!=
RPC_C_AUTHN_WINNT
)
{
FIXME
(
"unsupported AuthzSvr %u
\n
"
,
AuthzSvr
);
return
RPC_S_UNKNOWN_AUTHZ_SERVICE
;
...
...
@@ -1533,7 +1534,8 @@ RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName,
return
RPC_S_UNKNOWN_AUTHN_LEVEL
;
}
if
(
AuthzSvr
)
/* RPC_C_AUTHN_WINNT ignores the AuthzSvr parameter */
if
(
AuthzSvr
&&
AuthnSvc
!=
RPC_C_AUTHN_WINNT
)
{
FIXME
(
"unsupported AuthzSvr %u
\n
"
,
AuthzSvr
);
return
RPC_S_UNKNOWN_AUTHZ_SERVICE
;
...
...
dlls/rpcrt4/tests/rpc.c
View file @
533419cb
...
...
@@ -260,6 +260,10 @@ todo_wine {
ok
(
status
==
RPC_S_OK
,
"RpcBindingFromStringBinding failed (%lu)
\n
"
,
status
);
status
=
RpcBindingSetAuthInfo
(
IFoo_IfHandle
,
NULL
,
RPC_C_AUTHN_LEVEL_NONE
,
RPC_C_AUTHN_WINNT
,
NULL
,
RPC_C_AUTHZ_NAME
);
ok
(
status
==
RPC_S_OK
,
"RpcBindingSetAuthInfo failed (%lu)
\n
"
,
status
);
status
=
RpcMgmtStopServerListening
(
NULL
);
ok
(
status
==
RPC_S_OK
,
"RpcMgmtStopServerListening failed (%lu)
\n
"
,
status
);
...
...
include/rpcdce.h
View file @
533419cb
...
...
@@ -139,6 +139,11 @@ typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
#define RPC_C_AUTHN_MQ 100
#define RPC_C_AUTHN_DEFAULT 0xffffffff
#define RPC_C_AUTHZ_NONE 0
#define RPC_C_AUTHZ_NAME 1
#define RPC_C_AUTHZ_DCE 2
#define RPC_C_AUTHZ_DEFAULT 0xffffffff
/* values for RPC_SECURITY_QOS*::ImpersonationType */
#define RPC_C_IMP_LEVEL_DEFAULT 0
#define RPC_C_IMP_LEVEL_ANONYMOUS 1
...
...
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