[cvsnt] Crash on Win32 with long domainname
Tony Hoyle
tmh at nodomain.org
Fri Jan 23 18:31:16 GMT 2004
James Ogden wrote:
> BreakNameIntoParts allocates DNLEN+1 characters for the domain name, DNLEN
> is defined in (mssdk) lmcons.h as 15, being the maximum domain name length for
> Lanman 2. I believe this is outdated - the code in isDomainMember uses
> LsaQueryInformationPolicy to retrieve the DNS name of the domain, which can
> (if memory serves) be up to 255 characters. (Ours is 17 chars)
>
Ouch.
I'll have a look at it ASAP.
Tony
More information about the cvsnt
mailing list