Ignore:
Timestamp:
Jul 26, 2016, 11:29:20 AM (9 years ago)
Author:
Paul Smedley
Message:

Add support to enable NTLMv1 authentication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-3.0/src/ndpsmb.c

    r930 r931  
    111111        {ND_PROP_ULONG, 0, "EASUPPORT", "1"},
    112112        {ND_PROP_ULONG, 0, "KRB5SUPPORT", "0"},
     113        {ND_PROP_ULONG, 0, "NTLMv1SUPPORT", "0"},
    113114        {ND_PROP_STRING, 0, NULL, NULL}
    114115};
     
    366367        pRes->easupport = 1;
    367368        pRes->krb5support = 0;
     369        pRes->ntlmv1support = 0;
    368370        pRes->pdc = NULL;
    369371
     
    483485                }
    484486        }
     487        t = 0;
     488        rc = ph->fsphQueryUlongProperty (properties, "NTLMv1SUPPORT", &t);
     489        if (!rc)
     490        {
     491                if (t > 1)
     492                {
     493                        rc = ERROR_INVALID_PARAMETER;
     494                }
     495                else
     496                {
     497                        pRes->ntlmv1support = t;
     498                }
     499        }
     500
    485501        t = 0;
    486502        rc = ph->fsphQueryUlongProperty (properties, "CTO", &t);
Note: See TracChangeset for help on using the changeset viewer.