diff options
Diffstat (limited to 'src/providers/proxy')
-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) { |