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
e987ec42
Commit
e987ec42
authored
Nov 07, 2009
by
Kai Blin
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Use empty credentials when cached creds fail.
parent
a61044b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
ntlm.c
dlls/secur32/ntlm.c
+1
-2
ntlm.c
dlls/secur32/tests/ntlm.c
+0
-1
No files found.
dlls/secur32/ntlm.c
View file @
e987ec42
...
@@ -659,8 +659,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
...
@@ -659,8 +659,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
if
(
!
strncmp
(
buffer
,
"PW"
,
2
))
if
(
!
strncmp
(
buffer
,
"PW"
,
2
))
{
{
TRACE
(
"Using cached credentials failed.
\n
"
);
TRACE
(
"Using cached credentials failed.
\n
"
);
ret
=
SEC_E_NO_CREDENTIALS
;
lstrcpynA
(
buffer
,
"PW AA=="
,
max_len
-
1
);
goto
isc_end
;
}
}
else
/* Just do a noop on the next run */
else
/* Just do a noop on the next run */
lstrcpynA
(
buffer
,
"OK"
,
max_len
-
1
);
lstrcpynA
(
buffer
,
"OK"
,
max_len
-
1
);
...
...
dlls/secur32/tests/ntlm.c
View file @
e987ec42
...
@@ -1309,7 +1309,6 @@ static void test_null_auth_data(void)
...
@@ -1309,7 +1309,6 @@ static void test_null_auth_data(void)
status
=
pInitializeSecurityContextA
(
&
cred
,
NULL
,
(
SEC_CHAR
*
)
user
,
status
=
pInitializeSecurityContextA
(
&
cred
,
NULL
,
(
SEC_CHAR
*
)
user
,
ISC_REQ_CONNECTION
,
0
,
SECURITY_NETWORK_DREP
,
ISC_REQ_CONNECTION
,
0
,
SECURITY_NETWORK_DREP
,
NULL
,
0
,
&
ctx
,
&
buffer_desc
,
&
attr
,
&
ttl
);
NULL
,
0
,
&
ctx
,
&
buffer_desc
,
&
attr
,
&
ttl
);
todo_wine
ok
(
status
==
SEC_I_CONTINUE_NEEDED
,
"InitializeSecurityContextA failed %s
\n
"
,
getSecError
(
status
));
ok
(
status
==
SEC_I_CONTINUE_NEEDED
,
"InitializeSecurityContextA failed %s
\n
"
,
getSecError
(
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