summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-03-03 17:40:36 +0100
committerMichael Adam <obnox@samba.org>2011-03-22 22:49:57 +0100
commitca8c493bfdc86f222a65d9ce8fc761de89fca9b7 (patch)
tree0d5c536e5727a06ba00fd8d81b3b9da99272fff7 /source3/winbindd
parent82853a613ba854661aa3d36ae5f0f0f11c13ce26 (diff)
downloadsamba-ca8c493bfdc86f222a65d9ce8fc761de89fca9b7.tar.gz
samba-ca8c493bfdc86f222a65d9ce8fc761de89fca9b7.tar.bz2
samba-ca8c493bfdc86f222a65d9ce8fc761de89fca9b7.zip
s3:idmap: remove passdb argument from idmap_init_domain()
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index a48f2e4f1a..00ba7da505 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -196,14 +196,12 @@ static bool parse_idmap_module(TALLOC_CTX *mem_ctx, const char *param,
* @param[in] mem_ctx memory context for the result
* @param[in] domainname which domain is this for
* @param[in] modulename which backend module
- * @param[in] params parameter to pass to the init function
* @param[in] check_range whether range checking should be done
* @result The initialized structure
*/
static struct idmap_domain *idmap_init_domain(TALLOC_CTX *mem_ctx,
const char *domainname,
const char *modulename,
- const char *params,
bool check_range)
{
struct idmap_domain *result;
@@ -321,7 +319,7 @@ static struct idmap_domain *idmap_init_default_domain(TALLOC_CTX *mem_ctx)
DEBUG(3, ("idmap_init: using '%s' as remote backend\n", modulename));
- result = idmap_init_domain(mem_ctx, "*", modulename, params, true);
+ result = idmap_init_domain(mem_ctx, "*", modulename, true);
if (result == NULL) {
goto fail;
}
@@ -367,7 +365,7 @@ static struct idmap_domain *idmap_init_named_domain(TALLOC_CTX *mem_ctx,
goto fail;
}
- result = idmap_init_domain(mem_ctx, domname, backend, NULL, true);
+ result = idmap_init_domain(mem_ctx, domname, backend, true);
if (result == NULL) {
goto fail;
}
@@ -408,7 +406,7 @@ static struct idmap_domain *idmap_init_passdb_domain(TALLOC_CTX *mem_ctx)
}
passdb_idmap_domain = idmap_init_domain(NULL, get_global_sam_name(),
- "passdb", NULL, false);
+ "passdb", false);
if (passdb_idmap_domain == NULL) {
DEBUG(1, ("Could not init passdb idmap domain\n"));
}