summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-13 10:03:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:42 -0500
commitd3237d2233a96c87417161b6a09035beb2315c1d (patch)
treec50f6f87ba1c51e9ec9b38ea52848316bb17bb57
parent6f47ed234a743772e72fa7985f5fb8559f23dbb4 (diff)
downloadsamba-d3237d2233a96c87417161b6a09035beb2315c1d.tar.gz
samba-d3237d2233a96c87417161b6a09035beb2315c1d.tar.bz2
samba-d3237d2233a96c87417161b6a09035beb2315c1d.zip
r18453: Attempt to fix the non-ldap build
(This used to be commit 86db85423027d34cb053fc068159ddd2226e90ec)
-rw-r--r--source3/libads/ldap.c4
1 files changed, 4 insertions, 0 deletions
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