From: Günther Deschner Date: Wed, 11 Jul 2007 15:46:01 +0000 (+0000) Subject: r23842: Attempt to fix the build with LDAP. X-Git-Tag: samba-4.0.0alpha6~801^2~5379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d786a4e2bf23feaeb041f95bb346fbfd0434853;p=thirdparty%2Fsamba.git r23842: Attempt to fix the build with LDAP. Guenther (This used to be commit efd817ae118da51058106ae97854572547e113d3) --- diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c index 4b9a9de23ae..135eeffac77 100644 --- a/source3/libads/disp_sec.c +++ b/source3/libads/disp_sec.c @@ -19,6 +19,8 @@ #include "includes.h" +#ifdef HAVE_LDAP + static struct perm_mask_str { uint32 mask; const char *str; @@ -215,4 +217,4 @@ void ads_disp_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, SEC_DESC *sd) printf("-------------- End Of Security Descriptor\n"); } - +#endif