summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-11-15 18:33:26 -0500
committerSimo Sorce <ssorce@redhat.com>2011-11-21 18:52:59 -0500
commit64ce67523fa359326c200c712e0a9e5db4e9a4eb (patch)
treec99220d822c0a37dae1b0d4bf33d087532e01062 /daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h
parent046c416e900b6a06124b181ae1d64aea1b863d22 (diff)
downloadfreeipa-64ce67523fa359326c200c712e0a9e5db4e9a4eb.tar.gz
freeipa-64ce67523fa359326c200c712e0a9e5db4e9a4eb.tar.xz
freeipa-64ce67523fa359326c200c712e0a9e5db4e9a4eb.zip
ipa-cldap: Create netlogon blob
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h
index 8484749f5..ae0b06fe6 100644
--- a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h
+++ b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h
@@ -60,6 +60,10 @@
#define CLDAP_PORT 389
#define MAX_DG_SIZE 4096
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 64
+#endif
+
struct ipa_cldap_ctx {
Slapi_ComponentId *plugin_id;
pthread_t tid;
@@ -96,4 +100,8 @@ struct ipa_cldap_req {
void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx);
+int ipa_cldap_netlogon(struct ipa_cldap_ctx *ctx,
+ struct ipa_cldap_req *req,
+ struct berval *reply);
+
#endif /* _IPA_CLDAP_H_ */