projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d810a5
)
Server/Shadow: Fix Authentication in shadow_client.c.
author
zihao.jiang
<zihao.jiang@yahoo.com>
Fri, 2 Oct 2015 08:09:12 +0000
(16:09 +0800)
committer
zihao.jiang
<zihao.jiang@yahoo.com>
Mon, 5 Oct 2015 14:34:58 +0000
(22:34 +0800)
Currently if username or password is not set, the authentication is always failed because the authentication callback is never tried.
Fix to always give a chance to try the subsystem authentication callback even if username / password is not set.
server/shadow/shadow_client.c
patch
|
blob
|
history
diff --git
a/server/shadow/shadow_client.c
b/server/shadow/shadow_client.c
index
fc141fb
..
258ba35
100644
(file)
--- a/
server/shadow/shadow_client.c
+++ b/
server/shadow/shadow_client.c
@@
-239,7
+239,7
@@
BOOL shadow_client_post_connect(freerdp_peer* peer)
if (settings->Username && settings->Password)
settings->AutoLogonEnabled = TRUE;
- if (se
ttings->AutoLogonEnabled && se
rver->authentication)
+ if (server->authentication)
{
if (subsystem->Authenticate)
{