[Samba] smbclient, DFS and not_defined_in_RFC4178 [samba 3.4.7 and windows 2003 sp2 AND 2008 sp2]

Jeremy Allison jra at samba.org
Tue Oct 26 11:06:04 MDT 2010


On Tue, Oct 26, 2010 at 12:51:01PM +0200, Assarsson, Emil wrote:
> Hi all,
> 
> I'm trying to use DFS. Using smbclient 3.4.7 (distributed with Lucid) and windows servers with both 2008sp2 and 2003sp2.
> 
> Smbclient successfully lookups up our DCC's. If the first in the DNS reply is a 2003 server it works but if I get a 2008 it doesn't.
> The main differences is that I get a "not_defined_in_RFC4178 at please_ignore" principal in the SMB Negotiate Protocol Response from a 2008.
> >From a 2003 I get the NetBIOS name.
> 
> The result is that 50% of the time I use smbclient it failes.
> 
> Do anyone have a solution for this?

Yes, this is fixed in 3.5.x, we try and guess the
correct name inside libsmb/cliconnect.c in 3.5.x.

Jeremy.


More information about the samba mailing list