summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 18:48:01 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:01 +0100
commit5c1135221ff3ea9132b6ebf073f2dcae88b73b3f (patch)
tree1b720a242ce96a267ec15717fcbc5423b25c034a /src/tools
parent7c26e3568d0d789067feef945086dff367408a1c (diff)
downloadsssd-5c1135221ff3ea9132b6ebf073f2dcae88b73b3f.tar.gz
sssd-5c1135221ff3ea9132b6ebf073f2dcae88b73b3f.tar.bz2
sssd-5c1135221ff3ea9132b6ebf073f2dcae88b73b3f.zip
Add domain arguments to sysdb_add_group functions.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_sync_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
index 46e86cec..25c97634 100644
--- a/src/tools/sss_sync_ops.c
+++ b/src/tools/sss_sync_ops.c
@@ -533,7 +533,8 @@ int groupadd(struct sysdb_ctx *sysdb,
{
int ret;
- ret = sysdb_add_group(sysdb, data->name, data->gid, NULL, 0, 0);
+ ret = sysdb_add_group(sysdb, data->domain,
+ data->name, data->gid, NULL, 0, 0);
if (ret == EOK) {
flush_nscd_cache(NSCD_DB_GROUP);
}