summaryrefslogtreecommitdiff
path: root/source3/libads/gpo.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-22 09:34:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:03 -0500
commita6bb76765aa9759ab8869968bacbd3c5104a9db8 (patch)
treec24d8f3435fcf2565661acbf368326a9ab0667df /source3/libads/gpo.c
parented5f7cce2a6b094933c5e006d465570870f269ca (diff)
downloadsamba-a6bb76765aa9759ab8869968bacbd3c5104a9db8.tar.gz
samba-a6bb76765aa9759ab8869968bacbd3c5104a9db8.tar.bz2
samba-a6bb76765aa9759ab8869968bacbd3c5104a9db8.zip
r18819: Fix build without LDAP.
Guenther (This used to be commit a0aedee1c90af163210dd459603dd5dffb73e132)
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 */