secur32: Update ntlm_auth version detection to detect new samba4
version numbers
Kai Blin
kai.blin at gmail.com
Thu Mar 16 05:45:17 CST 2006
Samba4 changed the versioning from 3.9.X to 4.0.0tpX-preY.
Updated dispatcher to honor that change.
ChangeLog:
Kai Blin <kai.blin at gmail.com>
Update ntlm_auth version detection to detect new samba4 version numbers
---
dlls/secur32/dispatcher.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
Kai Blin, <kai Dot blin At gmail Dot com>
WorldForge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin/
--
Will code for cotton.
-------------- next part --------------
fd9824613bff95a85249735be15711e3067983df
diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c
index 66f9c6f..367aebc 100644
--- a/dlls/secur32/dispatcher.c
+++ b/dlls/secur32/dispatcher.c
@@ -290,11 +290,11 @@ void check_version(PNegoHelper helper)
temp[len] = 0;
TRACE("Exact version is %s\n", debugstr_a(temp));
- if(strncmp(temp+8, "3.9", 3) == 0)
+ if(strncmp(temp+8, "4", 1) == 0)
{
helper->version = 4;
}
- else if(strncmp(temp+8, "3.0", 3) == 0)
+ else if(strncmp(temp+8, "3", 1) == 0)
{
helper->version = 3;
}
--
1.2.4
More information about the wine-patches
mailing list