summaryrefslogtreecommitdiff
path: root/source3/libads/gpo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads/gpo.c')
-rw-r--r--source3/libads/gpo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libads/gpo.c b/source3/libads/gpo.c
index 9c3a133516..85809d341f 100644
--- a/source3/libads/gpo.c
+++ b/source3/libads/gpo.c
@@ -20,6 +20,8 @@
#include "includes.h"
+#ifdef HAVE_LDAP
+
ADS_STATUS ads_parse_gp_ext(TALLOC_CTX *mem_ctx,
const char *extension_raw,
struct GP_EXT *gp_ext)
@@ -678,3 +680,5 @@ ADS_STATUS ads_get_gpo_list(ADS_STRUCT *ads,
return ADS_ERROR(LDAP_SUCCESS);
}
+
+#endif /* HAVE_LDAP */