summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-09-16 15:28:54 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-09-22 13:46:00 +0200
commitcf66c53e46fad46f47489f43265c58004e0e39d4 (patch)
treee9f0988ce67fb4b524b00c44119287107199139f /src/providers/ldap/ldap_common.h
parentcffe3defa3cb5011efc92a7773fe113a1e69774f (diff)
downloadsssd-cf66c53e46fad46f47489f43265c58004e0e39d4.tar.gz
sssd-cf66c53e46fad46f47489f43265c58004e0e39d4.tar.xz
sssd-cf66c53e46fad46f47489f43265c58004e0e39d4.zip
LDAP: Move sdap_create_search_base from ldap to sdap code
The function shouldn't be placed in the LDAP tree, but in the SDAP tree to make it usable from tests without linking to libraries that are normally linked from LDAP provider (such as confdb) Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 716aaa08..f552520a 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -294,13 +294,6 @@ struct sdap_domain *sdap_domain_get(struct sdap_options *opts,
struct sdap_domain *sdap_domain_get_by_dn(struct sdap_options *opts,
const char *dn);
-errno_t
-sdap_create_search_base(TALLOC_CTX *mem_ctx,
- const char *unparsed_base,
- int scope,
- const char *filter,
- struct sdap_search_base **_base);
-
errno_t sdap_parse_search_base(TALLOC_CTX *mem_ctx,
struct dp_option *opts, int class,
struct sdap_search_base ***_search_bases);