git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3f7e3
)
s3:passdb: don't bail out in pdb_default_sid_to_id() if sid is not in our sam
author
Michael Adam
<obnox@samba.org>
Thu, 22 Nov 2012 22:12:19 +0000
(23:12 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 3 Dec 2012 07:48:30 +0000
(08:48 +0100)
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>
source3/passdb/pdb_interface.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_interface.c
b/source3/passdb/pdb_interface.c
index 767808c851281e4894d659047bc1a29dbe3dd4a2..1527b39b7fb29308d4bfc004c40d1d84839f72a7 100644
(file)
--- 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) {