diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 02:04:58 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | 9675bccabff4e79d224f64611ad9ff3e073b488e (patch) | |
tree | 39f5a16b37263395930a6e0ed209a3244ae22c81 /src/db/sysdb.c | |
parent | de526c8425886ca3bed8f07a0f092ba5ac325654 (diff) | |
download | sssd-9675bccabff4e79d224f64611ad9ff3e073b488e.tar.gz sssd-9675bccabff4e79d224f64611ad9ff3e073b488e.tar.xz sssd-9675bccabff4e79d224f64611ad9ff3e073b488e.zip |
Make sysdb_custom_subtree_dn() require a domain.
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r-- | src/db/sysdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index 2f58d70d7..4127b912f 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -93,6 +93,7 @@ errno_t sysdb_dn_sanitize(TALLOC_CTX *mem_ctx, const char *input, struct ldb_dn *sysdb_custom_subtree_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx, + struct sss_domain_info *dom, const char *subtree_name) { errno_t ret; @@ -110,7 +111,7 @@ struct ldb_dn *sysdb_custom_subtree_dn(struct sysdb_ctx *sysdb, } dn = ldb_dn_new_fmt(tmp_ctx, sysdb->ldb, SYSDB_TMPL_CUSTOM_SUBTREE, - clean_subtree, sysdb->domain->name); + clean_subtree, dom->name); if (dn) { talloc_steal(mem_ctx, dn); } |