diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-08-03 19:18:56 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-05 10:18:47 -0400 |
commit | 29d442dad6dcb93ffc193de6f7cfd402129d4fb3 (patch) | |
tree | 90e3aa82d25d9dad3dfc0946139ed7ead705cf6e /server/tools | |
parent | 93becde0ff15d0a0b01ec477e9dfe641dd9569ea (diff) | |
download | sssd-29d442dad6dcb93ffc193de6f7cfd402129d4fb3.tar.gz sssd-29d442dad6dcb93ffc193de6f7cfd402129d4fb3.tar.bz2 sssd-29d442dad6dcb93ffc193de6f7cfd402129d4fb3.zip |
Fix adding to groups on user creation
Diffstat (limited to 'server/tools')
-rw-r--r-- | server/tools/sss_useradd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/sss_useradd.c b/server/tools/sss_useradd.c index b2841798..22698e6f 100644 --- a/server/tools/sss_useradd.c +++ b/server/tools/sss_useradd.c @@ -233,7 +233,7 @@ static void add_to_groups(struct ops_ctx *data) struct ldb_dn *member_dn; struct tevent_req *subreq; - member_dn = sysdb_group_dn(data->ctx->sysdb, data, + member_dn = sysdb_user_dn(data->ctx->sysdb, data, data->domain->name, data->name); if (!member_dn) { return add_user_terminate(data, ENOMEM); |