1 #include "../libcli/netlogon/netlogon.h"
3 /* The following definitions come from libsmb/clidgram.c */
5 struct tevent_req
*nbt_getdc_send(TALLOC_CTX
*mem_ctx
,
6 struct tevent_context
*ev
,
7 struct messaging_context
*msg_ctx
,
8 const struct sockaddr_storage
*dc_addr
,
9 const char *domain_name
,
10 const struct dom_sid
*sid
,
12 NTSTATUS
nbt_getdc_recv(struct tevent_req
*req
, TALLOC_CTX
*mem_ctx
,
13 uint32_t *nt_version
, const char **dc_name
,
14 struct netlogon_samlogon_response
**samlogon_response
);
15 NTSTATUS
nbt_getdc(struct messaging_context
*msg_ctx
,
16 const struct sockaddr_storage
*dc_addr
,
17 const char *domain_name
,
18 const struct dom_sid
*sid
,
21 uint32_t *pnt_version
,
23 struct netlogon_samlogon_response
**samlogon_response
);