[PATCH] Fix bug #9039 'map untrusted to domain' treats WORKSTATION as bogus domain.

Jeremy Allison jra at samba.org
Wed Feb 27 16:23:02 MST 2013


On Thu, Feb 28, 2013 at 10:15:24AM +1100, Andrew Bartlett wrote:
> 
> Jeremy,
> 
> So, putting aside the point about checking the trusted domains with the
> DC, or trying to use our list, it is entirely reasonable that we should
> NEVER ask a DC about one of our own names.  
> 
> However, both my_sam_name and get_global_sam_name() seems wrong -
> shouldn't we be checking the full list of netbios aliases?  Otherwise,
> don't we end up back where we were, just on an alias, rather than on the
> netbios name?

Sounds right, but wasn't raised in the bug report (so I'm
guessing no one ran into it yet). If you want to add an
additional patch on top I'm happy to review.

Cheers,

	Jeremy


More information about the samba-technical mailing list