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:
parent
2d3f7e3141
commit
ef0ed56eb1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user