From 324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Mon, 27 May 2013 14:43:40 +0200 Subject: s3:passdb/pdb_ldap remove an unnecessary check as general passdb code already verifies for which idmap domains the module is responsible, requests for other domains should not come in here any more Pair-Programmed-With: Michael Adam Signed-off-by: Christian Ambach Signed-off-by: Michael Adam --- source3/passdb/pdb_ldap.c | 4 ---- 1 file changed, 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; -- cgit