summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/disp_sec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c
index 4b9a9de23a..135eeffac7 100644
--- a/source3/libads/disp_sec.c
+++ b/source3/libads/disp_sec.c
@@ -19,6 +19,8 @@
#include "includes.h"
+#ifdef HAVE_LDAP
+
static struct perm_mask_str {
uint32 mask;
const char *str;
@@ -215,4 +217,4 @@ void ads_disp_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, SEC_DESC *sd)
printf("-------------- End Of Security Descriptor\n");
}
-
+#endif