summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ops.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 22:45:15 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:02 +0100
commita703ed242523c145133f522085ee3180452b3743 (patch)
treeeb200f4f69dd54f7447e1c871c6a2f7ea64c421e /src/db/sysdb_ops.c
parent770896b194b7b66b09c2a30545b4d091fd86b1f4 (diff)
downloadsssd-a703ed242523c145133f522085ee3180452b3743.tar.gz
sssd-a703ed242523c145133f522085ee3180452b3743.tar.xz
sssd-a703ed242523c145133f522085ee3180452b3743.zip
Add domain to sysdb_delete_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 4cd94bd57..6b5a1c40d 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -2202,6 +2202,7 @@ done:
/* = Custom Delete======================================= */
int sysdb_delete_custom(struct sysdb_ctx *sysdb,
+ struct sss_domain_info *domain,
const char *object_name,
const char *subtree_name)
{
@@ -2219,7 +2220,7 @@ int sysdb_delete_custom(struct sysdb_ctx *sysdb,
}
dn = sysdb_custom_dn(sysdb, tmp_ctx,
- sysdb->domain, object_name, subtree_name);
+ domain, object_name, subtree_name);
if (dn == NULL) {
DEBUG(1, ("sysdb_custom_dn failed.\n"));
ret = ENOMEM;