summaryrefslogtreecommitdiff
path: root/source3/libads/cldap.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-18 19:40:31 +0200
committerGünther Deschner <gd@samba.org>2010-05-31 11:32:37 +0200
commitfbb7814f91f85e95769a5e23506825167b44139f (patch)
treed790104b205df4fdb843008c812f0b116dc72350 /source3/libads/cldap.h
parentf9f8007361583c1d38be7e15eeae6b58a09614b3 (diff)
downloadsamba-fbb7814f91f85e95769a5e23506825167b44139f.tar.gz
samba-fbb7814f91f85e95769a5e23506825167b44139f.tar.bz2
samba-fbb7814f91f85e95769a5e23506825167b44139f.zip
s3: only use netlogon/nbt header when needed.
Guenther
Diffstat (limited to 'source3/libads/cldap.h')
-rw-r--r--source3/libads/cldap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/libads/cldap.h b/source3/libads/cldap.h
new file mode 100644
index 0000000000..afe4b35b5d
--- /dev/null
+++ b/source3/libads/cldap.h
@@ -0,0 +1,12 @@
+#include "../libcli/netlogon.h"
+
+/* The following definitions come from libads/cldap.c */
+bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx,
+ const char *server,
+ const char *realm,
+ uint32_t nt_version,
+ struct netlogon_samlogon_response **reply);
+bool ads_cldap_netlogon_5(TALLOC_CTX *mem_ctx,
+ const char *server,
+ const char *realm,
+ struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5);