summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_sync_ops.c1
-rw-r--r--src/tools/sss_sync_ops.h1
-rw-r--r--src/tools/sss_useradd.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
index 486af85db..8c3468d1a 100644
--- a/src/tools/sss_sync_ops.c
+++ b/src/tools/sss_sync_ops.c
@@ -460,7 +460,6 @@ done:
* Public interface for adding users
*/
int useradd(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct ops_ctx *data)
{
int ret;
diff --git a/src/tools/sss_sync_ops.h b/src/tools/sss_sync_ops.h
index 5fed1cfa6..69d3e5e9f 100644
--- a/src/tools/sss_sync_ops.h
+++ b/src/tools/sss_sync_ops.h
@@ -73,7 +73,6 @@ int userdel_defaults(TALLOC_CTX *mem_ctx,
/* synchronous operations */
int useradd(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct ops_ctx *data);
int userdel(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
diff --git a/src/tools/sss_useradd.c b/src/tools/sss_useradd.c
index a1eef8d64..395b2651c 100644
--- a/src/tools/sss_useradd.c
+++ b/src/tools/sss_useradd.c
@@ -187,7 +187,7 @@ int main(int argc, const char **argv)
in_transaction = true;
/* useradd */
- tctx->error = useradd(tctx, tctx->sysdb, tctx->octx);
+ tctx->error = useradd(tctx, tctx->octx);
if (tctx->error) {
goto done;
}