From 84f5bcb3660b226bd806808cb7eb483d5bd25e68 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 22 Nov 2012 23:12:19 +0100 Subject: [PATCH] s3:passdb: don't bail out in pdb_default_sid_to_id() if sid is not in our sam This code treats the own sam, builtin, wellknown, and sids from the "Unix User" and "Unix Group" pseudo-domains. This reverts part of commit 02e25b2a43ae02205a3412f862a1482d24b70aa4. Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher (cherry picked from commit ef0ed56eb15f24db5934f174f90f65d3f5c3c526) --- source3/passdb/pdb_interface.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index 767808c8512..1527b39b7fb 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -1430,11 +1430,6 @@ static bool pdb_default_sid_to_id(struct pdb_methods *methods, uint32_t rid; id->id = -1; - if (!sid_check_is_in_our_sam(sid)) { - /* Not our SID */ - return False; - } - mem_ctx = talloc_new(NULL); if (mem_ctx == NULL) { -- 2.34.1