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
8df04798
Commit
8df04798
authored
Apr 12, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Also recognize samba4 failure message if ntlm_auth could not connect to winbindd.
parent
ab5db464
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ntlm.c
dlls/secur32/ntlm.c
+6
-4
No files found.
dlls/secur32/ntlm.c
View file @
8df04798
...
@@ -1226,11 +1226,13 @@ SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext(
...
@@ -1226,11 +1226,13 @@ SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext(
}
}
else
else
{
{
size_t
ntlm_pipe_err_len
=
strlen
(
"BH NT_STATUS_ACCESS_DENIED"
);
size_t
ntlm_pipe_err_v3_len
=
strlen
(
"BH NT_STATUS_ACCESS_DENIED"
);
size_t
ntlm_pipe_err_v4_len
=
strlen
(
"BH NT_STATUS_UNSUCCESSFUL"
);
if
(
(
buffer_len
>=
ntlm_pipe_err_len
)
&&
if
(
(
buffer_len
>=
ntlm_pipe_err_v3_len
&&
(
strncmp
(
buffer
,
"BH NT_STATUS_ACCESS_DENIED"
,
strncmp
(
buffer
,
"BH NT_STATUS_ACCESS_DENIED"
,
ntlm_pipe_err_v3_len
)
==
0
)
||
ntlm_pipe_err_len
)
==
0
))
(
buffer_len
>=
ntlm_pipe_err_v4_len
&&
strncmp
(
buffer
,
"BH NT_STATUS_UNSUCCESSFUL"
,
ntlm_pipe_err_v4_len
)
==
0
)
)
{
{
TRACE
(
"Connection to winbindd failed
\n
"
);
TRACE
(
"Connection to winbindd failed
\n
"
);
ret
=
SEC_E_LOGON_DENIED
;
ret
=
SEC_E_LOGON_DENIED
;
...
...
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