summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/python/pysss.c2
-rw-r--r--src/tools/sss_groupmod.c2
-rw-r--r--src/tools/sss_sync_ops.c1
-rw-r--r--src/tools/sss_sync_ops.h1
4 files changed, 2 insertions, 4 deletions
diff --git a/src/python/pysss.c b/src/python/pysss.c
index 8f362ffe0..5fecbb307 100644
--- a/src/python/pysss.c
+++ b/src/python/pysss.c
@@ -717,7 +717,7 @@ static PyObject *py_sss_groupmod(PySssLocalObject *self,
in_transaction = true;
/* groupmod */
- tctx->error = groupmod(tctx, tctx->sysdb, tctx->octx);
+ tctx->error = groupmod(tctx, tctx->octx);
if (tctx->error) {
PyErr_SetSssError(tctx->error);
goto fail;
diff --git a/src/tools/sss_groupmod.c b/src/tools/sss_groupmod.c
index 10deea885..39c46d1cb 100644
--- a/src/tools/sss_groupmod.c
+++ b/src/tools/sss_groupmod.c
@@ -202,7 +202,7 @@ int main(int argc, const char **argv)
in_transaction = true;
/* groupmod */
- tctx->error = groupmod(tctx, tctx->sysdb, tctx->octx);
+ tctx->error = groupmod(tctx, tctx->octx);
if (tctx->error) {
goto done;
}
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
index 539d09ca4..486af85db 100644
--- a/src/tools/sss_sync_ops.c
+++ b/src/tools/sss_sync_ops.c
@@ -247,7 +247,6 @@ int usermod(TALLOC_CTX *mem_ctx,
* Public interface for modifying groups
*/
int groupmod(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct ops_ctx *data)
{
struct sysdb_attrs *attrs = NULL;
diff --git a/src/tools/sss_sync_ops.h b/src/tools/sss_sync_ops.h
index 0da497ad4..5fed1cfa6 100644
--- a/src/tools/sss_sync_ops.h
+++ b/src/tools/sss_sync_ops.h
@@ -87,7 +87,6 @@ int groupdel(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
struct ops_ctx *data);
int groupmod(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct ops_ctx *data);
int sysdb_getpwnam_sync(TALLOC_CTX *mem_ctx,