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:
6751215
)
Revert "s3-winbind: Fix paranoia checks in winbindd_samr.c."
author
Stefan Metzmacher
<metze@samba.org>
Thu, 16 Jun 2011 16:40:04 +0000
(18:40 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 16 Jun 2011 16:41:01 +0000
(18:41 +0200)
This reverts commit
207a84d725b905c2b119d2ef0f4f4d4eb391140d
.
This is the wrong fix for the problem, see bug #8215.
metze
source3/winbindd/winbindd_samr.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_samr.c
b/source3/winbindd/winbindd_samr.c
index 48ce92d5e706bb14d10ebf537e07f065f56dcf93..3b9377f7299f82614817952ad01a37bb1ae95fc2 100644
(file)
--- a/
source3/winbindd/winbindd_samr.c
+++ b/
source3/winbindd/winbindd_samr.c
@@
-762,8
+762,8
@@
static NTSTATUS sam_rids_to_names(struct winbindd_domain *domain,
ZERO_STRUCT(lsa_policy);
/* Paranoia check */
- if (!sid_check_is_
in_
builtin(domain_sid) &&
- !sid_check_is_
in_our_
domain(domain_sid) &&
+ if (!sid_check_is_builtin(domain_sid) &&
+ !sid_check_is_domain(domain_sid) &&
!sid_check_is_unix_users(domain_sid) &&
!sid_check_is_unix_groups(domain_sid) &&
!sid_check_is_in_wellknown_domain(domain_sid)) {