summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-24 03:15:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:39 -0500
commit1cf17edc14ebd379b982b589a66e86316ef7087b (patch)
tree493374ce9ee29a5373fcb76ad1876ffb80695c4f /source/include
parent203fc0b03c7397f7339a917456cb1701ed592f32 (diff)
downloadsamba-1cf17edc14ebd379b982b589a66e86316ef7087b.tar.gz
samba-1cf17edc14ebd379b982b589a66e86316ef7087b.tar.xz
samba-1cf17edc14ebd379b982b589a66e86316ef7087b.zip
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
Diffstat (limited to 'source/include')
-rw-r--r--source/include/ads_protos.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/ads_protos.h b/source/include/ads_protos.h
index a566714d629..b5f323774d3 100644
--- a/source/include/ads_protos.h
+++ b/source/include/ads_protos.h
@@ -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);