From d3237d2233a96c87417161b6a09035beb2315c1d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 13 Sep 2006 10:03:27 +0000 Subject: r18453: Attempt to fix the non-ldap build (This used to be commit 86db85423027d34cb053fc068159ddd2226e90ec) --- source3/libads/ldap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 93bd9acf4c..57275dda55 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2874,6 +2874,8 @@ ADS_STATUS ads_join_realm(ADS_STRUCT *ads, const char *machine_name, } #endif +#ifdef HAVE_LDAP + /** * Delete a machine from the realm * @param ads connection to ads server @@ -2993,3 +2995,5 @@ ADS_STATUS ads_leave_realm(ADS_STRUCT *ads, const char *hostname) return status; } #endif + +#endif -- cgit