diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-11-09 13:17:24 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-11-27 18:24:45 +0100 |
commit | 19a410288778a3aaf6a01bc71cacb8cb46465875 (patch) | |
tree | 464146a04d5c5af6a095e2c752ff5816e55be368 /src/providers | |
parent | 29d85ae19933805622fdcead4ea43ba2d06cc3f0 (diff) | |
download | sssd-19a410288778a3aaf6a01bc71cacb8cb46465875.tar.gz sssd-19a410288778a3aaf6a01bc71cacb8cb46465875.tar.xz sssd-19a410288778a3aaf6a01bc71cacb8cb46465875.zip |
Remove unused parameter from save_netgroup
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/proxy/proxy.h | 1 | ||||
-rw-r--r-- | src/providers/proxy/proxy_id.c | 2 | ||||
-rw-r--r-- | src/providers/proxy/proxy_netgroup.c | 6 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/providers/proxy/proxy.h b/src/providers/proxy/proxy.h index 179245fed..7f4dfc984 100644 --- a/src/providers/proxy/proxy.h +++ b/src/providers/proxy/proxy.h @@ -149,7 +149,6 @@ void proxy_pam_handler(struct be_req *req); /* From proxy_netgroup.c */ errno_t get_netgroup(struct proxy_id_ctx *ctx, - struct sysdb_ctx *sysdb, struct sss_domain_info *dom, const char *name); diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index f78d82b6a..4ed943ad4 100644 --- a/src/providers/proxy/proxy_id.c +++ b/src/providers/proxy/proxy_id.c @@ -1463,7 +1463,7 @@ void proxy_get_account_info(struct be_req *breq) ENODEV, "Netgroups are not supported"); } - ret = get_netgroup(ctx, sysdb, domain, ar->filter_value); + ret = get_netgroup(ctx, domain, ar->filter_value); break; case BE_REQ_SERVICES: diff --git a/src/providers/proxy/proxy_netgroup.c b/src/providers/proxy/proxy_netgroup.c index a201b2607..0aeb7cfe4 100644 --- a/src/providers/proxy/proxy_netgroup.c +++ b/src/providers/proxy/proxy_netgroup.c @@ -66,8 +66,7 @@ static errno_t make_netgroup_attr(struct __netgrent netgrent, return EOK; } -static errno_t save_netgroup(struct sysdb_ctx *sysdb, - struct sss_domain_info *domain, +static errno_t save_netgroup(struct sss_domain_info *domain, const char *name, struct sysdb_attrs *attrs, bool lowercase, @@ -137,7 +136,6 @@ static errno_t handle_error(enum nss_status status, } errno_t get_netgroup(struct proxy_id_ctx *ctx, - struct sysdb_ctx *sysdb, struct sss_domain_info *dom, const char *name) { @@ -199,7 +197,7 @@ errno_t get_netgroup(struct proxy_id_ctx *ctx, goto done; } - ret = save_netgroup(sysdb, dom, name, attrs, + ret = save_netgroup(dom, name, attrs, !dom->case_sensitive, dom->netgroup_timeout); if (ret != EOK) { |