summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 17:16:45 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:21 +0100
commit20d2466dbce2bb950813e3f739bc40b511020efb (patch)
treed3284cd515bcbd01f4ff844ab3bb59cb5badcdb3 /src/tools
parent3f94d6718d44185137e13b6d326dfd63e8dc61c6 (diff)
downloadsssd-20d2466dbce2bb950813e3f739bc40b511020efb.tar.gz
sssd-20d2466dbce2bb950813e3f739bc40b511020efb.tar.xz
sssd-20d2466dbce2bb950813e3f739bc40b511020efb.zip
Add domain argument to sysdb_set_group_attr()
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_cache.c2
-rw-r--r--src/tools/sss_sync_ops.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index b8f0f2660..97657430f 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 d6f447e73..346188251 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;
}