summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_ldap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index fd90db3295..d7db4d8051 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -4916,10 +4916,6 @@ static bool ldapsam_sid_to_id(struct pdb_methods *methods,
TALLOC_CTX *mem_ctx;
- if (!sid_check_object_is_for_passdb(sid)) {
- return false;
- }
-
ret = pdb_sid_to_id_unix_users_and_groups(sid, id);
if (ret == true) {
return true;