summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-10 02:01:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:35 -0500
commit0ac02ed7c344a7462d5d797b46e89e9d4a6937de (patch)
tree5cbcf9295960a647574383c20551e45b9ea214c3 /source4/librpc
parent489a6b5591c37a8977426d9ca7fd07978e5e5614 (diff)
downloadsamba-0ac02ed7c344a7462d5d797b46e89e9d4a6937de.tar.gz
samba-0ac02ed7c344a7462d5d797b46e89e9d4a6937de.tar.bz2
samba-0ac02ed7c344a7462d5d797b46e89e9d4a6937de.zip
r6693: first version of cldap client library, with async interface
(This used to be commit cbeffe830b2d3aee2ba346034548fa273a08f409)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/nbt.idl46
1 files changed, 46 insertions, 0 deletions
diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl
index 3dd5816474..3719b2fdad 100644
--- a/source4/librpc/idl/nbt.idl
+++ b/source4/librpc/idl/nbt.idl
@@ -450,6 +450,52 @@
} nbt_netlogon_packet;
/*******************************************/
+ /* CLDAP netlogon response */
+
+ typedef enum {
+ CLDAP_NETLOGON_19 = 0x13,
+ CLDAP_NETLOGON_23 = 0x17
+ } nbt_cldap_netlogon_command;
+
+ /* cldap type 19 netlogon response */
+ typedef struct {
+ nstring pdc_name;
+ nstring unknown;
+ nstring domain_name;
+ uint32 nt_version;
+ uint16 lmnt_token;
+ uint16 lm20_token;
+ } nbt_cldap_netlogon_19;
+
+ /* cldap type 23 netlogon response */
+ typedef struct {
+ [flag(NDR_ALIGN4)] DATA_BLOB _pad;
+ nbt_server_type server_type;
+ GUID domain_uuid;
+ nbt_string forest;
+ nbt_string dns_domain;
+ nbt_string pdc_dns_name;
+ nbt_string domain;
+ nbt_string pdc_name;
+ nbt_string user_name;
+ nbt_string site_name;
+ nbt_string site_name2;
+ uint32 nt_version;
+ uint16 lmnt_token;
+ uint16 lm20_token;
+ } nbt_cldap_netlogon_23;
+
+ typedef [nodiscriminant] union {
+ [case(CLDAP_NETLOGON_19)] nbt_cldap_netlogon_19 logon19;
+ [case(CLDAP_NETLOGON_23)] nbt_cldap_netlogon_23 logon23;
+ } nbt_cldap_netlogon_info;
+
+ typedef [flag(NDR_NOALIGN),public] struct {
+ nbt_cldap_netlogon_command command;
+ [switch_is(command)] nbt_cldap_netlogon_info info;
+ } nbt_cldap_netlogon;
+
+ /*******************************************/
/* \MAILSLOT\NET\NTLOGON mailslot requests */
typedef enum {
NTLOGON_SAM_LOGON = 0x12,