summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ldap/sdap_async_users.c')
-rw-r--r--src/providers/ldap/sdap_async_users.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c
index 0a874d65..9ccaae7b 100644
--- a/src/providers/ldap/sdap_async_users.c
+++ b/src/providers/ldap/sdap_async_users.c
@@ -95,7 +95,6 @@ done:
/* FIXME: support storing additional attributes */
int sdap_save_user(TALLOC_CTX *memctx,
- struct sysdb_ctx *ctx,
struct sdap_options *opts,
struct sss_domain_info *dom,
struct sysdb_attrs *attrs,
@@ -527,8 +526,7 @@ int sdap_save_users(TALLOC_CTX *memctx,
for (i = 0; i < num_users; i++) {
usn_value = NULL;
- ret = sdap_save_user(tmpctx, sysdb, opts, dom,
- users[i], false,
+ ret = sdap_save_user(tmpctx, opts, dom, users[i], false,
&usn_value, now);
/* Do not fail completely on errors.