summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/gpo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/gpo.c b/source3/libsmb/gpo.c
index 0257138ece..6be2ce2f79 100644
--- a/source3/libsmb/gpo.c
+++ b/source3/libsmb/gpo.c
@@ -20,6 +20,8 @@
#include "includes.h"
+#ifdef HAVE_LDAP
+
#define GPT_INI_SECTION_GENERAL "General"
#define GPT_INI_PARAMETER_VERSION "Version"
#define GPT_INI_PARAMETER_DISPLAYNAME "displayName"
@@ -165,3 +167,5 @@ TicketValidateClient = 1
signature="$CHICAGO$"
Revision=1
*/
+
+#endif /* HAVE_LDAP */