Hi, How does one figure out if the OemDomainName in an SMB_COM_NEGOTIATE response is in Unicode or in Ascii.
Way back on May 25, 2001, there was a post from Michael Allen on OemDomainName in an SMB_COM_NEGOTIATE response (reproduced below). I cannot see any response to that post and the puzzle remains. Regards, Raghu ------------------------------------------------------------------ Michael B. Allen [EMAIL PROTECTED] Fri, 25 May 2001 02:31:01 -0400 Previous message: sendfile() in samba? Next message: psos Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ------------------------------------------------------------------------ -------- Isn't OemDomainName in an SMB_COM_NEGOTIATE response *always* in Unicode? For some reason I just noticed that Samba does not return this field in Unicode but rather ASCII. I know this is a "bug" in the Windows servers but considering they all do it is there a particular reason why Samba deviates from this behavior? --