summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ops.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 21:43:20 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:01 +0100
commitdd7192379e5fc5bb852863e60ad4b6a20c5da183 (patch)
tree6178abc8f7f78fd3099d5b28360bacacb2616f69 /src/db/sysdb_ops.c
parent74ac1c2834cd8961ed9e7cadcfe28b113bffe4de (diff)
downloadsssd-dd7192379e5fc5bb852863e60ad4b6a20c5da183.tar.gz
sssd-dd7192379e5fc5bb852863e60ad4b6a20c5da183.tar.xz
sssd-dd7192379e5fc5bb852863e60ad4b6a20c5da183.zip
Add domain argument to sysdb_store_custom()
Diffstat (limited to 'src/db/sysdb_ops.c')
-rw-r--r--src/db/sysdb_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index 6ff10d7de..386f94b37 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -2099,6 +2099,7 @@ done:
/* =Custom Store (replaces-existing-data)================== */
int sysdb_store_custom(struct sysdb_ctx *sysdb,
+ struct sss_domain_info *domain,
const char *object_name,
const char *subtree_name,
struct sysdb_attrs *attrs)
@@ -2146,7 +2147,7 @@ int sysdb_store_custom(struct sysdb_ctx *sysdb,
}
msg->dn = sysdb_custom_dn(sysdb, tmp_ctx,
- sysdb->domain, object_name, subtree_name);
+ domain, object_name, subtree_name);
if (!msg->dn) {
DEBUG(1, ("sysdb_custom_dn failed.\n"));
ret = ENOMEM;