mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r18869: two build fixes for systems without ldap
the first is to not enable the ldap ldb backend just yet. This will need configure tests to conditionally include. We should be able to use the m4 files from lib/ldb/ The 2nd is to fix libads/gpo.o not to publicly prototype a function that needs ldap.h
This commit is contained in:
parent
203fc0b03c
commit
1cf17edc14
@ -789,7 +789,8 @@ LDB_MODULES_OBJ=lib/ldb/modules/operational.o lib/ldb/modules/schema.o lib/ldb/m
|
||||
lib/ldb/modules/objectclass.o \
|
||||
lib/ldb/modules/paged_results.o lib/ldb/modules/sort.o lib/ldb/modules/asq.o
|
||||
|
||||
LDB_LDAP_OBJ=lib/ldb/ldb_ldap/ldb_ldap.o
|
||||
# disabled until build issues sorted out
|
||||
# LDB_LDAP_OBJ=lib/ldb/ldb_ldap/ldb_ldap.o
|
||||
|
||||
LDB_OBJ = ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
|
||||
|
||||
|
@ -87,3 +87,9 @@ void ads_process_results(ADS_STRUCT *ads, LDAPMessage *res,
|
||||
BOOL(*fn)(char *, void **, void *),
|
||||
void *data_area);
|
||||
void ads_dump(ADS_STRUCT *ads, LDAPMessage *res);
|
||||
|
||||
ADS_STATUS ads_parse_gpo(ADS_STRUCT *ads,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
LDAPMessage *res,
|
||||
const char *gpo_dn,
|
||||
struct GROUP_POLICY_OBJECT *gpo);
|
||||
|
@ -362,11 +362,11 @@ ADS_STATUS ads_delete_gpo_link(ADS_STRUCT *ads,
|
||||
return ads_gen_mod(ads, link_dn, mods);
|
||||
}
|
||||
|
||||
ADS_STATUS ads_parse_gpo(ADS_STRUCT *ads,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
LDAPMessage *res,
|
||||
const char *gpo_dn,
|
||||
struct GROUP_POLICY_OBJECT *gpo)
|
||||
ADS_STATUS ads_parse_gpo(ADS_STRUCT *ads,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
LDAPMessage *res,
|
||||
const char *gpo_dn,
|
||||
struct GROUP_POLICY_OBJECT *gpo)
|
||||
{
|
||||
ZERO_STRUCTP(gpo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user