summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_ldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index b0c0dc1680..ee7a1f5b4c 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -3752,7 +3752,8 @@ static BOOL ldapgroup2displayentry(struct ldap_search_state *state,
case SID_NAME_WKN_GRP:
- if (!sid_check_is_in_builtin(&sid)) {
+ if (!sid_peek_check_rid(&global_sid_Builtin, &sid, &result->rid)) {
+
DEBUG(0, ("%s is not in builtin sid\n", sid_string_static(&sid)));
return False;
}