From 6ac396bebb4cd3124711d26dce54263f6f9c7c45 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 7 Jan 2013 20:03:33 -0500 Subject: Add domain argument to sysdb_store_user() Also remove sysdb_store_domuser() --- src/providers/ldap/sdap_async_users.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/providers/ldap/sdap_async_users.c') diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c index ade1d37b5..cd577a7f7 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) { -- cgit