Fix bug #9039 'map untrusted to domain' treats WORKSTATION as bogus domain.
authorDaniel Kobras <d.kobras@science-computing.de>
Sat, 23 Feb 2013 00:24:26 +0000 (16:24 -0800)
committerMichael Adam <obnox@samba.org>
Wed, 27 Feb 2013 23:10:48 +0000 (00:10 +0100)
commit3630ea12034ac17c1498ee2f81eb4788c0305782
tree9abdbd633e5d1025a4e5243b03dc1780b41077e8
parenta125ebe9a5f3b9801b99bdffd12d565fc6fdcf07
Fix bug #9039 'map untrusted to domain' treats WORKSTATION as bogus domain.

s3: never try to map global SAM name

Do not treat the global SAM name as a BOGUS domain, and exempt
local users from mapping, instead. This change reinstates the
exact mapping behaviour of Samba 3.2 if parameter 'map untrusted
to domain' is set.

Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/auth/auth_util.c