Re: Trusted authentication with TDS 7.3 fails

Sergio NNX <[email protected]> Tue, 7 Feb 2017 11:36:49 +0000
Newsgroups gmane.comp.db.tds.freetds
Message-ID <DM5PR17MB11141E5415C49361BF93EBC2CC430@DM5PR17MB1114.namprd17.prod.outlook.com>
> But I guess, that SSPI is generic API which can support various
> providers, so packet data structure/length depends on provider
> (authentification mechanism) used.


I haven't looked at the code, but ...  is it the min value the code needs? Apparently, it should be 12 bytes for NTLMv1.


> Question is mainly if I should remove the check or which number to put. Maybe 1 ?


I do not know much about the internals of SSPI, but I wouldn't remove the check .