diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 19:44:29 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:01 +0100 |
commit | b7427d63bd328be32991f9d437c4a3d46bcabe03 (patch) | |
tree | 1b232e469a99cdeb2f3ac00c9ee5997dd2e6d03f /src/providers/proxy | |
parent | 5c1135221ff3ea9132b6ebf073f2dcae88b73b3f (diff) | |
download | sssd-b7427d63bd328be32991f9d437c4a3d46bcabe03.tar.gz sssd-b7427d63bd328be32991f9d437c4a3d46bcabe03.tar.xz sssd-b7427d63bd328be32991f9d437c4a3d46bcabe03.zip |
Add domain arguments to sysdb_add_inetgroup fns.
Diffstat (limited to 'src/providers/proxy')
-rw-r--r-- | src/providers/proxy/proxy_netgroup.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/providers/proxy/proxy_netgroup.c b/src/providers/proxy/proxy_netgroup.c index afc57ecbe..5dc8efe70 100644 --- a/src/providers/proxy/proxy_netgroup.c +++ b/src/providers/proxy/proxy_netgroup.c @@ -67,6 +67,7 @@ static errno_t make_netgroup_attr(struct __netgrent netgrent, } static errno_t save_netgroup(struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, const char *name, struct sysdb_attrs *attrs, bool lowercase, @@ -90,7 +91,8 @@ static errno_t save_netgroup(struct sysdb_ctx *sysdb, } } - ret = sysdb_add_netgroup(sysdb, name, NULL, attrs, NULL, cache_timeout, 0); + ret = sysdb_add_netgroup(sysdb, domain, name, NULL, + attrs, NULL, cache_timeout, 0); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("sysdb_add_netgroup failed.\n")); return ret; @@ -197,7 +199,7 @@ errno_t get_netgroup(struct proxy_id_ctx *ctx, goto done; } - ret = save_netgroup(sysdb, name, attrs, + ret = save_netgroup(sysdb, dom, name, attrs, !dom->case_sensitive, dom->netgroup_timeout); if (ret != EOK) { |