samr: don't block the sam sid or the builtin domain sid in sid_to_name
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Feb 2014 15:50:32 +0000 (16:50 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 25 Feb 2014 08:17:07 +0000 (09:17 +0100)
commit8fec421543ff25c99655acca801d363c416fd61d
tree0ba6fda481d057d6c7e1c799a3f059ca2a711176
parentfcf846a795085d24468548165d92762a628ef54d
samr: don't block the sam sid or the builtin domain sid in sid_to_name

Previously only members of these domains were handled.
But we also need to handle the domain itself.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10463

Change-Id: I44f85267eda243d586fffd24a799e153de0ff982
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@sernet.de>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/winbindd/winbindd_samr.c