diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 17:16:45 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:21 +0100 |
commit | 20d2466dbce2bb950813e3f739bc40b511020efb (patch) | |
tree | d3284cd515bcbd01f4ff844ab3bb59cb5badcdb3 /src/tools | |
parent | 3f94d6718d44185137e13b6d326dfd63e8dc61c6 (diff) | |
download | sssd-20d2466dbce2bb950813e3f739bc40b511020efb.tar.gz sssd-20d2466dbce2bb950813e3f739bc40b511020efb.tar.bz2 sssd-20d2466dbce2bb950813e3f739bc40b511020efb.zip |
Add domain argument to sysdb_set_group_attr()
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/sss_cache.c | 2 | ||||
-rw-r--r-- | src/tools/sss_sync_ops.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c index b8f0f266..97657430 100644 --- a/src/tools/sss_cache.c +++ b/src/tools/sss_cache.c @@ -365,7 +365,7 @@ static errno_t invalidate_entry(TALLOC_CTX *ctx, struct sysdb_ctx *sysdb, SYSDB_MOD_REP); break; case TYPE_GROUP: - ret = sysdb_set_group_attr(sysdb, name, sys_attrs, + ret = sysdb_set_group_attr(sysdb, domain, name, sys_attrs, SYSDB_MOD_REP); break; case TYPE_NETGROUP: diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c index d6f447e7..34618825 100644 --- a/src/tools/sss_sync_ops.c +++ b/src/tools/sss_sync_ops.c @@ -273,7 +273,8 @@ int groupmod(TALLOC_CTX *mem_ctx, return ret; } - ret = sysdb_set_group_attr(sysdb, data->name, attrs, SYSDB_MOD_REP); + ret = sysdb_set_group_attr(sysdb, data->domain, data->name, + attrs, SYSDB_MOD_REP); if (ret) { return ret; } |