diff options
author | Christian Ambach <ambi@samba.org> | 2013-05-27 14:43:40 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-06-21 10:44:22 +0200 |
commit | 324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5 (patch) | |
tree | a021555b4eef2c45f0af65fd3cb012ddc07a0612 | |
parent | 01e094b53ff87ca83993e59196efa2c7adca1eec (diff) | |
download | samba-324b3cc00cb97ff8d13bb3dd42e6fdcf0bea67a5.tar.gz |
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>
-rw-r--r-- | source3/passdb/pdb_ldap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index fd90db32957..d7db4d80514 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; |