Commit e6351700 authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

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.
parent b40a406d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment