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

Michael Adam obnox at samba.org
Wed Feb 27 16:38:01 MST 2013


Original patch pushed to master.
Let's improve on top.

Cheers - Michael

On 2013-02-27 at 15:23 -0800, Jeremy Allison wrote:
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130228/4162f9da/attachment.pgp>


More information about the samba-technical mailing list