summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-04 19:01:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:44 -0500
commit0fe21ac5609940be815148a2f73e1e456b7c3cce (patch)
tree85a765da983a40c7c5ab93a166afec1b11e3dca7 /source3/include
parent46c35b17a32d479f5780ca6a24e4e9c3b9cc2403 (diff)
downloadsamba-0fe21ac5609940be815148a2f73e1e456b7c3cce.tar.gz
samba-0fe21ac5609940be815148a2f73e1e456b7c3cce.tar.bz2
samba-0fe21ac5609940be815148a2f73e1e456b7c3cce.zip
r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).
Also return the hostname for the level 6 call (to be consistent with the server name in level 2). Guenther (This used to be commit 41b72e77ae70c96de4659af6b4b6bd842dd67981)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_samr.h32
1 files changed, 28 insertions, 4 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index 7aea1b23c3..833a1358ff 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -542,10 +542,8 @@ typedef struct sam_unknown_info_3_info
typedef struct sam_unknown_info_6_info
{
- uint32 unknown_0; /* 0x0000 0000 */
-
- uint32 ptr_0; /* pointer to unknown structure */
- uint8 padding[12]; /* 12 bytes zeros */
+ UNIHDR hdr_server; /* server name unicode header */
+ UNISTR2 uni_server; /* server name unicode string */
} SAM_UNK_INFO_6;
@@ -562,6 +560,12 @@ typedef struct sam_unknown_info_8_info
} SAM_UNK_INFO_8;
+typedef struct sam_unknown_info_9_info
+{
+ uint32 unknown;
+
+} SAM_UNK_INFO_9;
+
typedef struct sam_unknown_info_12_inf
{
NTTIME duration;
@@ -570,6 +574,15 @@ typedef struct sam_unknown_info_12_inf
} SAM_UNK_INFO_12;
+typedef struct sam_unknown_info_13_info
+{
+ UINT64_S seq_num;
+ NTTIME domain_create_time;
+ uint32 unknown1;
+ uint32 unknown2;
+
+} SAM_UNK_INFO_13;
+
typedef struct sam_unknown_info_5_inf
{
UNIHDR hdr_domain; /* domain name unicode header */
@@ -577,6 +590,14 @@ typedef struct sam_unknown_info_5_inf
} SAM_UNK_INFO_5;
+typedef struct sam_unknown_info_4_inf
+{
+ UNIHDR hdr_comment; /* comment according to samba4 idl */
+ UNISTR2 uni_comment; /* comment unicode string */
+
+} SAM_UNK_INFO_4;
+
+
typedef struct sam_unknown_info_2_inf
{
NTTIME logout; /* whether users are forcibly disconnected when logon hours expire */
@@ -621,11 +642,14 @@ typedef struct sam_unknown_ctr_info
SAM_UNK_INFO_1 inf1;
SAM_UNK_INFO_2 inf2;
SAM_UNK_INFO_3 inf3;
+ SAM_UNK_INFO_4 inf4;
SAM_UNK_INFO_5 inf5;
SAM_UNK_INFO_6 inf6;
SAM_UNK_INFO_7 inf7;
SAM_UNK_INFO_8 inf8;
+ SAM_UNK_INFO_9 inf9;
SAM_UNK_INFO_12 inf12;
+ SAM_UNK_INFO_13 inf13;
} info;