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
4cd5be26
Commit
4cd5be26
authored
May 18, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: A NULL AuthInfo is allowed.
Pass the server principal name into AcquireCredentialsHandleA.
parent
84e42e01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+1
-4
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
4cd5be26
...
...
@@ -1027,9 +1027,6 @@ RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrinc
TRACE
(
"%p %s %lu %lu %p %lu %p
\n
"
,
Binding
,
debugstr_a
((
const
char
*
)
ServerPrincName
),
AuthnLevel
,
AuthnSvc
,
AuthIdentity
,
AuthzSvr
,
SecurityQos
);
if
(
!
AuthIdentity
)
return
RPC_S_INVALID_AUTH_IDENTITY
;
if
(
AuthnLevel
!=
RPC_C_AUTHN_LEVEL_CONNECT
)
{
FIXME
(
"unsupported AuthnLevel %lu
\n
"
,
AuthnLevel
);
...
...
@@ -1064,7 +1061,7 @@ RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrinc
}
TRACE
(
"found package %s for service %ld
\n
"
,
packages
[
i
].
Name
,
AuthnSvc
);
r
=
AcquireCredentialsHandleA
(
NULL
,
packages
[
i
].
Name
,
SECPKG_CRED_OUTBOUND
,
NULL
,
r
=
AcquireCredentialsHandleA
(
(
SEC_CHAR
*
)
ServerPrincName
,
packages
[
i
].
Name
,
SECPKG_CRED_OUTBOUND
,
NULL
,
AuthIdentity
,
NULL
,
NULL
,
&
cred
,
&
exp
);
FreeContextBuffer
(
packages
);
if
(
r
==
ERROR_SUCCESS
)
...
...
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