summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-01-18 10:16:44 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-01-18 10:18:09 +0100
commit4e19af30cbaf819bdd88f7d0390aeabeb2797a60 (patch)
tree3dd8c97033db7e87b12d319f4c2eb7b873839649
parent78e5b91e6b22efbcd0621144b104ac9dfd487e5b (diff)
downloadsssd-4e19af30cbaf819bdd88f7d0390aeabeb2797a60.tar.gz
sssd-4e19af30cbaf819bdd88f7d0390aeabeb2797a60.tar.bz2
sssd-4e19af30cbaf819bdd88f7d0390aeabeb2797a60.zip
Do not use sudo symbols in LDAP provider unconditionally
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 2 insertions, 0 deletions
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,