summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-07-11 15:46:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:33 -0500
commit8d786a4e2bf23feaeb041f95bb346fbfd0434853 (patch)
treeb6fa883e16aa992bb17cbb04e7a75bafcd1c737a /source3/libads
parent5d95214cf77aed7ef3c0625fdfaf05154b43c6c0 (diff)
downloadsamba-8d786a4e2bf23feaeb041f95bb346fbfd0434853.tar.gz
samba-8d786a4e2bf23feaeb041f95bb346fbfd0434853.tar.bz2
samba-8d786a4e2bf23feaeb041f95bb346fbfd0434853.zip
r23842: Attempt to fix the build with LDAP.
Guenther (This used to be commit efd817ae118da51058106ae97854572547e113d3)
Diffstat (limited to 'source3/libads')
-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