diff options
author | Günther Deschner <gd@samba.org> | 2008-04-30 01:10:13 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-30 01:11:46 +0200 |
commit | ebedb09be9933d795239ab157eb9c3f505a7061c (patch) | |
tree | e9deb7aa2daf474aa015338e34018fce4f0a2eb5 /source3 | |
parent | b1443717136433d7303a83fdc28bc6da624aaa67 (diff) | |
download | samba-ebedb09be9933d795239ab157eb9c3f505a7061c.tar.gz samba-ebedb09be9933d795239ab157eb9c3f505a7061c.tar.bz2 samba-ebedb09be9933d795239ab157eb9c3f505a7061c.zip |
IDL: use nbt_dc_sock_addr.
Guenther
(This used to be commit 5a46f34fa364dfb20d7de93164b56d08dc4fb427)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/idl/nbt.idl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/librpc/idl/nbt.idl b/source3/librpc/idl/nbt.idl index 7491324bce..364f988e9e 100644 --- a/source3/librpc/idl/nbt.idl +++ b/source3/librpc/idl/nbt.idl @@ -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; |