]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
IDL: use nbt_dc_sock_addr.
authorGünther Deschner <gd@samba.org>
Tue, 29 Apr 2008 23:10:13 +0000 (01:10 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 29 Apr 2008 23:11:46 +0000 (01:11 +0200)
Guenther
(This used to be commit 5a46f34fa364dfb20d7de93164b56d08dc4fb427)

source3/librpc/idl/nbt.idl

index 7491324bce3dcdf579aa74b0abff9f07eac8f18d..364f988e9e22850e0d5b3c8da933604fa5afddaf 100644 (file)
@@ -411,6 +411,12 @@ interface nbt
                NBT_SERVER_FULL_SECRET_DOMAIN_6         = 0x00001000
        } nbt_server_type;
 
+       typedef struct {
+               uint32                  sa_family;
+               [flag(NDR_BIG_ENDIAN)]  ipv4address pdc_ip;
+               [flag(NDR_REMAINING)]   DATA_BLOB remaining;
+       } nbt_dc_sock_addr;
+
        /* response from pdc - type2 */
        typedef struct {
                [flag(NDR_ALIGN4)]   DATA_BLOB _pad;
@@ -424,11 +430,8 @@ interface nbt
                nbt_string           user_name;
                nbt_string           server_site;
                nbt_string           client_site;
-               uint8                unknown;
-               uint32               unknown2;
-               [flag(NDR_BIG_ENDIAN)]
-                 ipv4address          pdc_ip;
-               uint32               unknown3[2];
+               uint8                dc_sock_addr_size;
+               [subcontext(0),subcontext_size(dc_sock_addr_size)] nbt_dc_sock_addr dc_sock_addr;
                nbt_netlogon_version nt_version;
                uint16               lmnt_token;
                uint16               lm20_token;
@@ -539,11 +542,8 @@ interface nbt
                nbt_string           user_name;
                nbt_string           server_site;
                nbt_string           client_site;
-               uint8                unknown;
-               uint32               unknown2;
-               [flag(NDR_BIG_ENDIAN)]
-                 ipv4address          pdc_ip;
-               uint32               unknown3[2];
+               uint8                dc_sock_addr_size;
+               [subcontext(0),subcontext_size(dc_sock_addr_size)] nbt_dc_sock_addr dc_sock_addr;
                [value(13)] nbt_netlogon_version nt_version;
                uint16               lmnt_token;
                uint16               lm20_token;