From 64ce67523fa359326c200c712e0a9e5db4e9a4eb Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 15 Nov 2011 18:33:26 -0500 Subject: ipa-cldap: Create netlogon blob --- daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap.h') 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_ */ -- cgit