s3:winbindd: use the new sid_check_is_for_passdb() in idmap_find_domain_with_sid()
commit2d3f7e31411cc63d5c83337f7280fcd6d2330282
authorMichael Adam <obnox@samba.org>
Fri, 30 Nov 2012 15:27:59 +0000 (30 16:27 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 3 Dec 2012 07:48:29 +0000 (3 08:48 +0100)
treecad510fda269dd90c7f78fc905661ba290c2e3b4
parent845a14210729c6a4c39a65be00e2f8b19fc13ec0
s3:winbindd: use the new sid_check_is_for_passdb() in idmap_find_domain_with_sid()

This is more correct than the original one:
It also hands the wellknown and "Unix Users" and "Unix Groups" sids to passdb
for id mapping.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/idmap.c