summaryrefslogtreecommitdiff
path: root/src/providers/ldap
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/ldap
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/ldap')
-rw-r--r--src/providers/ldap/sdap_async_users.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c
index ade1d37b..cd577a7f 100644
--- a/src/providers/ldap/sdap_async_users.c
+++ b/src/providers/ldap/sdap_async_users.c
@@ -378,8 +378,9 @@ int sdap_save_user(TALLOC_CTX *memctx,
DEBUG(6, ("Storing info for user %s\n", name));
- ret = sysdb_store_user(ctx, name, pwd, uid, gid, gecos, homedir, shell,
- orig_dn, user_attrs, missing, cache_timeout, now);
+ ret = sysdb_store_user(ctx, dom, name, pwd, uid, gid,
+ gecos, homedir, shell, orig_dn,
+ user_attrs, missing, cache_timeout, now);
if (ret) goto done;
if (_usn_value) {