summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidgram.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/libsmb/clidgram.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/libsmb/clidgram.h')
-rw-r--r--source3/libsmb/clidgram.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h
new file mode 100644
index 0000000000..ff98f3b967
--- /dev/null
+++ b/source3/libsmb/clidgram.h
@@ -0,0 +1,16 @@
+#include "../libcli/netlogon.h"
+
+/* The following definitions come from libsmb/clidgram.c */
+
+bool send_getdc_request(TALLOC_CTX *mem_ctx,
+ struct messaging_context *msg_ctx,
+ struct sockaddr_storage *dc_ss,
+ const char *domain_name,
+ const struct dom_sid *sid,
+ uint32_t nt_version);
+bool receive_getdc_response(TALLOC_CTX *mem_ctx,
+ struct sockaddr_storage *dc_ss,
+ const char *domain_name,
+ uint32_t *nt_version,
+ const char **dc_name,
+ struct netlogon_samlogon_response **reply);