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
2705f791
Commit
2705f791
authored
Nov 16, 2022
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msv1_0: Drop the ntlm_auth version check.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53932
parent
07cb943d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
unixlib.c
dlls/msv1_0/unixlib.c
+3
-19
No files found.
dlls/msv1_0/unixlib.c
View file @
2705f791
...
...
@@ -205,10 +205,6 @@ static NTSTATUS ntlm_fork( void *args )
return
SEC_E_OK
;
}
#define NTLM_AUTH_MAJOR_VERSION 3
#define NTLM_AUTH_MINOR_VERSION 0
#define NTLM_AUTH_MICRO_VERSION 25
static
NTSTATUS
ntlm_check_version
(
void
*
args
)
{
struct
ntlm_ctx
ctx
=
{
0
};
...
...
@@ -225,28 +221,16 @@ static NTSTATUS ntlm_check_version( void *args )
if
((
len
=
read
(
ctx
.
pipe_in
,
buf
,
sizeof
(
buf
)
-
1
))
>
8
)
{
char
*
newline
;
int
major
=
0
,
minor
=
0
,
micro
=
0
;
if
((
newline
=
memchr
(
buf
,
'\n'
,
len
)))
*
newline
=
0
;
else
buf
[
len
]
=
0
;
if
(
sscanf
(
buf
,
"Version %d.%d.%d"
,
&
major
,
&
minor
,
&
micro
)
==
3
)
{
if
(((
major
>
NTLM_AUTH_MAJOR_VERSION
)
||
(
major
==
NTLM_AUTH_MAJOR_VERSION
&&
minor
>
NTLM_AUTH_MINOR_VERSION
)
||
(
major
==
NTLM_AUTH_MAJOR_VERSION
&&
minor
==
NTLM_AUTH_MINOR_VERSION
&&
micro
>=
NTLM_AUTH_MICRO_VERSION
)))
{
TRACE
(
"detected ntlm_auth version %d.%d.%d
\n
"
,
major
,
minor
,
micro
);
TRACE
(
"detected ntlm_auth version %s
\n
"
,
debugstr_a
(
buf
)
);
status
=
STATUS_SUCCESS
;
}
}
}
if
(
status
)
ERR_
(
winediag
)(
"ntlm_auth was not found or is outdated. "
"Make sure that ntlm_auth >= %d.%d.%d is in your path. "
"Usually, you can find it in the winbind package of your distribution.
\n
"
,
NTLM_AUTH_MAJOR_VERSION
,
NTLM_AUTH_MINOR_VERSION
,
NTLM_AUTH_MICRO_VERSION
);
if
(
status
)
ERR_
(
winediag
)(
"ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. "
"Usually, you can find it in the winbind package of your distribution.
\n
"
);
ntlm_cleanup
(
&
ctx
);
return
status
;
}
...
...
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