[cvsnt] Crash on Win32 with long domainname

Tony Hoyle tmh at nodomain.org
Fri Jan 23 18:31:16 GMT 2004

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

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)

I'll have a look at it ASAP.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook