summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-11-22 23:12:19 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-03 08:48:30 +0100
commitef0ed56eb15f24db5934f174f90f65d3f5c3c526 (patch)
treedc45fd882323417ed23ddb3342380fc53c091f1a
parent2d3f7e31411cc63d5c83337f7280fcd6d2330282 (diff)
downloadsamba-ef0ed56eb15f24db5934f174f90f65d3f5c3c526.tar.gz
samba-ef0ed56eb15f24db5934f174f90f65d3f5c3c526.tar.bz2
samba-ef0ed56eb15f24db5934f174f90f65d3f5c3c526.zip
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 <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/passdb/pdb_interface.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 767808c851..1527b39b7f 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) {