1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

r18819: Fix build without LDAP.

Guenther
(This used to be commit a0aedee1c9)
This commit is contained in:
Günther Deschner 2006-09-22 09:34:25 +00:00 committed by Gerald (Jerry) Carter
parent ed5f7cce2a
commit a6bb76765a
4 changed files with 13 additions and 1 deletions

View File

@ -20,6 +20,8 @@
#include "includes.h" #include "includes.h"
#ifdef HAVE_LDAP
ADS_STATUS ads_parse_gp_ext(TALLOC_CTX *mem_ctx, ADS_STATUS ads_parse_gp_ext(TALLOC_CTX *mem_ctx,
const char *extension_raw, const char *extension_raw,
struct GP_EXT *gp_ext) struct GP_EXT *gp_ext)
@ -678,3 +680,5 @@ ADS_STATUS ads_get_gpo_list(ADS_STRUCT *ads,
return ADS_ERROR(LDAP_SUCCESS); return ADS_ERROR(LDAP_SUCCESS);
} }
#endif /* HAVE_LDAP */

View File

@ -20,6 +20,8 @@
#include "includes.h" #include "includes.h"
#ifdef HAVE_LDAP
#define DEFAULT_DOMAIN_POLICY "Default Domain Policy" #define DEFAULT_DOMAIN_POLICY "Default Domain Policy"
#define DEFAULT_DOMAIN_CONTROLLERS_POLICY "Default Domain Controllers Policy" #define DEFAULT_DOMAIN_CONTROLLERS_POLICY "Default Domain Controllers Policy"
@ -499,3 +501,5 @@ ADS_STATUS gpo_password_policy(ADS_STRUCT *ads,
ads_memfree(ads, dn); ads_memfree(ads, dn);
return ADS_ERROR(LDAP_SUCCESS); return ADS_ERROR(LDAP_SUCCESS);
} }
#endif /* HAVE_LDAP */

View File

@ -20,6 +20,8 @@
#include "includes.h" #include "includes.h"
#ifdef HAVE_LDAP
#define GPT_INI_SECTION_GENERAL "General" #define GPT_INI_SECTION_GENERAL "General"
#define GPT_INI_PARAMETER_VERSION "Version" #define GPT_INI_PARAMETER_VERSION "Version"
#define GPT_INI_PARAMETER_DISPLAYNAME "displayName" #define GPT_INI_PARAMETER_DISPLAYNAME "displayName"
@ -165,3 +167,5 @@ TicketValidateClient = 1
signature="$CHICAGO$" signature="$CHICAGO$"
Revision=1 Revision=1
*/ */
#endif /* HAVE_LDAP */

View File

@ -446,4 +446,4 @@ int net_ads_gpo(int argc, const char **argv)
return net_run_function(argc, argv, func, net_ads_gpo_usage); return net_run_function(argc, argv, func, net_ads_gpo_usage);
} }
#endif #endif /* HAVE_ADS */