summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-05-29 11:57:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:41 -0500
commit03703a58d7fe441ec5dcbe1814cea3f55544de55 (patch)
treeafe4aa0781f0d90c919caa00718a7234d062ab1f /source4/dsdb/samdb
parent279e9166defca334d27bdde7805760a7de1f169f (diff)
downloadsamba-03703a58d7fe441ec5dcbe1814cea3f55544de55.tar.gz
samba-03703a58d7fe441ec5dcbe1814cea3f55544de55.tar.bz2
samba-03703a58d7fe441ec5dcbe1814cea3f55544de55.zip
r15932: Remove per request creds
They have never benn used and make little sense too imo (This used to be commit f0c1d08d50f8a3e25650ac85b178ec7a43e433d9)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c1
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c1
4 files changed, 0 insertions, 6 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn.c b/source4/dsdb/samdb/ldb_modules/extended_dn.c
index 520ffde32d..8ca82b2670 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn.c
@@ -371,8 +371,6 @@ static int extended_search_async(struct ldb_module *module, struct ldb_request *
return LDB_ERR_OPERATIONS_ERROR;
}
- down_req->creds = req->creds;
-
down_req->async.context = ac;
down_req->async.callback = extended_async_callback;
down_req->async.timeout = req->async.timeout;
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index d6929bd732..23d96ba2b7 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -209,7 +209,6 @@ static int kludge_acl_search_async(struct ldb_module *module, struct ldb_request
down_req->op.search.attrs = req->op.search.attrs;
down_req->controls = req->controls;
- down_req->creds = req->creds;
down_req->async.context = ac;
down_req->async.callback = kludge_acl_async_callback;
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index 0be0fff0ff..bdf1bcc27a 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -1175,7 +1175,6 @@ static int build_domain_data_request(struct ph_async_context *ac,
}
ac->dom_req->op.search.attrs = attrs;
ac->dom_req->controls = NULL;
- ac->dom_req->creds = ac->orig_req->creds;
ac->dom_req->async.context = ac;
ac->dom_req->async.callback = get_domain_data_callback;
ac->dom_req->async.timeout = ac->orig_req->async.timeout;
@@ -1507,7 +1506,6 @@ static int password_hash_mod_async_search_self(struct ldb_async_handle *h) {
}
ac->search_req->op.search.attrs = NULL;
ac->search_req->controls = NULL;
- ac->search_req->creds = ac->orig_req->creds;
ac->search_req->async.context = ac;
ac->search_req->async.callback = get_self_callback;
ac->search_req->async.timeout = ac->orig_req->async.timeout;
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index 892a98db12..7e408264ec 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -232,7 +232,6 @@ static int rootdse_search_async(struct ldb_module *module, struct ldb_request *r
}
down_req->op.search.attrs = req->op.search.attrs;
down_req->controls = req->controls;
- down_req->creds = req->creds;
down_req->async.context = ac;
down_req->async.callback = rootdse_async_callback;