summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-05-27 14:43:40 +0200
committerMichael Adam <obnox@samba.org>2013-06-21 10:44:22 +0200
commit324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5 (patch)
treea021555b4eef2c45f0af65fd3cb012ddc07a0612 /source3/passdb
parent01e094b53ff87ca83993e59196efa2c7adca1eec (diff)
downloadsamba-324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5.tar.gz
samba-324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5.tar.bz2
samba-324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5.zip
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 <obnox@samba.org> Signed-off-by: Christian Ambach <ambi@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/passdb')
-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;