summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_users.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-05-15 15:22:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-05-22 12:31:01 +0200
commitdca741129d221558a4325479aefc617240f1ab08 (patch)
tree308582cdb8edcbc4cb680b37b20fa5737b5f92be /src/providers/ldap/sdap_async_users.c
parentd0cc678d20d8bde829450eb50bec1b7397cea3e1 (diff)
downloadsssd-dca741129d221558a4325479aefc617240f1ab08.tar.gz
sssd-dca741129d221558a4325479aefc617240f1ab08.tar.xz
sssd-dca741129d221558a4325479aefc617240f1ab08.zip
SDAP: Remove unnecessary argument from sdap_save_user
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
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 89e5ae558..416bedda8 100644
--- a/src/providers/ldap/sdap_async_users.c
+++ b/src/providers/ldap/sdap_async_users.c
@@ -116,7 +116,6 @@ int sdap_save_user(TALLOC_CTX *memctx,
struct sdap_options *opts,
struct sss_domain_info *dom,
struct sysdb_attrs *attrs,
- bool is_initgr,
char **_usn_value,
time_t now)
{
@@ -547,8 +546,7 @@ int sdap_save_users(TALLOC_CTX *memctx,
for (i = 0; i < num_users; i++) {
usn_value = NULL;
- ret = sdap_save_user(tmpctx, opts, dom, users[i], false,
- &usn_value, now);
+ ret = sdap_save_user(tmpctx, opts, dom, users[i], &usn_value, now);
/* Do not fail completely on errors.
* Just report the failure to save and go on */