Fix bug #9039 'map untrusted to domain' treats WORKSTATION as bogus domain.
commitb78f6d79704baeb6c11a5b6fd650fa9a4a3e049a
authorDaniel Kobras <d.kobras@science-computing.de>
Sat, 23 Feb 2013 00:24:26 +0000 (22 16:24 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Mar 2013 09:51:42 +0000 (14 10:51 +0100)
tree433c920e400ceba6e6b3069beb3da28c3d52faec
parentd5793f91d0cdc39b62242ecf1a3a726ec60040af
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>
(cherry picked from commit 180ef28a4874026740e3b5381fe4d25fb70167bf)
source3/auth/auth_util.c