From 4e19af30cbaf819bdd88f7d0390aeabeb2797a60 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 18 Jan 2012 10:16:44 +0100 Subject: Do not use sudo symbols in LDAP provider unconditionally --- src/providers/ldap/ldap_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c index 18df5ba8..ba94d549 100644 --- a/src/providers/ldap/ldap_common.c +++ b/src/providers/ldap/ldap_common.c @@ -567,6 +567,7 @@ int ldap_get_sudo_options(TALLOC_CTX *memctx, return EOK; } +#ifdef BUILD_SUDO int sdap_sudo_setup_tasks(struct sdap_id_ctx *id_ctx) { struct sdap_sudo_refresh_ctx *refresh_ctx = NULL; @@ -623,6 +624,7 @@ int sdap_sudo_setup_tasks(struct sdap_id_ctx *id_ctx) return EOK; } +#endif errno_t sdap_parse_search_base(TALLOC_CTX *mem_ctx, struct dp_option *opts, int class, -- cgit