From cf66c53e46fad46f47489f43265c58004e0e39d4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 16 Sep 2015 15:28:54 +0200 Subject: LDAP: Move sdap_create_search_base from ldap to sdap code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/providers/ldap/sdap.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/providers/ldap/sdap.h') diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index b3321be48..0dc6f751a 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -373,6 +373,13 @@ struct sdap_search_base { const char *filter; }; +errno_t +sdap_create_search_base(TALLOC_CTX *mem_ctx, + const char *unparsed_base, + int scope, + const char *filter, + struct sdap_search_base **_base); + /* Values from * http://msdn.microsoft.com/en-us/library/cc223272%28v=prot.13%29.aspx */ -- cgit