summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_groupmod.c
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-18 10:06:19 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-15 09:16:38 -0400
commit8a1738f9379a1b8fb5c95c3df649e014ff5a1434 (patch)
treedd5a59e95b88d1edb7b21a5035692571422b454c /src/tools/sss_groupmod.c
parent237ade4114ae88f87c814d447dfd5aebdbdf72ef (diff)
downloadsssd_unused-8a1738f9379a1b8fb5c95c3df649e014ff5a1434.tar.gz
sssd_unused-8a1738f9379a1b8fb5c95c3df649e014ff5a1434.tar.xz
sssd_unused-8a1738f9379a1b8fb5c95c3df649e014ff5a1434.zip
sysdb refactoring: deleted domain variables in sysdb API
The patch also updates code using modified functions. Tests have also been adjusted.
Diffstat (limited to 'src/tools/sss_groupmod.c')
-rw-r--r--src/tools/sss_groupmod.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/sss_groupmod.c b/src/tools/sss_groupmod.c
index 59ec10ba..48701adf 100644
--- a/src/tools/sss_groupmod.c
+++ b/src/tools/sss_groupmod.c
@@ -121,9 +121,7 @@ int main(int argc, const char **argv)
goto fini;
}
/* check the username to be able to give sensible error message */
- ret = sysdb_getgrnam_sync(tctx, tctx->sysdb,
- tctx->octx->name, tctx->local,
- tctx->octx);
+ ret = sysdb_getgrnam_sync(tctx, tctx->sysdb, tctx->octx->name, tctx->octx);
if (ret != EOK) {
ERROR("Cannot find group in local domain, "
"modifying groups is allowed only in local domain\n");