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_util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/libads/gpo_util.c') diff --git a/source3/libads/gpo_util.c b/source3/libads/gpo_util.c index cabe9a32db..aed99d694f 100644 --- a/source3/libads/gpo_util.c +++ b/source3/libads/gpo_util.c @@ -20,6 +20,8 @@ #include "includes.h" +#ifdef HAVE_LDAP + #define DEFAULT_DOMAIN_POLICY "Default Domain Policy" #define DEFAULT_DOMAIN_CONTROLLERS_POLICY "Default Domain Controllers Policy" @@ -499,3 +501,5 @@ ADS_STATUS gpo_password_policy(ADS_STRUCT *ads, ads_memfree(ads, dn); return ADS_ERROR(LDAP_SUCCESS); } + +#endif /* HAVE_LDAP */ -- cgit