svn commit: samba r18819 - in branches/SAMBA_3_0/source: libads
libsmb utils
gd at samba.org
gd at samba.org
Fri Sep 22 09:34:25 GMT 2006
Author: gd
Date: 2006-09-22 09:34:25 +0000 (Fri, 22 Sep 2006)
New Revision: 18819
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18819
Log:
Fix build without LDAP.
Guenther
Modified:
branches/SAMBA_3_0/source/libads/gpo.c
branches/SAMBA_3_0/source/libads/gpo_util.c
branches/SAMBA_3_0/source/libsmb/gpo.c
branches/SAMBA_3_0/source/utils/net_ads_gpo.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/gpo.c
===================================================================
--- branches/SAMBA_3_0/source/libads/gpo.c 2006-09-22 09:09:01 UTC (rev 18818)
+++ branches/SAMBA_3_0/source/libads/gpo.c 2006-09-22 09:34:25 UTC (rev 18819)
@@ -20,6 +20,8 @@
#include "includes.h"
+#ifdef HAVE_LDAP
+
ADS_STATUS ads_parse_gp_ext(TALLOC_CTX *mem_ctx,
const char *extension_raw,
struct GP_EXT *gp_ext)
@@ -678,3 +680,5 @@
return ADS_ERROR(LDAP_SUCCESS);
}
+
+#endif /* HAVE_LDAP */
Modified: branches/SAMBA_3_0/source/libads/gpo_util.c
===================================================================
--- branches/SAMBA_3_0/source/libads/gpo_util.c 2006-09-22 09:09:01 UTC (rev 18818)
+++ branches/SAMBA_3_0/source/libads/gpo_util.c 2006-09-22 09:34:25 UTC (rev 18819)
@@ -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_memfree(ads, dn);
return ADS_ERROR(LDAP_SUCCESS);
}
+
+#endif /* HAVE_LDAP */
Modified: branches/SAMBA_3_0/source/libsmb/gpo.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/gpo.c 2006-09-22 09:09:01 UTC (rev 18818)
+++ branches/SAMBA_3_0/source/libsmb/gpo.c 2006-09-22 09:34:25 UTC (rev 18819)
@@ -20,6 +20,8 @@
#include "includes.h"
+#ifdef HAVE_LDAP
+
#define GPT_INI_SECTION_GENERAL "General"
#define GPT_INI_PARAMETER_VERSION "Version"
#define GPT_INI_PARAMETER_DISPLAYNAME "displayName"
@@ -165,3 +167,5 @@
signature="$CHICAGO$"
Revision=1
*/
+
+#endif /* HAVE_LDAP */
Modified: branches/SAMBA_3_0/source/utils/net_ads_gpo.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_ads_gpo.c 2006-09-22 09:09:01 UTC (rev 18818)
+++ branches/SAMBA_3_0/source/utils/net_ads_gpo.c 2006-09-22 09:34:25 UTC (rev 18819)
@@ -446,4 +446,4 @@
return net_run_function(argc, argv, func, net_ads_gpo_usage);
}
-#endif
+#endif /* HAVE_ADS */
More information about the samba-cvs
mailing list