From a6bb76765aa9759ab8869968bacbd3c5104a9db8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 22 Sep 2006 09:34:25 +0000 Subject: r18819: Fix build without LDAP. Guenther (This used to be commit a0aedee1c90af163210dd459603dd5dffb73e132) --- source3/libads/gpo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/libads/gpo.c') diff --git a/source3/libads/gpo.c b/source3/libads/gpo.c index 9c3a133516a..85809d341f5 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 */ -- cgit