OemDomainName in Negotiate Protocol Repsonse

Richard Sharpe rsharpe at ns.aus.com
Fri Jul 19 10:31:02 GMT 2002


On Fri, 19 Jul 2002, Raghu Iyer wrote:

> I have attached a packet trace between two NT4.0 machines
> that shows a NegProt Response (packet #7) where the flags2 bit
> does not say Unicode, yet the oemdomainname field is in UNICODE.
> Additional packets are included to show the machine identity.

Can you elaborate on what you think the problem is? In my traces, Samba 
responds in UNICODE. 

So if Samba does the same as Windows NT/2K, where's the problem?
 
> Going strictly by flag2 bit, does not appear definitive.
> Should one consider an OR of flags2 bit and Capabilities field bit
> that says Server accepts UNICODE ?
> 
> Regards,
> Raghu 
> 
> 
> -----Original Message-----
> From: Richard Sharpe [mailto:rsharpe at ns.aus.com]
> Sent: Friday, July 19, 2002 9:58 PM
> To: Raghu Iyer
> Cc: samba-technical at samba.org; mballen at erols.com
> Subject: Re: OemDomainName in Negotiate Protocol Repsonse
> 
> 
> 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