From 8d786a4e2bf23feaeb041f95bb346fbfd0434853 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 11 Jul 2007 15:46:01 +0000 Subject: r23842: Attempt to fix the build with LDAP. Guenther (This used to be commit efd817ae118da51058106ae97854572547e113d3) --- source3/libads/disp_sec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit