OemDomainName in Negotiate Protocol Repsonse

Richard Sharpe rsharpe at ns.aus.com
Fri Jul 19 08:17:02 GMT 2002


On Fri, 19 Jul 2002, Raghu Iyer wrote:

> Hi,
> 
> How does one figure out if the OemDomainName in an 
> SMB_COM_NEGOTIATE response is in Unicode or in Ascii.

Perhaps you look in the bit in flags 2 that says whether or not you are 
using UNICODE. When I get to work I can look at my collection of captures 
to see if this looks like the case.
 
> 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 mballen at erols.com 
> 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?
> 
> 

-- 
Regards
-----
Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org, 
sharpe at ethereal.com





More information about the samba-technical mailing list