]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23842: Attempt to fix the build with LDAP.
authorGünther Deschner <gd@samba.org>
Wed, 11 Jul 2007 15:46:01 +0000 (15:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:33 +0000 (12:28 -0500)
Guenther
(This used to be commit efd817ae118da51058106ae97854572547e113d3)

source3/libads/disp_sec.c

index 4b9a9de23aed20795cbaee948c26e34b48b6dba3..135eeffac7714a8238e3c1b4f1d0f469e6ff8e4f 100644 (file)
@@ -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