summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 20:03:33 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:01 +0100
commit6ac396bebb4cd3124711d26dce54263f6f9c7c45 (patch)
treec497a634c0e14ab3c55469f3669b1a0f9d5f3fc3 /src/providers/ipa
parentb7427d63bd328be32991f9d437c4a3d46bcabe03 (diff)
downloadsssd-6ac396bebb4cd3124711d26dce54263f6f9c7c45.tar.gz
sssd-6ac396bebb4cd3124711d26dce54263f6f9c7c45.tar.bz2
sssd-6ac396bebb4cd3124711d26dce54263f6f9c7c45.zip
Add domain argument to sysdb_store_user()
Also remove sysdb_store_domuser()
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_s2n_exop.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c
index 8fc22819..347a0606 100644
--- a/src/providers/ipa/ipa_s2n_exop.c
+++ b/src/providers/ipa/ipa_s2n_exop.c
@@ -684,11 +684,10 @@ static void ipa_s2n_get_user_done(struct tevent_req *subreq)
goto done;
}
- ret = sysdb_store_domuser(state->dom, name, NULL,
- attrs->a.user.pw_uid,
- 0, NULL, /* gecos */
- homedir, NULL,
- user_attrs, NULL, timeout, now);
+ ret = sysdb_store_user(state->dom->sysdb, state->dom, name, NULL,
+ attrs->a.user.pw_uid, 0, NULL, /* gecos */
+ homedir, NULL, NULL, user_attrs, NULL,
+ timeout, now);
break;
case RESP_GROUP:
/* we always use the fully qualified name for subdomain users */