From e6351700bc0e3e412f9cccb15106e671874fbb50 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 16 Mar 2006 12:45:17 +0100 Subject: [PATCH] secur32: Update ntlm_auth version detection to detect new samba4 version numbers. Samba4 changed the versioning from 3.9.X to 4.0.0tpX-preY. --- dlls/secur32/dispatcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c index 66f9c6fb7f..367aebc2a9 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; }