diff options
Diffstat (limited to 'src/tools/sss_usermod.c')
-rw-r--r-- | src/tools/sss_usermod.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/sss_usermod.c b/src/tools/sss_usermod.c index bcf2b3a24..e6d54d586 100644 --- a/src/tools/sss_usermod.c +++ b/src/tools/sss_usermod.c @@ -139,9 +139,7 @@ int main(int argc, const char **argv) goto fini; } /* check the username to be able to give sensible error message */ - ret = sysdb_getpwnam_sync(tctx, tctx->sysdb, - tctx->octx->name, tctx->local, - tctx->octx); + ret = sysdb_getpwnam_sync(tctx, tctx->sysdb, tctx->octx->name, tctx->octx); if (ret != EOK) { ERROR("Cannot find user in local domain, " "modifying users is allowed only in local domain\n"); |