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
519f5cc2
Commit
519f5cc2
authored
Aug 01, 2023
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Add a better stub for LsaApCallPackageUntrusted(NegGetCallerName).
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
021547ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
lsa.c
dlls/secur32/lsa.c
+5
-1
negotiate.c
dlls/secur32/negotiate.c
+14
-0
No files found.
dlls/secur32/lsa.c
View file @
519f5cc2
...
...
@@ -98,6 +98,10 @@ NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE lsa_handle, ULONG package_id
TRACE
(
"%p,%lu,%p,%lu,%p,%p,%p
\n
"
,
lsa_handle
,
package_id
,
in_buffer
,
in_buffer_length
,
out_buffer
,
out_buffer_length
,
status
);
if
(
out_buffer
)
*
out_buffer
=
NULL
;
if
(
out_buffer_length
)
*
out_buffer_length
=
0
;
if
(
status
)
*
status
=
STATUS_SUCCESS
;
for
(
i
=
0
;
i
<
loaded_packages_count
;
i
++
)
{
if
(
loaded_packages
[
i
].
package_id
==
package_id
)
...
...
@@ -110,7 +114,7 @@ NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE lsa_handle, ULONG package_id
}
}
return
STATUS_
INVALID_PARAMETER
;
return
STATUS_
NO_SUCH_PACKAGE
;
}
static
struct
lsa_handle
*
alloc_lsa_handle
(
ULONG
magic
)
...
...
dlls/secur32/negotiate.c
View file @
519f5cc2
...
...
@@ -71,9 +71,23 @@ static WCHAR negotiate_comment_W[] =
static
NTSTATUS
NTAPI
nego_LsaApCallPackageUntrusted
(
PLSA_CLIENT_REQUEST
req
,
void
*
in_buf
,
void
*
client_buf_base
,
ULONG
in_buf_len
,
void
**
out_buf
,
ULONG
*
out_buf_len
,
NTSTATUS
*
ret_status
)
{
ULONG
*
MessageType
;
FIXME
(
"%p, %p, %p, %lu, %p, %p, %p: stub
\n
"
,
req
,
in_buf
,
client_buf_base
,
in_buf_len
,
out_buf
,
out_buf_len
,
ret_status
);
if
(
!
in_buf
||
in_buf_len
<
sizeof
(
*
MessageType
)
||
!
out_buf
||
!
out_buf_len
||
!
ret_status
)
return
STATUS_INVALID_PARAMETER
;
MessageType
=
in_buf
;
switch
(
*
MessageType
)
{
case
1
:
/* NegGetCallerName */
*
ret_status
=
STATUS_NO_SUCH_LOGON_SESSION
;
return
STATUS_SUCCESS
;
default:
return
SEC_E_UNSUPPORTED_FUNCTION
;
}
}
static
NTSTATUS
NTAPI
nego_LsaApInitializePackage
(
ULONG
package_id
,
PLSA_DISPATCH_TABLE
dispatch
,
...
...
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