1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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 02e25b2a43.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Michael Adam 2012-11-22 23:12:19 +01:00 committed by Stefan Metzmacher
parent 2d3f7e3141
commit ef0ed56eb1

View File

@ -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) {